This commit is contained in:
Niall 2017-03-06 18:20:31 +00:00
parent 69457cffdf
commit e2284fefb5
3 changed files with 0 additions and 3 deletions

1
.gitignore vendored
View File

@ -4,7 +4,6 @@
# Byte-compiled / optimized / DLL files
__pycache__/
*.py[cod]
.virtualenv
# C extensions
*.so

View File

@ -75,6 +75,5 @@ def test_mutations():
}
}
result = schema.execute(query)
print(result.data)
assert not result.errors
assert result.data == expected

View File

@ -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