I recently upgraded django to 3.2.5, after which admin template was not loading correctly especially in model pages, please see the screenshot,
I decided to run,
python manage.py collectstatic
but then I am receiving following error
Traceback (most recent call last): File "/var/www/dev.bluelion.icu/bluelion/manage.py", line 21, in main() File "/var/www/dev.bluelion.icu/bluelion/manage.py", line 17, in main execute_from_command_line(sys.argv) File "/var/www/dev.bluelion.icu/bluelion/bluelionenv/lib/python3.9/site-packages/django/core/management/init.py", line 419, in execute_from_command_line utility.execute() File "/var/www/dev.bluelion.icu/bluelion/bluelionenv/lib/python3.9/site-packages/django/core/management/init.py", line 413, in execute self.fetch_command(subcommand).run_from_argv(self.argv) File "/var/www/dev.bluelion.icu/bluelion/bluelionenv/lib/python3.9/site-packages/django/core/management/base.py", line 354, in run_from_argv self.execute(*args, **cmd_options) File "/var/www/dev.bluelion.icu/bluelion/bluelionenv/lib/python3.9/site-packages/django/core/management/base.py", line 398, in execute output = self.handle(*args, **options) File "/var/www/dev.bluelion.icu/bluelion/bluelionenv/lib/python3.9/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 149, in handle self.set_options(**options) File "/var/www/dev.bluelion.icu/bluelion/bluelionenv/lib/python3.9/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 82, in set_options ignore_patterns += apps.get_app_config('staticfiles').ignore_patterns AttributeError: 'AppConfig' object has no attribute 'ignore_patterns'
Any help is appreciated, please let me know if there is any ambiguity in the question!