Re: django tests
On Fri, Nov 22, 2013 at 1:13 PM, Charly Román <chack14rock@gmail.com> wrote:
> Yes, you need to give all the fields that arent't optional. Included
> foreign keys.
Not optional means that are not validated. If yes why?
I mean these are the compulsory fields, so why we should not give it.
I used all the compulsory fields but still I am getting the same
error. And how we can use foreign key in tests.py file ?
--
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+unsubscribe@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/CAB0GQhBWVpm04ydYvSt_Vy-k2M-ctX87t_L01YD4SpoyMpE8Eg%40mail.gmail.com.
For more options, visit https://groups.google.com/groups/opt_out.
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home