alesdotio / django-admin-shortcuts

Add simple and pretty shortcuts to the django admin homepage.
Other
205 stars 53 forks source link

Fix issue when using ManifestStaticFilesStorage as STATICFILES_STORAGE #30

Closed svleeuwen closed 6 years ago

svleeuwen commented 6 years ago

Django will look for a key "admin_shortcuts" in the manifest created by collectstatic. This will never be there and raise an error.

Moving the slash "/" makes sure it's seen as directory and handled correctly.

svleeuwen commented 6 years ago

@alesdotio any chance on getting this merged?

alesdotio commented 6 years ago

Hi @svleeuwen! Thanks for the pull request. I didn't have the chance to test it but I have since started a new version of the package that will not use static https://github.com/alesdotio/django-admin-shortcuts/tree/feature/2.0.

This will probably be the next version I will release.

I know it's inconvenient, but you can install the package from your git commit until then.

alesdotio commented 6 years ago

2.0.0 is now released! No more static files in the library, so this shouldn't be a problem at all.