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:
@@ -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'
|
||||
|
||||
Reference in New Issue
Block a user