Improved tests

This commit is contained in:
Syrus Akbary 2015-12-03 21:49:10 -08:00
parent f4cfd7dc8a
commit 0fa7f5c9aa
2 changed files with 1 additions and 4 deletions

View File

@ -16,9 +16,6 @@ class Reporter(models.Model):
def __str__(self): # __unicode__ on Python 2
return "%s %s" % (self.first_name, self.last_name)
class Meta:
app_label = 'contrib_django'
class Article(models.Model):
headline = models.CharField(max_length=100)
@ -30,4 +27,3 @@ class Article(models.Model):
class Meta:
ordering = ('headline',)
app_label = 'contrib_django'

View File

@ -1,6 +1,7 @@
SECRET_KEY = 1
INSTALLED_APPS = [
'graphene.contrib.django.tests',
'examples.starwars_django',
]