It's because you have fields in your model that aren't optional, and in your code you only set one field.
2013/11/22 Harjot Mann <harjotmann1...@gmail.com>: > On Fri, Nov 22, 2013 at 12:13 PM, Xavier Ordoquy <xordo...@linovia.com> wrote: >> I doubt the error is the same although it might look similar. >> Please note that TestCase use setUp instead of setup. > > > Oh thankyou. But now I am getting a long list of errors. > http://tny.cz/c4018552 > > -- > Harjot Kaur Mann > Blog: http://harjotmann.wordpress.com/ > Daily Dairy: http://harjotmann.wordpress.com/daily-diary/ > > -- > You received this message because you are subscribed to the Google Groups > "Django users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to django-users+unsubscr...@googlegroups.com. > To post to this group, send email to django-users@googlegroups.com. > Visit this group at http://groups.google.com/group/django-users. > To view this discussion on the web visit > https://groups.google.com/d/msgid/django-users/CAB0GQhAD23Sj8OpXQF2H0UAUFyacMxP%3DHj_m2peG8LjqA9%2BSUA%40mail.gmail.com. > For more options, visit https://groups.google.com/groups/opt_out. -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscr...@googlegroups.com. To post to this group, send email to django-users@googlegroups.com. Visit this group at http://groups.google.com/group/django-users. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CABeWMUZAtS_yUbYT6oZ8xZB2YxgXRsOuBkvapD0rFcQhoYpzLg%40mail.gmail.com. For more options, visit https://groups.google.com/groups/opt_out.