Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Internal Server Error: /admin/snippets/puput/category/add/ #258

Open
tamhv opened this issue Mar 30, 2022 · 0 comments
Open

Internal Server Error: /admin/snippets/puput/category/add/ #258

tamhv opened this issue Mar 30, 2022 · 0 comments

Comments

@tamhv
Copy link

tamhv commented Mar 30, 2022

Django==3.2.12
wagtail==2.15.4
puput==1.1.3

#settings
DEBUG  = False
STATICFILES_STORAGE = 'myproject.utils.CustomManifestStaticFilesStorage'

Puput is working, i created a first blog page, all good, nothing wrong but when i navigate to /admin/snippets/puput/category/add/ i got 500 Internal server error.

ERROR [django.request:224] Internal Server Error: /admin/snippets/puput/category/add/
Traceback (most recent call last):
  File "/Users/myname/demo/wagtail/virtenv/lib/python3.9/site-packages/django/contrib/staticfiles/storage.py", line 88, in hashed_name
    raise ValueError("The file '%s' could not be found with %r." % (filename, self))
ValueError: The file 'wagtailadmin/css/panels/rich-text.css' could not be found with <myproject.utils.CustomManifestStaticFilesStorage object at 0x7f96ac695fd0>.
#utils.py
class CustomManifestStaticFilesStorage(ManifestStaticFilesStorage):
    manifest_strict = False

And i've tried manifest_strict = False, still no luck.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant