From 14b362442fccefc743029b96683bb039e6e96e65 Mon Sep 17 00:00:00 2001 From: SDE Date: Sat, 2 Dec 2023 15:02:39 +0300 Subject: [PATCH 1/3] 0.8.18 change pillow version for ckeditor --- requirements.pip | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements.pip b/requirements.pip index 8ec26ad..abb2b5c 100644 --- a/requirements.pip +++ b/requirements.pip @@ -2,7 +2,7 @@ Django==4.2.2 django-ckeditor==6.5.1 psycopg2-binary==2.9.6 requests -Pillow +Pillow==9.5.0 django-modeltranslation==0.18.10 overpass geopy From 51d075f799953d22c5e03183171e799bcd37c3b4 Mon Sep 17 00:00:00 2001 From: SDE Date: Sat, 2 Dec 2023 15:10:17 +0300 Subject: [PATCH 2/3] 0.8.18 enable for subscribe in admin --- SubscribesApp/admin.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/SubscribesApp/admin.py b/SubscribesApp/admin.py index b1f94e2..3e7eaf6 100644 --- a/SubscribesApp/admin.py +++ b/SubscribesApp/admin.py @@ -6,7 +6,7 @@ class Admin_Subscribe(Admin_Trans_BaseModel): fieldsets = ( (None, { 'classes': ['wide'], - 'fields': ('name', + 'fields': ('name', 'enable', ('price'), 'options', 'period_name', 'period', @@ -37,7 +37,8 @@ class Admin_SubscribeOption(Admin_Trans_BaseModel): (None, { 'classes': ['wide'], 'fields': ('name', - 'order' + 'order', + 'enable' ) }), ) From c60c545031e5d46a8e66b2b8e9f3b04b292b0259 Mon Sep 17 00:00:00 2001 From: SDE Date: Sat, 2 Dec 2023 15:12:23 +0300 Subject: [PATCH 3/3] 0.8.19 enable for subscribe in admin --- SubscribesApp/admin.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/SubscribesApp/admin.py b/SubscribesApp/admin.py index 3e7eaf6..c11f6c8 100644 --- a/SubscribesApp/admin.py +++ b/SubscribesApp/admin.py @@ -18,12 +18,13 @@ class Admin_Subscribe(Admin_Trans_BaseModel): list_display = [ 'id', - 'name', 'price', + 'name', 'enable', 'price', 'period_name', 'period', 'order', 'modifiedDT', 'createDT' ] list_display_links = ['id'] + list_editable = ['enable'] list_filter = ['modifiedDT', 'createDT'] search_fields = ['name', 'period_name'] @@ -44,10 +45,11 @@ class Admin_SubscribeOption(Admin_Trans_BaseModel): ) list_display = [ - 'id', + 'id', 'enable', 'name', 'order', 'modifiedDT', 'createDT' ] + list_editable = ['enable'] list_display_links = ['id']