now it works. thanks a lot. On Thu, Feb 5, 2009 at 12:10 PM, Alex Gaynor <alex.gay...@gmail.com> wrote:
> > > On Wed, Feb 4, 2009 at 11:05 PM, jason <zou...@gmail.com> wrote: > >> >> hello all. >> i followed the django tutorial, to the second part ,when activate the >> admin site, typing url 'http://localhost:8000/admin/' in the browser's >> address bar, this error showed up. >> my django version is 1.0.2, and python version is 2.6, using sqlite3. >> are there any configurations wrong with the tutorial? or a django >> version problem? thanks. >> >> >> > Unfortunately the docs you are reading are for the development version :( > . The correct way to wire up your admin in 1.0.2 is: > > (r'^admin/(.*)', admin.site.root) > > Alex > > -- > "I disapprove of what you say, but I will defend to the death your right to > say it." --Voltaire > "The people's good is the highest law."--Cicero > > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---