On Mon, Jan 16, 2012 at 4:47 PM, Krondaj <c.d.smi...@gmail.com> wrote: > Well that didn't come out how I typed it, which helped me solve the > problem!! and now this should also be formatted properly?? >
Yes, that came through properly! A mixture of tabs and spaces would mess things up. > p.s. should it be four spaces per indent (instead of tabs) for python > in general, or is this a Django thing? > It's a python thing - 4 space indents, all spaces, no tabs. There is a PEP (Python Enhancement Proposal) called PEP 8 which extols the basis of python style: http://www.python.org/dev/peps/pep-0008/ They are just guidelines, but good to follow. Cheers Tom -- 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.