Refactor rest_api app and the method end points are registered. All apps API URL endpoints are now registered under the 'rest_api' namespace.

This commit is contained in:
Roberto Rosario
2015-08-06 02:50:14 -04:00
parent 1fa859a0c3
commit ea02172a82
8 changed files with 64 additions and 73 deletions

View File

@@ -4,7 +4,7 @@ from django.utils.translation import ugettext_lazy as _
from navigation import Link
link_api = Link(icon='fa fa-plug', text=_('REST API'), view='api-root')
link_api = Link(icon='fa fa-plug', text=_('REST API'), view='rest_api:api-root')
link_api_documentation = Link(
icon='fa fa-book', text=_('API Documentation'),
view='django.swagger.base.view'