got it,:-) On Thu, Feb 5, 2009 at 12:37 PM, Alex Gaynor <alex.gay...@gmail.com> wrote:
> > > On Wed, Feb 4, 2009 at 11:33 PM, ethan zou <zou...@gmail.com> wrote: > >> i also feel confused about the django version. it develops so fast that i >> cannot catch up. different versions have so many changes. Could it be >> possible to find the the exact version of the tutorial in the official >> djangoproject website? >> i think the differences of the version of django may confuse greener a >> lot. >> >> On Thu, Feb 5, 2009 at 12:14 PM, ethan zou <zou...@gmail.com> wrote: >> >>> 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 >>>> >>>> > In general there will be no backwards incompatible changes after 1.0 to > those APIs deemed stable(most of them), and the admin is no exception the > old APIs continue to exist for this. This is unfortunately an artifact of > the fact that the 1.0 docs don't have their own home online yet, although > they are available locally in the docs dir of any version of Django, which > you can use if you have sphinx installed. > > > 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 -~----------~----~----~----~------~----~------~--~---