mirror of
https://github.com/django/django.git
synced 2025-08-03 10:34:04 +00:00
Fixed #19671 -- Added warnings that null and validators are ignored for ManyToManyField.
Thanks Loic Bistuer and Tim Graham for help and review.
This commit is contained in:
parent
3a85aae2ea
commit
011abb7d96
14 changed files with 76 additions and 16 deletions
|
@ -5,4 +5,4 @@ from django.db import models
|
|||
class Article(models.Model):
|
||||
sites = models.ManyToManyField(Site)
|
||||
headline = models.CharField(max_length=100)
|
||||
publications = models.ManyToManyField("model_package.Publication", null=True, blank=True,)
|
||||
publications = models.ManyToManyField("model_package.Publication", blank=True)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue