Hello!
The problem that occurred was that the view when answering the case of
modification, the id of the record was not passed when submitting the form.
My solution was to add a block if / else to change the action of the form.
The following code: http://pastebin.com/BtPrpqSJ
I do not know if
Have you verified that the url being called has a music_id?
On Monday, August 26, 2013 10:40:52 AM UTC-5, Marcos Luiz Wilhelm wrote:
>
> Hello!
> I'm having problems with a view that makes add and update
> The view generates a new record rather than change a instance.
> My code is this:
Hello!
I'm having problems with a view that makes add and update
The view generates a new record rather than change a instance.
My code is this: http://pastebin.com/rZNAeN0p
Someone can help me please?
--
You received this message because you are subscribed to the Google Groups
"Django users"
3 matches
Mail list logo