From c0f2715774e432a6d2e90f55cf2b9de0ec36198a Mon Sep 17 00:00:00 2001
From: Benoit Alessandroni <benoit@startinblox.com>
Date: Tue, 16 Jan 2024 16:11:35 +0100
Subject: [PATCH 1/2] fix: previous

---
 djangoldp_tzcld/models.py | 24 ------------------------
 1 file changed, 24 deletions(-)

diff --git a/djangoldp_tzcld/models.py b/djangoldp_tzcld/models.py
index 8862920..066abc1 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"
@@ -961,10 +941,6 @@ class TzcldTerritorySharedNote(Model):
         auto_author = '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']
-- 
GitLab


From de189ae4de54415dd1d12debf13400c57193edb6 Mon Sep 17 00:00:00 2001
From: Benoit Alessandroni <benoit@startinblox.com>
Date: Tue, 16 Jan 2024 16:16:48 +0100
Subject: [PATCH 2/2] major: dependencies version

---
 setup.cfg | 22 +++++++++++-----------
 1 file changed, 11 insertions(+), 11 deletions(-)

diff --git a/setup.cfg b/setup.cfg
index a7c0f60..2a143cd 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
-- 
GitLab