On Jun 28, 8:49 am, samie <badboy.su...@gmail.com> wrote: > sir m getting problem in running my first django tutorial > page..available athttp://docs.djangoproject.com/en/dev/intro/tutorial01/ > > i had already tried it for 3 times earlier.. but not making it up to// > > i have installed django fromhttp://bitbucket.org/mirror/django-trunk > > that u earlier told me to do.. > > and the problem occuring is > > "" > > IndentationError at /admin/ > unexpected indent (urls.py, line 5) > Request Method: GET > Request URL: http://127.0.0.1:8000/admin/ > Django Version: 1.3 pre-alpha > Exception Type: IndentationError > Exception Value: > unexpected indent (urls.py, line 5) > Exception Location: c:\python26\lib\site-packages\django\utils > \importlib.py in import_module, line 35 > Python Executable: c:\python26\python.exe > Python Version: 2.6.5 > Python Path: ['C:\\Python26\\mysite', 'C:\\Windows\\system32\ > \python26.zip', 'c:\\python26\\DLLs', 'c:\\python26\\lib', 'c:\ > \python26\\lib\\plat-win', 'c:\\python26\\lib\\lib-tk', 'c:\ > \python26', 'C:\\Users\\sony\\AppData\\Roaming\\Python\\Python26\\site- > packages', 'c:\\python26\\lib\\site-packages'] > Server time: Mon, 28 Jun 2010 13:08:54 +0530 > > "" > > plz help
The problem is clearly stated, an indentation error on line 5 of urls.py. If you don't understand why indentation is important, you should do an introductory Python tutorial before trying the Django one. -- 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-us...@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.