Friday, August 16, 2013

Re: Greyed out models in Django Admin

On 16/08/2013 3:37pm, huw_at1 wrote:
> Hi,
>
> I still have this issue and can't really figure out what the problem is.
> I have found that if I turn on DEBUG then the apps models become active
> again such that I can add new records via the admin interface. However
> when turning off DEBUG they become inactive and greyed out again.

I don't think I have ever seen models disabled or greyed out in the
admin. I wonder how that might be achieved? Maybe there is a read
attribute which can be negated?

I googled disabled model in the admin and that seemed to bring up
permissions but I can't think how a DEBUG setting might be involved.

It isn't clear to me where you are switching DEBUG on and off;
production and/or development. Are you operating as superuser in both?

What web server are you using in production?

It seems like an interest problem. If you solve it please post the answer.

>
> I have tried altering the order in which my apps are loaded and also
> altered the permissions on the applications folder however nothing seems
> to solve this.
>
> Sorry for the BUMP but does anyone have any further info on this?
>
> Many thanks
>
> Huw Jones
>
> On Thursday, 31 January 2013 22:56:05 UTC, huw_at1 wrote:
>
> Hi,
>
> Using Django 1.4, have registered 3 model classes with admin. When
> accessing admin page provided by test server can select each class
> and edit entries. However when accessing production admin the
> classes are greyed out, only the users, groups and sites are
> selectable. I thought this might be database access issues however I
> can run syncdb without any problems. Any ideas?
>
> Many thanks
>
> Huw Jones.
>
> --
> You received this message because you are subscribed to the Google
> Groups "Django users" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to django-users+unsubscribe@googlegroups.com.
> To post to this group, send email to django-users@googlegroups.com.
> Visit this group at http://groups.google.com/group/django-users.
> For more options, visit https://groups.google.com/groups/opt_out.

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
For more options, visit https://groups.google.com/groups/opt_out.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate