Friday, March 1, 2013

Re: error in filling data in database through admin page

It would be helpful to see the model definition(s) and the admin.py if you wrote one

On Friday, March 1, 2013 1:06:34 AM UTC-6, Avnesh Shakya wrote:
hi,
     i have got one error during adding data in database though admin page, actually it was working fine, but i made some attributes optional, now it's generating error..
i m adding m models.py ,
error-- 
<Course: computer network>" needs to have a value for field "course" before this many-to-many relationship can be used.
plz help me..

thanks in advance

--
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?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

No comments:

Post a Comment