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 view this discussion on the web visit https://groups.google.com/d/msg/django-users/-/1WP9OKRb-7oJ. 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.