> On Jun 28, 12:55 pm, Daniel Roseman <dan...@roseman.org.uk> wrote:
>
> > 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.
>
> not able to fix it yet..
>
> plz explain in detail..
No, honestly I'm not going to. First of all, I can't because you
haven't bothered to post the actual file that's giving the error.
Secondly, this is an absolutely fundamental part of Python programming
and if you won't look it up then you'll simply not be able to do
anything in Python or Django.
Seriously, go and read a Python tutorial. Here's one:
http://docs.python.org/tutorial/
--
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+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.
No comments:
Post a Comment