Re: Please Assist Learning Programming and Python with Django Framework and Stuck
On Sat, 2012-06-16 at 15:52 +0530, kenneth gonsalves wrote:
> >
>
> what does write() do?
>
> btw, line 56 in models needs to be indented
> lines 54 and 55 have a double indent. Why?
> lines 21, 22 and 32 will never be executed.
oh, and your indents in 17 and 18 are not consistent with 21-22. A good
practice in python is to have *all* indents 4 spaces wide.
oops - you have a try statement in line 37, but no except statement.
--
regards
Kenneth Gonsalves
--
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.
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home