I was looking into how django works and had pulled the template files directly from the project_template directly and forgot to correct for the tag.
Based on what Daniel and Christian pointed out, I looked it up. Apparently I had a similar {{project_name}} tag in my settings.py file. That tag was creating the trouble as the settings were not redirecting the url handling to urls.py. Even though the {{project_name}} tag is there in the urls.py, it is not affecting the working of the system as it is commented. Thank you guys for the help. Gagan Preet Singh On 14 June 2011 02:16, christian.posta <christian.po...@gmail.com> wrote: > 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. > > -- 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.