I have no idea why you decided to investigate a bicycle... Please separate task in two simple : 1) for editing object use url /<objectname>/<id>/edit 2) for creating new object /<objectname>/new
Take a look at generic view. Many thanks, Serge +380 636150445 skype: skhohlov 2013/1/9 Tom Evans <[email protected]>: > On Wed, Jan 9, 2013 at 12:55 PM, Andre Lopes <[email protected]> wrote: >> Hi, >> >> I'm without a clue on how to get the sef.id when creating a new object >> in Django. I've created a question in StackOverflow. Can someone give >> me a clue on this subject? >> >> Please read the question: >> http://stackoverflow.com/questions/14234917/django-how-to-get-self-id-when-saving-a-new-object >> >> Any clues? > > Save the object first. > > Cheers > > Tom > > -- > 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. > -- 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.

