diff --git a/djangoldp_tzcld/models.py b/djangoldp_tzcld/models.py index b5423e010f0ff54a5694623d8cd425ef49f196e9..ab3b4265514bfdb41c3f2ac08936a4d677bd430f 100644 --- a/djangoldp_tzcld/models.py +++ b/djangoldp_tzcld/models.py @@ -390,7 +390,6 @@ class TzcldCommunity(Model): class Meta(Model.Meta): verbose_name = _('TZCLD Territory Profile') verbose_name_plural = _("TZCLD Territories Profiles") - # permission_classes = [TzcldCommunityProfilePermissions] # authenticated_perms = ['view', 'add'] # owner_perms = ['inherit', 'change', 'delete'] @@ -424,11 +423,6 @@ class TzcldCommunityIdentity(Model): auto_author = 'author' verbose_name = _('TZCLD Territory Identity') verbose_name_plural = _("TZCLD Territories Identities") - # permission_classes = [TzcldCommunityProfilePermissions] - - # authenticated_perms = ['view', 'add'] - # owner_perms = ['inherit', 'change', 'delete'] - # superuser_perms = ['inherit'] ordering = ['community'] container_path = "tzcld-communities-identity/" serializer_fields = ['@id', 'community', 'emergence_date', 'habilitation_date', 'origin_mobilization', 'application_date', 'signatory_structure', 'birth_date', 'last_contribution_date', 'territories_project_team_memebers', 'territories_trainings', 'conversations', 'tzcld_admins_community_shared_notes', 'tzcld_admins_community_shared_files', 'date', 'author', 'territories_political_landscape_deputies', 'territories_political_landscape_senators'] @@ -723,11 +717,6 @@ class TzcldCommunityEvaluationPointAnswer(Model): auto_author = 'author' verbose_name = _('TZCLD Territory Evaluation Point Answer') verbose_name_plural = _("TZCLD Territories Evaluation Point answers") - # permission_classes = [TzcldCommunityProfilePermissions] - - # authenticated_perms = ['view', 'add'] - # owner_perms = ['inherit', 'change', 'delete'] - # superuser_perms = ['inherit'] container_path = "tzcld-communities-evaluation-point-answers/" serializer_fields = ['@id', 'answer', 'answer_community_deliberation', 'answer_other_community_deliberation', 'answer_concil_department_deliberation', 'comment', 'evaluation_point', 'community', 'date', 'author'] rdf_type = "tzcld:communityEvaluationPointAnswer" @@ -902,10 +891,6 @@ class TzcldCommunityFollowedPoint(Model): class Meta(Model.Meta): verbose_name = _('TZCLD Territory Followed Point') verbose_name_plural = _("TZCLD Territories Followed Points") - - # authenticated_perms = ['view', 'add'] - # owner_perms = ['inherit', 'change', 'delete'] - # superuser_perms = ['inherit'] ordering = ['order'] container_path = "tzcld-communities-followed-points/" serializer_fields = ['@id', 'name', 'order', 'part', 'fieldType', 'helpComment'] @@ -931,11 +916,6 @@ class TzcldCommunityFollowedPointAnswer(Model): auto_author = 'author' verbose_name = _('TZCLD Territory Followed Point Answer') verbose_name_plural = _("TZCLD Territories Followed Point answers") - # permission_classes = [TzcldCommunityProfilePermissions] - - # authenticated_perms = ['view', 'add'] - # owner_perms = ['inherit', 'change', 'delete'] - # superuser_perms = ['inherit'] container_path = "tzcld-communities-followed-point-answers/" serializer_fields = ['@id', 'answer', 'followed_point','community', 'date', 'author'] rdf_type = "tzcld:communityFollowedPointAnswer" @@ -962,10 +942,6 @@ class TzcldTerritorySharedNote(Model): owner_field = 'author' verbose_name = _('TZCLD Territory Shared Note') verbose_name_plural = _("TZCLD Territories Shared Notes") - - # authenticated_perms = ['view', 'add'] - # owner_perms = ['inherit', 'change', 'delete'] - # superuser_perms = ['inherit'] container_path = "tzcld-territory-shared-notes/" serializer_fields = ['@id', 'author', 'longdesc', 'community_admins', 'community_referents', 'conversations', 'date'] nested_fields = ['author', 'community_admins', 'community_referents', 'conversations'] diff --git a/setup.cfg b/setup.cfg index 5515f38eddb7fb8949571e2fafc5caa2cb03b106..2a143cd81e4ea0c3fd324b2b8f450b33119d3663 100644 --- a/setup.cfg +++ b/setup.cfg @@ -10,17 +10,17 @@ license = MIT [options] packages = find: install_requires = - djangoldp==3.0.12 - djangoldp-account==3.0.4 - djangoldp-circle==3.0.0 - djangoldp-community==3.0.0 - djangoldp-project==3.0.0 - djangoldp-conversation==3.0.1 - djangoldp-profile==3.0.0 - djangoldp-skill==3.0.0 - djangoldp-contact==3.0.0 - djangoldp-joboffer==3.0.0 - djangoldp-notification==3.0.0 + djangoldp~=3.1.0 + djangoldp_account~=3.1.0 + djangoldp_circle~=3.1.0 + djangoldp_community~=3.1.0 + djangoldp_project~=3.1.0 + djangoldp_conversation~=3.1.0 + djangoldp_profile~=3.1.0 + djangoldp_skill~=3.1.0 + djangoldp_contact~=3.1.0 + djangoldp_joboffer~=3.1.0 + djangoldp_notification~=3.1.0 [options.extras_require] include_package_data = True