django-smartbase-admin 1.0.34__py3-none-any.whl → 1.0.35__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- django_smartbase_admin/integration/django_cms.py +7 -0
- {django_smartbase_admin-1.0.34.dist-info → django_smartbase_admin-1.0.35.dist-info}/METADATA +1 -1
- {django_smartbase_admin-1.0.34.dist-info → django_smartbase_admin-1.0.35.dist-info}/RECORD +5 -5
- {django_smartbase_admin-1.0.34.dist-info → django_smartbase_admin-1.0.35.dist-info}/LICENSE.md +0 -0
- {django_smartbase_admin-1.0.34.dist-info → django_smartbase_admin-1.0.35.dist-info}/WHEEL +0 -0
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
from typing import Any
|
|
2
|
+
|
|
1
3
|
from django_smartbase_admin.admin.site import sb_admin_site
|
|
2
4
|
|
|
3
5
|
from django_smartbase_admin.admin.admin_base import SBAdmin
|
|
@@ -34,3 +36,8 @@ class DjangoCMSPluginSBAdmin(SBAdmin):
|
|
|
34
36
|
# response_add from CMSPluginBase
|
|
35
37
|
self.object_successfully_changed = True
|
|
36
38
|
return self.render_close_frame(request, obj)
|
|
39
|
+
|
|
40
|
+
def get_change_view_context(self, request, object_id) -> dict | dict[str, Any]:
|
|
41
|
+
return {
|
|
42
|
+
"show_back_button": True,
|
|
43
|
+
}
|
|
@@ -25,7 +25,7 @@ django_smartbase_admin/engine/menu_item.py,sha256=HP5EwjxBYygAg72RsgQyde62DI9CDg
|
|
|
25
25
|
django_smartbase_admin/engine/modal_view.py,sha256=heo9r-RaRm2MuGtPd_fhWM2jRmxtctM-L59YZQOoOvs,2308
|
|
26
26
|
django_smartbase_admin/engine/request.py,sha256=jxYpsepc0SDKUFQFoCXTGLpbTP7eroJEWHO-lcRM5ec,2676
|
|
27
27
|
django_smartbase_admin/integration/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
28
|
-
django_smartbase_admin/integration/django_cms.py,sha256=
|
|
28
|
+
django_smartbase_admin/integration/django_cms.py,sha256=z_3g5sH3MUuzxm_eW63SPukqyicUGiFW0IvoG0qY3h8,1432
|
|
29
29
|
django_smartbase_admin/locale/sk/LC_MESSAGES/django.mo,sha256=kZ8PxgEpqxP0b6b4T8vepKnD3Y-WWEbO5ix6Y_t2qVI,17027
|
|
30
30
|
django_smartbase_admin/locale/sk/LC_MESSAGES/django.po,sha256=tsT1AHp82nwzPRuEA2gPfh1E3DwrUe7NWlcZpzFEIeo,19079
|
|
31
31
|
django_smartbase_admin/makemessages.py,sha256=2sMMutEHGfJqNEuFtLrbCw8YjFKNuRHJR_team1kp0Y,381
|
|
@@ -715,7 +715,7 @@ django_smartbase_admin/views/global_filter_view.py,sha256=eYo1moJGyi7jc2cPDA5ZBi
|
|
|
715
715
|
django_smartbase_admin/views/media_view.py,sha256=5BLWXuzynF7nM34t-mf2BQSRN5ojY8HxpLIqt7Jiq9g,292
|
|
716
716
|
django_smartbase_admin/views/translations_view.py,sha256=hktmkJIZ0EJxgnzjHLIoRDY0ckFa5wkbaoFZg32UWYw,20441
|
|
717
717
|
django_smartbase_admin/views/user_config_view.py,sha256=hUSmwxgGXJog7vhiD-zGpm6smo31sLNzW2VoXapHIjc,1865
|
|
718
|
-
django_smartbase_admin-1.0.
|
|
719
|
-
django_smartbase_admin-1.0.
|
|
720
|
-
django_smartbase_admin-1.0.
|
|
721
|
-
django_smartbase_admin-1.0.
|
|
718
|
+
django_smartbase_admin-1.0.35.dist-info/LICENSE.md,sha256=okRGMBOYvyhprt2eTpX_QXqpzC0MODF-U7zX-4fKPjQ,1078
|
|
719
|
+
django_smartbase_admin-1.0.35.dist-info/METADATA,sha256=5DRA-Ffw5B6GNUiV1lS0wAVMEHi_pX3MeMQ5VKCNQoM,6573
|
|
720
|
+
django_smartbase_admin-1.0.35.dist-info/WHEEL,sha256=Nq82e9rUAnEjt98J6MlVmMCZb-t9cYE2Ir1kpBmnWfs,88
|
|
721
|
+
django_smartbase_admin-1.0.35.dist-info/RECORD,,
|
{django_smartbase_admin-1.0.34.dist-info → django_smartbase_admin-1.0.35.dist-info}/LICENSE.md
RENAMED
|
File without changes
|
|
File without changes
|