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

Auth section is gone. #718

Closed
bmoe872 opened this issue Feb 5, 2019 · 1 comment
Closed

Auth section is gone. #718

bmoe872 opened this issue Feb 5, 2019 · 1 comment

Comments

@bmoe872
Copy link

bmoe872 commented Feb 5, 2019

django==1.11.14
django-suit==0.2.26

I'm not getting any errors with this, but after I did an upgrade from Django==1.8 to Django==1.11 the authorization section of the admin menu has seemingly disappeared.

I've verified that I am a superuser, so I'm not sure why this isn't displaying.

This is the relevant section of my django_suit_config in the settings.py:

SUIT_CONFIG = {
    'ADMIN_NAME': 'test',
    'SEARCH_URL': '',
    'MENU': (
        'auth',

Nothing is showing up for auth.

@bmoe872
Copy link
Author

bmoe872 commented Feb 5, 2019

Alright - this wound up not being an issue with django-suit per-se, but I found the issue.

I'm using AdminPlus, and that was doing an autodiscover, which wasn't discovering the User.auth for whatever reason.

After following this:
jsocol/django-adminplus#42 (comment)

I was able to solve my issue.

TL;DR:
adding admin.sites.site = admin.site after the call to AdminSitePlus() in my main urls.py solved the issue.

@bmoe872 bmoe872 closed this as completed Feb 5, 2019
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