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

'admin_views' tag is not fetched when app is set before admin #38

Open
VaZark opened this issue Nov 7, 2022 · 3 comments · May be fixed by #43
Open

'admin_views' tag is not fetched when app is set before admin #38

VaZark opened this issue Nov 7, 2022 · 3 comments · May be fixed by #43

Comments

@VaZark
Copy link

VaZark commented Nov 7, 2022

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

  1. Using default admin site
  2. No changes to template context_processors
  3. Admin URL is modified to "db-admin"
@lud0
Copy link

lud0 commented Dec 28, 2022

@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.

@merwok
Copy link

merwok commented Dec 28, 2022

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.

@peterfarrell
Copy link

PR is on #43

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

Successfully merging a pull request may close this issue.

4 participants