On Dec 30, 2007 9:23 AM, marcus <[EMAIL PROTECTED]> wrote:
>
> hi.
>
> im very new to django (just bought the book) and was trying to get the
> admin interface started, but it's not working as described in the
> book.
>
> here is what i did:
>
> . Reinstalled latest-stable django as shown on djangoproject.com/
> download
> . Created a DB
> . django-admin.py startproject name
> . cd name
> . python manage.py syncdb
> . django-admin.py startapp othername
> . cp written and working model.py to othername
> . python manage.py syncdb
> . adding django.contrib.admin to INSTALLED_APPS
> . python manage.py syncdb
> . uncommented (r'^admin/', include('django.contrib.admin.urls')), in
> urls.py
> . python manage.py runserver
> . http://127.0.0.1:8000/admin/
>
> But django says TemplateDoesNotExist.
I don't have the book, so I'm going by what's listed in the online version.
You don't mention doing the things listed in step 3 here:
http://www.djangobook.com/en/1.0/chapter06/
That is, uncommenting the other apps that django.contrib.admin depends on,
and fixing up the MIDDLEWARE_CLASSES setting. Did you do that? If not, you
need to do those things as well. If you did those already, please give more
details on the template not found, traceback, etc.
Karen
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---