Re: Problem in the Tutorial 01

2014-07-27 Thread Ricardo Daniel Quiroga
get() si no existe coincidencia te tira error asi de simple. 2014-07-24 11:41 GMT-03:00 Daniel Roseman : > On Thursday, 24 July 2014 13:53:54 UTC+1, Fabian Zentner wrote: > >> Hey guys, >> >> I'm new with Django and Python as well. I'm doing the tutorial 1 on the >> website (https://docs.djangop

Re: Problem in the Tutorial 01

2014-07-24 Thread Daniel Roseman
On Thursday, 24 July 2014 13:53:54 UTC+1, Fabian Zentner wrote: > > Hey guys, > > I'm new with Django and Python as well. I'm doing the tutorial 1 on the > website (https://docs.djangoproject.com/en/1.6/intro/tutorial01/). > I'm using Python27 (C:\Python27) > In C:\Python27\Scripts\ I have the

Re: Problem in the Tutorial 01

2014-07-24 Thread Sergiy Khohlov
On Thu, Jul 24, 2014 at 3:53 PM, Fabian Zentner < zentner.fab...@googlemail.com> wrote: > *Poll.objects.get(pub_date__year=current_year) * try to use *Poll.objects.first()* you have 2 object and it is a reason of your traceback Many thanks, Serge +380 636150445 skype: skhohlov -- You rece

Problem in the Tutorial 01

2014-07-24 Thread Fabian Zentner
Hey guys, I'm new with Django and Python as well. I'm doing the tutorial 1 on the website (https://docs.djangoproject.com/en/1.6/intro/tutorial01/). I'm using Python27 (C:\Python27) In C:\Python27\Scripts\ I have the project mysite and polls like in the tutorial In the part "Playing with th