;REQ_SEARCH', 'REQ_UNBIND', 'RESULTS_TOO_LARGE',
'RES_ADD', 'RES_ANY', 'RES_BIND', 'RES_COMPARE', 'RES_DELETE',
'RES_EXTENDED', 'RES_MODIFY', 'RES_MODRDN', 'RES_SEARCH_ENTRY',
'RES
Hi all,
I need some help updating a database field. Can someone post me an
example on updating a database field using the views.py and a static
value to update. For example each time an item is requested set the
field read to 1. I have to build something similar.
Thanks for any reply
tinti
Got it:
update = Queue.objects.get(message=message_id)
update.read = 1
update.save()
I thinks this is the correct way, if not somebody can advise me another
;)
On Nov 14, 11:37 am, "tinti" <[EMAIL PROTECTED]> wrote:
> Hi all,
> I need some help updating
3 matches
Mail list logo