Re: no Polls in the admin page

2012-12-27 Thread Ryan Blunden
Awesome! Glad you got it solved. On 27/12/2012, at 11:43 AM, Kelketek Titikilik Rritaa wrote: > I found the issue. The issue appears to be in a template override for > the Admin app that the upstream provider added. When this was moved > out of the way, the standard template was loaded, and po

Re: no Polls in the admin page

2012-12-27 Thread Kelketek Titikilik Rritaa
I found the issue. The issue appears to be in a template override for the Admin app that the upstream provider added. When this was moved out of the way, the standard template was loaded, and polls showed up. On Thu, Dec 27, 2012 at 1:06 PM, Ryan Blunden wrote: > I'm not aware of any upstream app

Re: no Polls in the admin page

2012-12-27 Thread Ryan Blunden
I'm not aware of any upstream apps 'masking' the display of other apps in the admin root page but I would try to disable all other third party (non-Django contrib) apps and see if that changes the result. On 27/12/2012, at 6:46 AM, Kelketek Rritaa wrote: > I'd been trying several things to see

Re: no Polls in the admin page

2012-12-27 Thread Kelketek Rritaa
I'd been trying several things to see if they'd work, so I went with the absolute minimum that /should/ work: from polls.models import Poll from django.contrib import admin admin.site.register(Poll) Putting in the code you've given me does not work either. HOWEVER, yesterday I was poking around

Re: no Polls in the admin page

2012-12-26 Thread Ryan Blunden
Can you provide the contents of your admin.py in your polls app. If you've got the below code, then I'm not sure how that is happening. class PollAdmin(admin.ModelAdmin): fields = ['pub_date', 'question'] admin.site.register(Poll, PollAdmin) Cheers, Ryan On 26/12/2012, at 11:09 AM, Kelketek

Re: no Polls in the admin page

2012-12-26 Thread Kelketek Rritaa
I'm having precisely the same issue with precisely the same side effects. Further, I am able to get output to my logs by adding a print statement to the admin.py file. So I know it's being executed, it just doesn't show up in the admin page. Running syncdb has not fixed it. Has anyone found a s

Re: no Polls in the admin page

2012-11-02 Thread Zakk Ng
Actually the the admin.py as mentioned above is required. If you have coded the model for Poll app then make sure the command *python manage.py syncdb *is executed. On Friday, November 2, 2012 1:59:18 AM UTC+7, Mihail Mihalache wrote: > > I have followed the django tutorial up to part 2 - > http

Re: no Polls in the admin page

2012-11-02 Thread Elena Williams
Actually the minimum requirement for the application to appear in admin is this (here in docs: https://docs.djangoproject.com/en/dev/intro/tutorial02/#make-the-poll-app-modifiable-in-the-admin): admin.py: from django.contrib import admin from mysite.polls.models import Poll, Choice # `register(

Re: no Polls in the admin page

2012-11-01 Thread Sandeep kaur
On Fri, Nov 2, 2012 at 12:29 AM, Mihail Mihalache wrote: > I have followed the django tutorial up to part 2 - > https://docs.djangoproject.com/en/1.4/intro/tutorial02/ . > Everything worked fine, until I couldn't see the Polls entry on the admin > page. I have checked that I have done everything m

no Polls in the admin page

2012-11-01 Thread Mihail Mihalache
I have followed the django tutorial up to part 2 - https://docs.djangoproject.com/en/1.4/intro/tutorial02/ . Everything worked fine, until I couldn't see the Polls entry on the admin page. I have checked that I have done everything mentioned in the tutorial. I get no error whatsoever. I have no