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:
@@ -54,7 +54,7 @@ class MetadataApp(MayanAppConfig):
|
||||
def ready(self):
|
||||
super(MetadataApp, self).ready()
|
||||
|
||||
APIEndPoint('metadata')
|
||||
APIEndPoint(app=self, version_string='1')
|
||||
|
||||
Document.add_to_class(
|
||||
'metadata_value_of', DocumentMetadataHelper.constructor
|
||||
|
||||
Reference in New Issue
Block a user