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
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
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
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
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
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
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
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(
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
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
10 matches
Mail list logo