ForeignKey in Django Models

  • ForeignKey is represented by django.forms.ModelChoiceField, which is a ChoiceField whose choices are a model QuerySet.

Comments

Popular posts from this blog

Advantages to using URLField() over TextField()

Forms in Django(bound, unbound, clean, is_valid, errors)