Just wanted to reply to myself that I fixed my problem. I needed to store all
the values from my get into the dictionary
Thanks,
Jeff
-------------- Original message --------------
From: jeffhg58 <[EMAIL PROTECTED]>
>
> Hi,
>
> I currently have an update form which contains a dictionary of the
> field names and values.
> I was wondering how you perform the update using a dictionary.
>
> Here is a snippet of my code
>
> def save(self, new_data, event_id):
> eventdetrec = Events.objects.get(pk=event_id)
> event_dict = {}
>
> So, now if I populate event_dict how would I be able to update
> eventdetrec and then perform the save
>
> Thanks,
> Jeff
>
>
> >
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---