On Tue, 2006-07-04 at 07:20 -0700, Enrico wrote: > I'm following the tutorial: > http://www.djangoproject.com/documentation/tutorial2/ > > And I couldn't get the admin working by just uncommenting the > "Uncomment this for admin:" line.
Do you mean this didn't work when you were using the development server, or when you were using something like mod_python with Apache. From your subsequent comments, I suspect the latter. > My project name is "rico", I had to change the url to "rico/admin/" > instead of only "admin/". Assuming you are using mod_python and Apache, I would guess this is because all of the mod_python configuration will be in a Location block with a name like /rico. Which means things under '/' do not get processed by that block, only things under '/rico/'. You will need to add another section with <Location /admin> in order to also process requests to /admin. Unfortunately, this is all based on guesses about your configuration. So maybe you could supply some more details if I have guessed incorrectly. The tutorials talk explicitly about using the development server and you shouldn't see any problems when following them word-for-word. But it sounds like you are branching out a bit (not a bad thing at all). Regards, Malcolm --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

