Django ORM error
Reports several methods that may not be called due to some ORM reasons.
Example:
class Choice:
question = ForeignKey(Question, null=False)
choice_set = Question.objects.get(id=1).choice_set.remove()
The remove
function can not be called if the foreign key has null=False
.
Inspection Details | |
---|---|
By default bundled with: | |
Can be installed with plugin: | Django, 241.SNAPSHOT |
Last modified: 29 April 2024