That should work. Do you get any errors? On 16/05/2014 8:53 pm, "Coulson Thabo Kgathi" <zeeco...@gmail.com> 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 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/273762b5-35a0-44c3-825f-045e1a275cc7%40googlegroups.com<https://groups.google.com/d/msgid/django-users/273762b5-35a0-44c3-825f-045e1a275cc7%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- 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/CAHqTbjkeuTY%3DGr23yoA2PtcetTZM%2B3zFP9mOfBxH50z0J%2BW7wg%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.