airavata-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From machris...@apache.org
Subject [airavata-django-portal] 09/28: AIRAVATA-2876 Require module name
Date Tue, 11 Sep 2018 17:11:57 GMT
This is an automated email from the ASF dual-hosted git repository.

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

commit 0f6714cd16ebc93a04acaa1b331c2e4fca77bf68
Author: Marcus Christie <machrist@iu.edu>
AuthorDate: Wed Aug 29 17:08:23 2018 -0400

    AIRAVATA-2876 Require module name
---
 django_airavata/apps/api/serializers.py | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/django_airavata/apps/api/serializers.py b/django_airavata/apps/api/serializers.py
index 31a4152..41182e5 100644
--- a/django_airavata/apps/api/serializers.py
+++ b/django_airavata/apps/api/serializers.py
@@ -232,6 +232,9 @@ class ApplicationModuleSerializer(
     applicationInterface = FullyEncodedHyperlinkedIdentityField(view_name='django_airavata_api:application-application-interface',
lookup_field='appModuleId', lookup_url_kwarg='app_module_id')
     applicationDeployments = FullyEncodedHyperlinkedIdentityField(view_name='django_airavata_api:application-application-deployments',
lookup_field='appModuleId', lookup_url_kwarg='app_module_id')
 
+    class Meta:
+        required = ('appModuleName',)
+
     def create(self, validated_data):
         return ApplicationModule(**validated_data)
 


Mime
View raw message