Create a relationship between services and tokens

This commit is contained in:
Rebecca Law
2016-01-13 17:08:57 +00:00
parent 255dddaa27
commit 4a692d555e
4 changed files with 8 additions and 6 deletions

View File

@@ -19,7 +19,7 @@ class UserSchema(ma.ModelSchema):
class ServiceSchema(ma.ModelSchema):
class Meta:
model = models.Service
exclude = ("updated_at", "created_at", "templates")
exclude = ("updated_at", "created_at", "tokens", "templates")
class TemplateSchema(ma.ModelSchema):