I guess I was mixing tabs and spaces, thanks guys. On Dec 29, 3:38 pm, Ramiro Morales <cra...@gmail.com> wrote: > On Tue, Dec 29, 2009 at 8:31 PM, neridaj <neri...@gmail.com> wrote: > > File "/Users/jasonnerida/django-apps/blog/models.py" in > > moderate_comment > > 142. if delta.days > 30: > > I suspect you have the above line badly indented, > e.g. at the same level of the > > if not instance.id: > > line because it appears to have eight spaces in the traceback, > assuming you use 4 space tab-stops. That would explain > the problem you are seeing. > > Maybe you are mixing tabs and spaces and you aren't > seeing them in you editor? > > PS: You will need to stat posting thin kind of questions to > your favorite friendly Python mailing list/IRC channel. > > -- > Ramiro Morales | http://rmorales.net
-- 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.