If Blog_Post.categories is a ForeignKey, the form field should be a ModelChoiceField.
I don’t understand why you’re trying to set this to a defined constant when the values need to exist in the referenced model.
If Blog_Post.categories is a ForeignKey, the form field should be a ModelChoiceField.
I don’t understand why you’re trying to set this to a defined constant when the values need to exist in the referenced model.