django-admin-views
django-admin-views copied to clipboard
'admin_views' tag is not fetched when app is set before admin
When the admin_views
is set before the django admin app, I'm currently receiving a 'admin_views' is not a registered tag library
error.
INSTALLED_APPS = [
'admin_views',
'django.contrib.admin',
# ...
]
Additional details
- Using default admin site
- No changes to template context_processors
- Admin URL is modified to "db-admin"
@koleror It looks like the templatetags
folder has been left out from the django-admin-views-1.0.3.tar.gz package: https://pypi.org/project/django-admin-views/#files
A simple fix is to include it and re-upload the package.
The issue is that the config has packages = ["admin_views"]
, but that setting has never be recursive, so you need to list all packages and sub-packages (not sub-modules though), or use the setuptools find:
shortcut.
PR is on #43