hi Im following the first Django tutorial...
I thought I was doing everything correctly till I hit this spot:
from
https://docs.djangoproject.com/en/1.4/intro/tutorial01/
everything worked as expected till I got to this specific command in the
shell...
# Create three choices.>>> p.choice_set
# ...
> def __unicode__(self):
> return self.choice
>
>
> You probably have used self.question in the Choice class instead of
> self.choice
>
> Regards,
> Xavier Ordoquy,
> Linovia.
>
> Le 6 oct. 2012 à 00:33, TJ Marbois > a
> écrit :
>
Hi
going thru the Django tutorial - and got to this part:
https://docs.djangoproject.com/en/1.4/intro/tutorial03/#decoupling-the-urlconfs
my editor has a python lint program running...and it complains about
'include' at the import being written but unused...
is there any reason this is left in
Ah ok thanks was just curious as to why it was still lingering if it
wasn't used in the example.
just a tiny bit confusing but all still worked! - thanks for the reply.
Tj
On Sunday, October 7, 2012 12:26:12 AM UTC-4, Lee Hinde wrote:
>
> TJ Marbois wrote:
>
> Hi
&
4 matches
Mail list logo