Merge pull request #128 from andrewbaxter/serviceapi_url

Add URL to service API
This commit is contained in:
David Buxton 2014-10-06 16:27:43 +01:00
commit 3ed5f36bca
1 changed files with 3 additions and 1 deletions

View File

@ -61,7 +61,9 @@ check_group_mixin_fields = (
router.register(r'services', create_viewset(
arg_model=models.Service,
arg_fields=check_group_mixin_fields,
arg_fields=check_group_mixin_fields + (
'url',
),
))
router.register(r'instances', create_viewset(