Managed to figure it out. In the save method of the object there was some code that resets the values to None
On Friday, May 16, 2014 12:52:47 PM UTC+2, Coulson Thabo Kgathi wrote: > > if o get an object like this > > p = Plot.objects.get(plot_plot_identifier='123323423') > > then do > p.selected=1 > p.save() > > this does not save dont know why. > the is no where the field is being modified anywhy not even on the save > methon of the Plot model and there are no signals modifying the field at > all. > > > -- 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 [email protected]. To post to this group, send email to [email protected]. 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/16236041-2d30-467d-9915-62be2f7e489a%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.

