mirror of
https://github.com/davidhalter/django-stubs.git
synced 2025-12-07 04:34:29 +08:00
remove redundant test
This commit is contained in:
@@ -32,14 +32,4 @@ class Child1(Parent1, Parent2):
|
||||
class Child4(Child1):
|
||||
value4 = models.IntegerField()
|
||||
Child4.objects.create(name1='n1', name2='n2', value=1, value4=4)
|
||||
|
||||
[CASE create_through_related_manager_of_manytomany_field]
|
||||
from django.db import models
|
||||
|
||||
class Publication(models.Model):
|
||||
title = models.CharField(max_length=100)
|
||||
class Article(models.Model):
|
||||
publications = models.ManyToManyField(Publication)
|
||||
article = Article.objects.create()
|
||||
article.publications.create(title='my title')
|
||||
[out]
|
||||
Reference in New Issue
Block a user