Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

delete database entry using name django

obj = get_object_or_404(modelname, name=name)
obj.delete()
 
PREVIOUS NEXT
Tagged: #delete #database #entry #django
ADD COMMENT
Topic
Name
5+1 =