I figured it out...
I missed putting {{ photo.id }} in the template. The "new_data" values
helped out.
I am speculating that Django didn't know the id of the existing object
so it created a new one in the database even though one already
existed.
Sorry to bother everyone.
--~--~-~--~-
I'm using Django version 0.96-pre I checked out from SVN on the 12th.
I have two models: Photo and SsiStatus (see code below)
A SsiStatus object can have many photos.
I have written a view to handle updating the SsiStatus and every time I
click to save the update the caption of any existing pho
2 matches
Mail list logo