Re: Question about Django Tutorial Part 5

2015-10-15 Thread Vijay Khemlani
The "create" method (as in Question.objects.create) saves the object to the database On Thu, Oct 15, 2015 at 6:08 AM, Shun Liang wrote: > Dear All, > > In the 5th part of the Django Tutorial ( > https://docs.djangoproject.com/en/1.8/intro/tutorial05/#testing-our-new-view > ), there is a helper f

Question about Django Tutorial Part 5

2015-10-15 Thread Shun Liang
Dear All, In the 5th part of the Django Tutorial ( https://docs.djangoproject.com/en/1.8/intro/tutorial05/#testing-our-new-view ), there is a helper function "create_question" in polls/test,py, which creates a question instance and returns it. However the created question instance does not see