Re: help to finish my 1st Django app.

2011-03-15 Thread Igor Ischenko
Or you can simply use object_list instead of latest_poll_list 2011/3/15 christian.posta > Your template file checks to see whether a variable named > "latest_poll_list" exists. > I don't see anywhere in your views where you add this to your context. > Look at part 3 of the tutorial about half wa

Re: help to finish my 1st Django app.

2011-03-14 Thread Igor Ischenko
Hi Show your template file 2011/3/14 royy > Hi. > > I've finished the tutorial for the polls app. > > I tought everythin was OK till I load the server and type the addres: > http://127.0.0.1:8000/polls/ > > web browser shows me the message "No polls are available" isn't a web > browser error me

Re: How to use CreateView?

2011-03-12 Thread Igor Ischenko
Hi hassan, try to add {% csrf_token %} somewhere inside form in your template On 11 мар, 23:41, hassan wrote: > Hi, > > I am testing django 1.3 class based generic views. I have a model like > this one: > > class Book(models.Model): >     name = models.CharField(max_length=50) >     author = mod