Commit 39dd5724 authored by Ashish's avatar Ashish

Fix pep8 violation

parent 1cd30961
......@@ -47,7 +47,8 @@ class APIModelBuilder(object):
}
)
router.register('data-api/' + model.__name__.lower() + 's', viewset,
router.register('data-api/' + model.__name__.lower() + 's',
viewset,
base_name=model.__name__)
return router.urls
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment