mirror of
https://github.com/graphql-python/graphene-django.git
synced 2025-07-11 08:42:32 +03:00
Fix tests
This commit is contained in:
parent
3636780337
commit
ffdab2f077
|
@ -91,8 +91,8 @@ class CNNReporter(Reporter):
|
|||
|
||||
class Article(models.Model):
|
||||
headline = models.CharField(max_length=100)
|
||||
pub_date = models.DateField()
|
||||
pub_date_time = models.DateTimeField()
|
||||
pub_date = models.DateField(auto_now_add=True)
|
||||
pub_date_time = models.DateTimeField(auto_now_add=True)
|
||||
reporter = models.ForeignKey(
|
||||
Reporter, on_delete=models.CASCADE, related_name="articles"
|
||||
)
|
||||
|
|
Loading…
Reference in New Issue
Block a user