Refactor rest_api app and the method end points are registered. All apps API URL endpoints are now registered under the 'rest_api' namespace.
Update DRF and DRF swagger versions. Update all apps API registration method.
This commit is contained in:
@@ -17,7 +17,7 @@ class DynamicSearchApp(MayanAppConfig):
|
||||
def ready(self):
|
||||
super(DynamicSearchApp, self).ready()
|
||||
|
||||
APIEndPoint('search', app_name='dynamic_search')
|
||||
APIEndPoint(app=self, version_string='1')
|
||||
|
||||
menu_facet.bind_links(
|
||||
links=(link_search, link_search_advanced),
|
||||
|
||||
Reference in New Issue
Block a user