HI! the doc is updated for the 1.1 version .. try this urlpatterns = patterns('', (r'^admin/',admin.site.root), )
see more here: http://code.djangoproject.com/ticket/10050 Alecs On Thu, Aug 13, 2009 at 3:52 PM, quant <spielm...@th.physik.uni-frankfurt.de > wrote: > > hi > > i am pretty new to django and i started to check the docu out to see > how it works and i had a problem to get the admin interface working... > > i followed all the steps from the doco and if i set the options in the > urls.py on i got many errors ans nothing work anymore > > i set the following in the urls.py: > > from django.conf.urls.defaults import * > > from django.contrib import admin > admin.autodiscover() > > urlpatterns = patterns('', > (r'^admin/', include(admin.site.urls)), > ) > > > > and i got the following error, if i tryed to start the > http://127.0.0.1:8000/admin/ > page > > http://dpaste.com/79236/ > > hope anyone can help me here > > > > -- As programmers create bigger & better idiot proof programs, so the universe creates bigger & better idiots! I am on web: http://www.alecslupu.ro/ I am on twitter: http://twitter.com/alecslupu I am on linkedIn: http://www.linkedin.com/in/alecslupu Tel: (+4)0748.543.798 --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---