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 shows inconsistent behavior #64

Closed
hkarl opened this issue May 29, 2014 · 4 comments
Closed

admin shows inconsistent behavior #64

hkarl opened this issue May 29, 2014 · 4 comments

Comments

@hkarl
Copy link

hkarl commented May 29, 2014

Hi,

the admin integration of post_office seems inconsistent and does not work (at least, not reliably).

  • Usually, post_office does not appear at all in the admin interface
  • Sometimes, post_office shows up, but then not all tables of my own app appear

I've not been able to reliably ascertain when which case happens; it looks a bit as if the order in INSTALLED_APPs matters, but not reliable either. Database newly created each time.

  • Django: 1.6.4
  • Post office django-post-office (0.8.4)
  • json_field: jsonfield (0.9.20)
  • python 2.7.2

Any ideas where to start looking?

thanks a lot,

Holger

@selwin
Copy link
Collaborator

selwin commented May 30, 2014

I don't think we do anything special with the admin interface. Do you have other apps installed that's customizing the admin interface?

@hkarl
Copy link
Author

hkarl commented May 30, 2014

Hi,

thanks for answering! No, I don't think I am doing anything unusual. Here are the apps:

INSTALLED_APPS = (
'django.contrib.auth',
'django.contrib.contenttypes',
'django.contrib.sessions',
'django.contrib.sites',
'django.contrib.messages',
'django.contrib.staticfiles',
'django.contrib.admin',
'django_tables2',
'crispy_forms',
'arbeitsplan',
'post_office',
)

where "arbeitsplan" is my own, and I tried various places where to put "post_office".

btw, the app is also here (https://github.com/hkarl/svpb) in case someone wants to have a closer look.

Thanks & best

Holger

@hkarl
Copy link
Author

hkarl commented May 30, 2014

hm, playing around with different users points to some interaction with rights issues.... I'll investigate further and keep this posted. Thanks!

@hkarl
Copy link
Author

hkarl commented May 30, 2014

Turns out, it was a permission problem, caused by adding apps in different orders.

Sorry for the bother, and thanks for the answer!

Best

Holger

@hkarl hkarl closed this as completed May 30, 2014
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

2 participants