this is the error
IndentationError at /admin/polls/poll/
unexpected indent (admin.py, line 14)
Request Method:    GET
Request URL:    http://127.0.0.1:8000/admin/polls/poll/
Django Version:    1.4c1
Exception Type:    IndentationError
Exception Value:
unexpected indent (admin.py, line 14)
Exception Location: C:\Python27\lib\site-packages\django\utils\importlib.py in import_module, line 35
Python Executable:    C:\Python27\python.exe
Python Version:    2.7.2
Python Path:
['G:\\Semester 6\\SE\\code 1\\mysite',
'C:\\Windows\\system32\\python27.zip',
'C:\\Python27\\DLLs',
'C:\\Python27\\lib',
'C:\\Python27\\lib\\plat-win',
'C:\\Python27\\lib\\lib-tk',
'C:\\Python27',
'C:\\Python27\\lib\\site-packages']
Server time:    Wed, 14 Mar 2012 14:51:48 +0200

-----Original Message----- From: Karen Tracey
Sent: Wednesday, March 14, 2012 2:23 PM
To: django-users@googlegroups.com
Subject: Re: poll application

On Wed, Mar 14, 2012 at 5:42 AM, Yasmine El_Badry
<yasmine.elba...@gmail.com> wrote:
Hi
I'm making a poll application using this tutorial
https://docs.djangoproject.com/en/1.3/intro/tutorial02/
but when i add this line "list_display = ('question', 'pub_date')"  to
the admin.py , it gives me an error
it worked once and when i continued the tutorial , it gave me error so
i have to remove it
Any help ??

What error? It's hard for people to help you when you omit key
information such as the error you were seeing.

Karen
--
http://tracey.org/kmt/

--
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.

Reply via email to