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

Completely broken on Django 1.9.5 #48

Closed
peterfarrell opened this issue Apr 12, 2016 · 6 comments
Closed

Completely broken on Django 1.9.5 #48

peterfarrell opened this issue Apr 12, 2016 · 6 comments

Comments

@peterfarrell
Copy link

FYI, I followed the installation instructions including the information in #42 on Django 1.9.5 and either it's missing all the core modules, says I have no permissions to do anything in the admin despite being a superuser, or cannot find admin.site.register_view function at all when trying to register a custom function.

@pntmatheus
Copy link

Hi Peter, try put these lines in your url.py:
admin.site = AdminSitePlus()
admin.sites.site = admin.site
admin.autodiscover()
I have some troubles with the permissions too, I would like to conf some customs permissions, but i dont find a way in adminplus.

@peterfarrell
Copy link
Author

@pntmatheus Thanks for the additional hint. I had tried that suggestion as well as it was outlined on:

#42 (comment)

I couldn't get it to work with what you suggested either.

@pntmatheus
Copy link

If you can, share the source files...

@bradojevic
Copy link

bradojevic commented Apr 26, 2016

Hi,
@pntmatheus solution worked for me on Django 1.9.5
However, if it help, I'm having exactly the same problem if I use AdminSite instead of AdminSitePlus

urls.py:

from django.contrib.admin.sites import AdminSite
admin.site = AdminSite()
admin.autodiscover()

settings.py:

'django.contrib.admin.apps.SimpleAdminConfig',
# 'django.contrib.admin',

If I run django with this (without adminplus installed) it reports the same 'no permission' error. Can anybody confirm this. It seams there is a problem in Django.

@pntmatheus
Copy link

Hi @bradojevic,

Seems your problem is foldrs' permissions.
Where are you run the app?

@jsocol
Copy link
Owner

jsocol commented May 28, 2016

Consolidating all of these into #42

@jsocol jsocol closed this as completed May 28, 2016
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

4 participants