SWE574-Groupago / heritago

A platform where anyone can share and learn about cultural heritages.
MIT License
9 stars 8 forks source link

Heritage.tags ManyToMany Field has "Null=True" #156

Closed TalatCikikci closed 7 years ago

TalatCikikci commented 7 years ago

According to Django system check, it is redundant to have "Null" attribute set on a ManyToManyField.

System check identified some issues:

WARNINGS: heritages.Heritage.tags: (fields.W340) null has no effect on ManyToManyField.

System check identified 1 issue (0 silenced).

"Null" attribute should be removed from the specified location in models.py.

TalatCikikci commented 7 years ago

Removing this in my commit if it is ok.

TalatCikikci commented 7 years ago

Removed the "Null" attribute.