﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
19012	Spaces instead of tabs	anonymous	nobody	"Hi,

I'm new to Django and Python and was following the steps in the tutorial: https://docs.djangoproject.com/en/1.4/intro/tutorial01/

I edited the models file to create the Polls and Choices and added the poll, but when I got to the section that starts:

class Poll(models.Model):
    # ...
    def __unicode__(self):
        return self.question

I was unsure of where to add the method, also when I pasted the code into the text editor I'm using, it pastes the indents as spaces, it took me a search to find out that indents were important.

Could you replace the example spaces with tabs so that the example works straight away? This may help other python newbies like myself.
 
Thanks,

Adam

"	Uncategorized	closed	Documentation	1.4	Normal	worksforme	Tabs		Unreviewed	0	0	0	0	0	0
