Copying contents of a model

Posted by Hulk on Stack Overflow See other posts from Stack Overflow or by Hulk
Published on 2010-04-13T10:50:53Z Indexed on 2010/04/13 13:53 UTC
Read the original article Hit count: 623

If there exists an old data of a model say ,

query=Emp.objects.filter(pk=profile.id)

Is there a easier way to copy the same values into the same model again..

Now that the id will be different so..

I have this requirement.

Thanks..

© Stack Overflow or respective owner

Related posts about django

Related posts about django-models