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.select
That should work. Do you get any errors?
On 16/05/2014 8:53 pm, "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
2 matches
Mail list logo