Looks like you may have literally just uncommented the line without replacing the {{project_name}} token with what your project name really is. Did you use django-admin.py startproject to create the project? After doing so, use manage.py startapp <app_name> to create the app. See the django tutorial for more: https://docs.djangoproject.com/en/dev/intro/tutorial01/
On Jun 13, 6:14 am, Daniel Roseman <dan...@roseman.org.uk> wrote: > On Monday, June 13, 2011 1:25:40 PM UTC+1, Gagan (GPS) wrote: > > > This is the urls.py with the admin bits uncommented from the default > > urls.py file. > > No it isn't. Somehow you have copied the skeleton urls.py from > django/conf/project_template/. You should use django-admin.py startproject > to set up your urls.py and settings.py correctly. > > (Sorry, I mis-spoke on my last reply - it is valid Python, and the template > syntax is from the skeleton version.) > -- > DR. -- 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.