On 6/6/07, ilDave <[EMAIL PROTECTED]> wrote: > AttributeError: 'Settings' object has no attribute 'ROOT_URLCONF' > > > What's wrong with my configuration? It seem that python can't find the > urls.py file, but it is in the right place and everything is readable > by apache... >
Your settings file should have a line like the following: ROOT_URLCONF = 'myproject.urls' That's how Django knows where to look for urls.py. It should be in dotted Python syntax according to where it falls on the Python Path. So the above assumes "myporject" is on your Python path and that urls.py lives inside the myproject directory. Cheers, deryck --~--~---------~--~----~------------~-------~--~----~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---