airavata-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From machris...@apache.org
Subject [airavata-django-portal] 05/08: AIRAVATA-3376 Update DRF to 3.10.3 and fix deprecation warnings
Date Tue, 03 Nov 2020 21:22:55 GMT
This is an automated email from the ASF dual-hosted git repository.

machristie pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/airavata-django-portal.git

commit 726a366bd3401059acdbc9cb2a75ce1397de6cc0
Author: Marcus Christie <machristie@apache.org>
AuthorDate: Tue Nov 3 15:39:53 2020 -0500

    AIRAVATA-3376 Update DRF to 3.10.3 and fix deprecation warnings
---
 django_airavata/apps/api/urls.py | 40 ++++++++++++++++++++--------------------
 requirements.txt                 |  2 +-
 2 files changed, 21 insertions(+), 21 deletions(-)

diff --git a/django_airavata/apps/api/urls.py b/django_airavata/apps/api/urls.py
index d2a67c3..0a602ab 100644
--- a/django_airavata/apps/api/urls.py
+++ b/django_airavata/apps/api/urls.py
@@ -8,45 +8,45 @@ from . import views
 logger = logging.getLogger(__name__)
 
 router = routers.DefaultRouter()
-router.register(r'projects', views.ProjectViewSet, base_name='project')
+router.register(r'projects', views.ProjectViewSet, basename='project')
 router.register(r'experiments', views.ExperimentViewSet,
-                base_name='experiment')
+                basename='experiment')
 router.register(r'full-experiments', views.FullExperimentViewSet,
-                base_name='full-experiment')
+                basename='full-experiment')
 router.register(r'experiment-search', views.ExperimentSearchViewSet,
-                base_name='experiment-search')
-router.register(r'groups', views.GroupViewSet, base_name='group')
+                basename='experiment-search')
+router.register(r'groups', views.GroupViewSet, basename='group')
 router.register(r'application-interfaces', views.ApplicationInterfaceViewSet,
-                base_name='application-interface')
+                basename='application-interface')
 router.register(r'applications', views.ApplicationModuleViewSet,
-                base_name='application')
+                basename='application')
 router.register(r'application-deployments', views.ApplicationDeploymentViewSet,
-                base_name='application-deployment')
+                basename='application-deployment')
 router.register(r'user-profiles', views.UserProfileViewSet,
-                base_name='user-profile')
+                basename='user-profile')
 router.register(r'group-resource-profiles', views.GroupResourceProfileViewSet,
-                base_name='group-resource-profile')
+                basename='group-resource-profile')
 router.register(r'shared-entities', views.SharedEntityViewSet,
-                base_name='shared-entity')
+                basename='shared-entity')
 router.register(r'compute-resources', views.ComputeResourceViewSet,
-                base_name='compute-resource')
+                basename='compute-resource')
 router.register(r'storage-resources', views.StorageResourceViewSet,
-                base_name='storage-resource')
+                basename='storage-resource')
 router.register(r'credential-summaries', views.CredentialSummaryViewSet,
-                base_name='credential-summary')
+                basename='credential-summary')
 router.register(r'gateway-resource-profiles',
                 views.GatewayResourceProfileViewSet,
-                base_name='gateway-resource-profile')
+                basename='gateway-resource-profile')
 router.register(r'storage-preferences',
                 views.StoragePreferenceViewSet,
-                base_name='storage-preference')
-router.register(r'parsers', views.ParserViewSet, base_name='parser')
+                basename='storage-preference')
+router.register(r'parsers', views.ParserViewSet, basename='parser')
 router.register(r'manage-notifications', views.ManageNotificationViewSet,
-                base_name='manage-notifications')
+                basename='manage-notifications')
 router.register(r'iam-user-profiles', views.IAMUserViewSet,
-                base_name='iam-user-profile')
+                basename='iam-user-profile')
 router.register(r'unverified-email-users', views.UnverifiedEmailUserViewSet,
-                base_name='unverified-email-user-profile')
+                basename='unverified-email-user-profile')
 
 app_name = 'django_airavata_api'
 urlpatterns = [
diff --git a/requirements.txt b/requirements.txt
index 58141d2..8bef54e 100644
--- a/requirements.txt
+++ b/requirements.txt
@@ -4,7 +4,7 @@ requests==2.13.0
 requests-oauthlib==0.7.0
 thrift==0.10.0
 thrift_connector==0.24
-djangorestframework==3.8.2
+djangorestframework==3.10.3
 django-webpack-loader==0.6.0
 
 wagtail>=2.7,<2.8


Mime
View raw message