You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi @awais786, sorry for the delay in getting back to this.
I’d love to help close out this ticket. Since the original PR was reverted due to the following error:
django.core.exceptions.ImproperlyConfigured: DEFAULT_FILE_STORAGE/STORAGES are mutually exclusive.
It seems the issue stemmed from running the print_setting command, which caused a KeyError due to misconfiguration or an incompatible setting in the updated Django version.
To move forward, I’m planning to connect with @kdmccormick once he’s back from the conference to get his thoughts on the best way to address this. Also, if I’m not mistaken, this fix should resolve #36743 as well.
Let me know if you have any suggestions in the meantime!
django.core.exceptions.ImproperlyConfigured: DEFAULT_FILE_STORAGE/STORAGES are mutually exclusive.
Both storages cannot defined together. You need to make sure DEFAULT_FILE_STORAGE removed from everywhere after STORAGES declaration. I think this is the reason. yes #36743 will fix aswell after this PR.
Activity
kdmccormick commentedon Jun 13, 2025
Addressed by #36885
Please see notes on #36779 (comment)
awais786 commentedon Jun 20, 2025
PR got reverted.
awais786 commentedon Jun 25, 2025
@wgu-ram-chandra are you still working in this issue ?
awais786 commentedon Jun 26, 2025
@kdmccormick any idea about this ticket ? PR got reverted 2 weeks back.
wgu-ram-chandra commentedon Jul 1, 2025
Hi @awais786, sorry for the delay in getting back to this.
I’d love to help close out this ticket. Since the original PR was reverted due to the following error:
It seems the issue stemmed from running the
print_settingcommand, which caused aKeyErrordue to misconfiguration or an incompatible setting in the updated Django version.To move forward, I’m planning to connect with @kdmccormick once he’s back from the conference to get his thoughts on the best way to address this. Also, if I’m not mistaken, this fix should resolve #36743 as well.
Let me know if you have any suggestions in the meantime!
awais786 commentedon Jul 2, 2025
django.core.exceptions.ImproperlyConfigured: DEFAULT_FILE_STORAGE/STORAGES are mutually exclusive.Both storages cannot defined together. You need to make sure
DEFAULT_FILE_STORAGEremoved from everywhere afterSTORAGESdeclaration. I think this is the reason. yes #36743 will fix aswell after this PR.wgu-ram-chandra commentedon Jul 2, 2025
Thanks for the clarification! I’ll start working on this again and will open a new PR shortly.