Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

django delete instance

instance = SomeModel.objects.get(id=id)
instance.delete()
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #django #delete #instance
ADD COMMENT
Topic
Name
1+3 =