Re: Was I supposed to be able to create a question on the website using 'runserver'?

2020-11-11 Thread Jorge Gimeno
That's a helper function to get the Question instances you need for testing. It's a way to query for those questions without repeating the same code over and over in tests. -Jorge On Wed, Nov 11, 2020 at 5:56 AM Carlos Henrique < carloshenrique...@poli.ufrj.br> wrote: > I'm following this >

Was I supposed to be able to create a question on the website using 'runserver'?

2020-11-11 Thread Carlos Henrique
I'm following this Django tutorial. So far I haven't had an issue so far, but now I'm not really sure if I understood it correctly. We created a shortcut function to create questions, but I thought that it was meant