;
> Have you tried setting "required=False" in your custom field override?
>
> On Wed, Aug 5, 2015 at 3:23 PM, Scott Gibson > wrote:
>
>> The django admin app is requiring a foreign key to be populated even
>> though the model is defined and migrated with null=
I've not and I'm not sure how or where to do that.
On Wednesday, August 5, 2015 at 4:38:36 PM UTC-5, James Bennett wrote:
>
> Have you tried setting "required=False" in your custom field override?
>
> On Wed, Aug 5, 2015 at 3:23 PM, Scott Gibson > wrote:
>
The django admin app is requiring a foreign key to be populated even though
the model is defined and migrated with null=true and blank=true.
What I've found is that the admin app will treat the field as required if
the associated AdminForm(forms.ModelForm) overrides the fields collection
for
3 matches
Mail list logo