Did you create the models and is the database correctly configured in settings.py?
On 10 Feb, 22:55, Tim Johnson <t...@johnsons-web.com> wrote: > It's not displayed on the admin index page. > > From the Tutorial > at:http://docs.djangoproject.com/en/dev/intro/tutorial02/#intro-tutorial02 > > Name of the project is phhsite > from phhsite ran python manage.py startapp polls > directory was created. > Then created the admin file > Restarted the server by first pressing Ctrl-C > then invoking python manage.py runserver > No sign of any application call polls. > polls/admin.py looks like this: > ##----------------------------------------------- > from phhsite.polls.models import Poll > from django.contrib import admin > > admin.site.register(Poll) > ## added the following as a test > 1 / 0 > ## the 1 / 0 is deliberate, > ## If django found this file, I should have seen an error > > Using python 2.5 on kubuntu 7.10 > What have I overlooked? > Thanks > Tim --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---