Re: Greyed out models in Django Admin
Ah great I can confirm that moving the admin model settings into a seperate admin.py file fixed the issue. I have to say though I'm not sure I understand why that issue occurs and also that I'm pretty sure I was following a recommended tutorial for setting up models in the admin. Thanks for the help. huw_at1 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+unsubscr...@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.
Re: Greyed out models in Django Admin
Ah ok thanks I will try that and update. 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+unsubscr...@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.
Re: Greyed out models in Django Admin
Hi, Your issue seems to be like this one: http://stackoverflow.com/questions/12780740/no-access-to-models-in-admin-panel-with-debug-false Try to register your models in admin panel from a new file named 'admin.py' in the same folder as 'models.py'. Laurent On 16/08/2013 07:37, 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 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+unsubscr...@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. -- Laurent Meunier -- 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+unsubscr...@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.
Re: Greyed out models in Django Admin
Attached a screenshot to show what I mean (photoshopped a couple of model names) On Friday, 6 September 2013 13:19:34 UTC+1, huw_at1 wrote: > > Hmm looks like the django user account has full permissions granted > although I am no expert with PostgreSQL. > > This is still an issue - any other ideas? > > Has anyone else seen this before? > > Many thanks > > On Sunday, 18 August 2013 22:58:06 UTC+1, huw_at1 wrote: >> >> Hi, >> >> I'm using the latest Apache server on production. >> >> The DEBUG setting is the standard setting that exists within the >> settings.py file. >> >> I'll check what write permissions the production database user has. >> >> Thanks >> >> 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+unsubscr...@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. <>
Re: Greyed out models in Django Admin
Hmm looks like the django user account has full permissions granted although I am no expert with PostgreSQL. This is still an issue - any other ideas? Has anyone else seen this before? Many thanks On Sunday, 18 August 2013 22:58:06 UTC+1, huw_at1 wrote: > > Hi, > > I'm using the latest Apache server on production. > > The DEBUG setting is the standard setting that exists within the > settings.py file. > > I'll check what write permissions the production database user has. > > Thanks > > 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+unsubscr...@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.
Re: Greyed out models in Django Admin
Hi, I'm using the latest Apache server on production. The DEBUG setting is the standard setting that exists within the settings.py file. I'll check what write permissions the production database user has. Thanks 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+unsubscr...@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.
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+unsubscr...@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+unsubscr...@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.
Re: Greyed out models in Django Admin
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 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+unsubscr...@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.
Greyed out models in Django Admin
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+unsubscr...@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?hl=en. For more options, visit https://groups.google.com/groups/opt_out.