mirror of
https://github.com/graphql-python/graphene-django.git
synced 2025-01-27 17:54:11 +03:00
Clean up
This commit is contained in:
parent
69457cffdf
commit
e2284fefb5
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -4,7 +4,6 @@
|
|||
# Byte-compiled / optimized / DLL files
|
||||
__pycache__/
|
||||
*.py[cod]
|
||||
.virtualenv
|
||||
|
||||
# C extensions
|
||||
*.so
|
||||
|
|
|
@ -75,6 +75,5 @@ def test_mutations():
|
|||
}
|
||||
}
|
||||
result = schema.execute(query)
|
||||
print(result.data)
|
||||
assert not result.errors
|
||||
assert result.data == expected
|
||||
|
|
|
@ -45,7 +45,6 @@ class Article(models.Model):
|
|||
], default='es')
|
||||
importance = models.IntegerField('Importance', null=True, blank=True,
|
||||
choices=[(1, u'Very important'), (2, u'Not as important')])
|
||||
tag = models.CharField(max_length=100)
|
||||
|
||||
def __str__(self): # __unicode__ on Python 2
|
||||
return self.headline
|
||||
|
|
Loading…
Reference in New Issue
Block a user