simpledomcontrol 0.57.9__tar.gz → 0.57.11__tar.gz
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.
- {simpledomcontrol-0.57.9 → simpledomcontrol-0.57.11}/PKG-INFO +4 -4
- {simpledomcontrol-0.57.9 → simpledomcontrol-0.57.11}/pyproject.toml +2 -2
- {simpledomcontrol-0.57.9 → simpledomcontrol-0.57.11}/sdc_core/management/commands/sdc_update_links.py +9 -4
- {simpledomcontrol-0.57.9 → simpledomcontrol-0.57.11}/sdc_core/sdc_extentions/response.py +1 -1
- {simpledomcontrol-0.57.9 → simpledomcontrol-0.57.11}/sdc_core/sdc_extentions/views.py +1 -1
- {simpledomcontrol-0.57.9 → simpledomcontrol-0.57.11}/sdc_core/template_files/Assets/gulpfile.jsx +1 -1
- {simpledomcontrol-0.57.9 → simpledomcontrol-0.57.11}/sdc_core/template_files/package.json +1 -1
- {simpledomcontrol-0.57.9 → simpledomcontrol-0.57.11}/sdc_tools/Assets/src/sdc_tools/controller/sdc_list_view/sdc_list_view.js +1 -3
- {simpledomcontrol-0.57.9 → simpledomcontrol-0.57.11}/sdc_tools/Assets/tests/sdc_tools.test.js +15 -0
- {simpledomcontrol-0.57.9 → simpledomcontrol-0.57.11}/README.md +0 -0
- {simpledomcontrol-0.57.9 → simpledomcontrol-0.57.11}/sdc_core/__init__.py +0 -0
- {simpledomcontrol-0.57.9 → simpledomcontrol-0.57.11}/sdc_core/apps.py +0 -0
- {simpledomcontrol-0.57.9 → simpledomcontrol-0.57.11}/sdc_core/consumers.py +0 -0
- {simpledomcontrol-0.57.9 → simpledomcontrol-0.57.11}/sdc_core/management/__init__.py +0 -0
- {simpledomcontrol-0.57.9 → simpledomcontrol-0.57.11}/sdc_core/management/commands/__init__.py +0 -0
- {simpledomcontrol-0.57.9 → simpledomcontrol-0.57.11}/sdc_core/management/commands/_private.py +0 -0
- {simpledomcontrol-0.57.9 → simpledomcontrol-0.57.11}/sdc_core/management/commands/init_add/__init__.py +0 -0
- {simpledomcontrol-0.57.9 → simpledomcontrol-0.57.11}/sdc_core/management/commands/init_add/add_controller_manager.py +0 -0
- {simpledomcontrol-0.57.9 → simpledomcontrol-0.57.11}/sdc_core/management/commands/init_add/add_model_manager.py +0 -0
- {simpledomcontrol-0.57.9 → simpledomcontrol-0.57.11}/sdc_core/management/commands/init_add/options.py +0 -0
- {simpledomcontrol-0.57.9 → simpledomcontrol-0.57.11}/sdc_core/management/commands/init_add/sdc_core_manager.py +0 -0
- {simpledomcontrol-0.57.9 → simpledomcontrol-0.57.11}/sdc_core/management/commands/init_add/settings_manager.py +0 -0
- {simpledomcontrol-0.57.9 → simpledomcontrol-0.57.11}/sdc_core/management/commands/init_add/utils.py +0 -0
- {simpledomcontrol-0.57.9 → simpledomcontrol-0.57.11}/sdc_core/management/commands/sdc_cc.py +0 -0
- {simpledomcontrol-0.57.9 → simpledomcontrol-0.57.11}/sdc_core/management/commands/sdc_get_controller_infos.py +0 -0
- {simpledomcontrol-0.57.9 → simpledomcontrol-0.57.11}/sdc_core/management/commands/sdc_get_controller_url.py +0 -0
- {simpledomcontrol-0.57.9 → simpledomcontrol-0.57.11}/sdc_core/management/commands/sdc_get_model_infos.py +0 -0
- {simpledomcontrol-0.57.9 → simpledomcontrol-0.57.11}/sdc_core/management/commands/sdc_init.py +0 -0
- {simpledomcontrol-0.57.9 → simpledomcontrol-0.57.11}/sdc_core/management/commands/sdc_is_installed.py +0 -0
- {simpledomcontrol-0.57.9 → simpledomcontrol-0.57.11}/sdc_core/management/commands/sdc_new_model.py +0 -0
- {simpledomcontrol-0.57.9 → simpledomcontrol-0.57.11}/sdc_core/management/commands/sdc_shell_execute_script.py +0 -0
- {simpledomcontrol-0.57.9 → simpledomcontrol-0.57.11}/sdc_core/management/commands/sdc_update_url.py +0 -0
- {simpledomcontrol-0.57.9 → simpledomcontrol-0.57.11}/sdc_core/sdc_extentions/__init__.py +0 -0
- {simpledomcontrol-0.57.9 → simpledomcontrol-0.57.11}/sdc_core/sdc_extentions/forms.py +0 -0
- {simpledomcontrol-0.57.9 → simpledomcontrol-0.57.11}/sdc_core/sdc_extentions/import_manager.py +0 -0
- {simpledomcontrol-0.57.9 → simpledomcontrol-0.57.11}/sdc_core/sdc_extentions/models.py +0 -0
- {simpledomcontrol-0.57.9 → simpledomcontrol-0.57.11}/sdc_core/sdc_extentions/search.py +0 -0
- {simpledomcontrol-0.57.9 → simpledomcontrol-0.57.11}/sdc_core/signals.py +0 -0
- {simpledomcontrol-0.57.9 → simpledomcontrol-0.57.11}/sdc_core/template_files/Assets/.babelrc +0 -0
- {simpledomcontrol-0.57.9 → simpledomcontrol-0.57.11}/sdc_core/template_files/Assets/src/index.organizer.js +0 -0
- {simpledomcontrol-0.57.9 → simpledomcontrol-0.57.11}/sdc_core/template_files/Assets/src/index.style.scss +0 -0
- {simpledomcontrol-0.57.9 → simpledomcontrol-0.57.11}/sdc_core/template_files/Assets/tests/config/post-test-teardown.js +0 -0
- {simpledomcontrol-0.57.9 → simpledomcontrol-0.57.11}/sdc_core/template_files/Assets/tests/config/pre-test-setup.js +0 -0
- {simpledomcontrol-0.57.9 → simpledomcontrol-0.57.11}/sdc_core/template_files/Assets/tests/config/test-setup.js +0 -0
- {simpledomcontrol-0.57.9 → simpledomcontrol-0.57.11}/sdc_core/template_files/Assets/webpack.config/webpack.default.config.jsx +0 -0
- {simpledomcontrol-0.57.9 → simpledomcontrol-0.57.11}/sdc_core/template_files/Assets/webpack.config/webpack.development.config.jsx +0 -0
- {simpledomcontrol-0.57.9 → simpledomcontrol-0.57.11}/sdc_core/template_files/Assets/webpack.config/webpack.production.config.jsx +0 -0
- {simpledomcontrol-0.57.9 → simpledomcontrol-0.57.11}/sdc_core/template_files/asgi.py.txt +0 -0
- {simpledomcontrol-0.57.9 → simpledomcontrol-0.57.11}/sdc_core/template_files/controller/templade_view.html +0 -0
- {simpledomcontrol-0.57.9 → simpledomcontrol-0.57.11}/sdc_core/template_files/controller/template_controller.js.txt +0 -0
- {simpledomcontrol-0.57.9 → simpledomcontrol-0.57.11}/sdc_core/template_files/controller/template_css.scss +0 -0
- {simpledomcontrol-0.57.9 → simpledomcontrol-0.57.11}/sdc_core/template_files/controller/template_test.js.text +0 -0
- {simpledomcontrol-0.57.9 → simpledomcontrol-0.57.11}/sdc_core/template_files/js_test.js.txt +0 -0
- {simpledomcontrol-0.57.9 → simpledomcontrol-0.57.11}/sdc_core/template_files/models/detail.html +0 -0
- {simpledomcontrol-0.57.9 → simpledomcontrol-0.57.11}/sdc_core/template_files/models/list.html +0 -0
- {simpledomcontrol-0.57.9 → simpledomcontrol-0.57.11}/sdc_core/template_files/routing.py.txt +0 -0
- {simpledomcontrol-0.57.9 → simpledomcontrol-0.57.11}/sdc_core/template_files/sdc_urls.py.txt +0 -0
- {simpledomcontrol-0.57.9 → simpledomcontrol-0.57.11}/sdc_core/template_files/sdc_views.py.txt +0 -0
- {simpledomcontrol-0.57.9 → simpledomcontrol-0.57.11}/sdc_core/template_files/settings_extension.py.txt +0 -0
- {simpledomcontrol-0.57.9 → simpledomcontrol-0.57.11}/sdc_core/template_files/templates/base.html +0 -0
- {simpledomcontrol-0.57.9 → simpledomcontrol-0.57.11}/sdc_core/template_files/templates/index.html +0 -0
- {simpledomcontrol-0.57.9 → simpledomcontrol-0.57.11}/sdc_core/template_files/urls.py.txt +0 -0
- {simpledomcontrol-0.57.9 → simpledomcontrol-0.57.11}/sdc_tools/Assets/src/sdc_tools/controller/sdc_alert_messenger/sdc_alert_messenger.js +0 -0
- {simpledomcontrol-0.57.9 → simpledomcontrol-0.57.11}/sdc_tools/Assets/src/sdc_tools/controller/sdc_alert_messenger/sdc_alert_messenger.scss +0 -0
- {simpledomcontrol-0.57.9 → simpledomcontrol-0.57.11}/sdc_tools/Assets/src/sdc_tools/controller/sdc_auto_submit/sdc_auto_submit.js +0 -0
- {simpledomcontrol-0.57.9 → simpledomcontrol-0.57.11}/sdc_tools/Assets/src/sdc_tools/controller/sdc_detail_view/sdc_detail_view.js +0 -0
- {simpledomcontrol-0.57.9 → simpledomcontrol-0.57.11}/sdc_tools/Assets/src/sdc_tools/controller/sdc_detail_view/sdc_detail_view.scss +0 -0
- {simpledomcontrol-0.57.9 → simpledomcontrol-0.57.11}/sdc_tools/Assets/src/sdc_tools/controller/sdc_dummy/sdc_dummy.js +0 -0
- {simpledomcontrol-0.57.9 → simpledomcontrol-0.57.11}/sdc_tools/Assets/src/sdc_tools/controller/sdc_dummy/sdc_dummy.scss +0 -0
- {simpledomcontrol-0.57.9 → simpledomcontrol-0.57.11}/sdc_tools/Assets/src/sdc_tools/controller/sdc_error/sdc_error.js +0 -0
- {simpledomcontrol-0.57.9 → simpledomcontrol-0.57.11}/sdc_tools/Assets/src/sdc_tools/controller/sdc_error/sdc_error.scss +0 -0
- {simpledomcontrol-0.57.9 → simpledomcontrol-0.57.11}/sdc_tools/Assets/src/sdc_tools/controller/sdc_list_view/sdc_list_view.scss +0 -0
- {simpledomcontrol-0.57.9 → simpledomcontrol-0.57.11}/sdc_tools/Assets/src/sdc_tools/controller/sdc_model_form/sdc_model_form.js +0 -0
- {simpledomcontrol-0.57.9 → simpledomcontrol-0.57.11}/sdc_tools/Assets/src/sdc_tools/controller/sdc_model_form/sdc_model_form.scss +0 -0
- {simpledomcontrol-0.57.9 → simpledomcontrol-0.57.11}/sdc_tools/Assets/src/sdc_tools/controller/sdc_navigation_client/sdc_navigation_client.js +0 -0
- {simpledomcontrol-0.57.9 → simpledomcontrol-0.57.11}/sdc_tools/Assets/src/sdc_tools/controller/sdc_navigator/sdc_navigator.js +0 -0
- {simpledomcontrol-0.57.9 → simpledomcontrol-0.57.11}/sdc_tools/Assets/src/sdc_tools/controller/sdc_navigator/sdc_navigator.scss +0 -0
- {simpledomcontrol-0.57.9 → simpledomcontrol-0.57.11}/sdc_tools/Assets/src/sdc_tools/controller/sdc_search_view/sdc_search_view.js +0 -0
- {simpledomcontrol-0.57.9 → simpledomcontrol-0.57.11}/sdc_tools/Assets/src/sdc_tools/controller/sdc_search_view/sdc_search_view.scss +0 -0
- {simpledomcontrol-0.57.9 → simpledomcontrol-0.57.11}/sdc_tools/Assets/src/sdc_tools/controller/sdc_update_on_change/sdc_update_on_change.js +0 -0
- {simpledomcontrol-0.57.9 → simpledomcontrol-0.57.11}/sdc_tools/Assets/src/sdc_tools/sdc_tools.organizer.js +0 -0
- {simpledomcontrol-0.57.9 → simpledomcontrol-0.57.11}/sdc_tools/Assets/src/sdc_tools/sdc_tools.style.scss +0 -0
- {simpledomcontrol-0.57.9 → simpledomcontrol-0.57.11}/sdc_tools/__init__.py +0 -0
- {simpledomcontrol-0.57.9 → simpledomcontrol-0.57.11}/sdc_tools/admin.py +0 -0
- {simpledomcontrol-0.57.9 → simpledomcontrol-0.57.11}/sdc_tools/apps.py +0 -0
- {simpledomcontrol-0.57.9 → simpledomcontrol-0.57.11}/sdc_tools/migrations/__init__.py +0 -0
- {simpledomcontrol-0.57.9 → simpledomcontrol-0.57.11}/sdc_tools/models.py +0 -0
- {simpledomcontrol-0.57.9 → simpledomcontrol-0.57.11}/sdc_tools/sdc_urls.py +0 -0
- {simpledomcontrol-0.57.9 → simpledomcontrol-0.57.11}/sdc_tools/sdc_views.py +0 -0
- {simpledomcontrol-0.57.9 → simpledomcontrol-0.57.11}/sdc_tools/templates/elements/form.html +0 -0
- {simpledomcontrol-0.57.9 → simpledomcontrol-0.57.11}/sdc_tools/templates/elements/inline_form.html +0 -0
- {simpledomcontrol-0.57.9 → simpledomcontrol-0.57.11}/sdc_tools/templates/email/base.html +0 -0
- {simpledomcontrol-0.57.9 → simpledomcontrol-0.57.11}/sdc_tools/templates/sdc_tools/sdc/dummy_sdc.html +0 -0
- {simpledomcontrol-0.57.9 → simpledomcontrol-0.57.11}/sdc_tools/templates/sdc_tools/sdc/sdc_alert_messenger.html +0 -0
- {simpledomcontrol-0.57.9 → simpledomcontrol-0.57.11}/sdc_tools/templates/sdc_tools/sdc/sdc_detail_view.html +0 -0
- {simpledomcontrol-0.57.9 → simpledomcontrol-0.57.11}/sdc_tools/templates/sdc_tools/sdc/sdc_dummy.html +0 -0
- {simpledomcontrol-0.57.9 → simpledomcontrol-0.57.11}/sdc_tools/templates/sdc_tools/sdc/sdc_error.html +0 -0
- {simpledomcontrol-0.57.9 → simpledomcontrol-0.57.11}/sdc_tools/templates/sdc_tools/sdc/sdc_list_view.html +0 -0
- {simpledomcontrol-0.57.9 → simpledomcontrol-0.57.11}/sdc_tools/templates/sdc_tools/sdc/sdc_model_form.html +0 -0
- {simpledomcontrol-0.57.9 → simpledomcontrol-0.57.11}/sdc_tools/templates/sdc_tools/sdc/sdc_navigator.html +0 -0
- {simpledomcontrol-0.57.9 → simpledomcontrol-0.57.11}/sdc_tools/templates/sdc_tools/sdc/sdc_search_view.html +0 -0
- {simpledomcontrol-0.57.9 → simpledomcontrol-0.57.11}/sdc_tools/templatetags/__init__.py +0 -0
- {simpledomcontrol-0.57.9 → simpledomcontrol-0.57.11}/sdc_tools/templatetags/addclass.py +0 -0
- {simpledomcontrol-0.57.9 → simpledomcontrol-0.57.11}/sdc_tools/templatetags/indexfilter.py +0 -0
- {simpledomcontrol-0.57.9 → simpledomcontrol-0.57.11}/sdc_tools/templatetags/sdc_filter.py +0 -0
- {simpledomcontrol-0.57.9 → simpledomcontrol-0.57.11}/sdc_tools/tests.py +0 -0
- {simpledomcontrol-0.57.9 → simpledomcontrol-0.57.11}/sdc_tools/views.py +0 -0
- {simpledomcontrol-0.57.9 → simpledomcontrol-0.57.11}/sdc_user/Assets/src/sdc_user/controller/sdc_login/sdc_login.js +0 -0
- {simpledomcontrol-0.57.9 → simpledomcontrol-0.57.11}/sdc_user/Assets/src/sdc_user/controller/sdc_login/sdc_login.scss +0 -0
- {simpledomcontrol-0.57.9 → simpledomcontrol-0.57.11}/sdc_user/Assets/src/sdc_user/controller/sdc_logout/sdc_logout.js +0 -0
- {simpledomcontrol-0.57.9 → simpledomcontrol-0.57.11}/sdc_user/Assets/src/sdc_user/controller/sdc_logout/sdc_logout.scss +0 -0
- {simpledomcontrol-0.57.9 → simpledomcontrol-0.57.11}/sdc_user/Assets/src/sdc_user/controller/sdc_user_nav_btn/sdc_user_nav_btn.js +0 -0
- {simpledomcontrol-0.57.9 → simpledomcontrol-0.57.11}/sdc_user/Assets/src/sdc_user/controller/sdc_user_nav_btn/sdc_user_nav_btn.scss +0 -0
- {simpledomcontrol-0.57.9 → simpledomcontrol-0.57.11}/sdc_user/Assets/src/sdc_user/sdc_user.organizer.js +0 -0
- {simpledomcontrol-0.57.9 → simpledomcontrol-0.57.11}/sdc_user/Assets/src/sdc_user/sdc_user.style.scss +0 -0
- {simpledomcontrol-0.57.9 → simpledomcontrol-0.57.11}/sdc_user/Assets/tests/sdc_user.test.js +0 -0
- {simpledomcontrol-0.57.9 → simpledomcontrol-0.57.11}/sdc_user/__init__.py +0 -0
- {simpledomcontrol-0.57.9 → simpledomcontrol-0.57.11}/sdc_user/admin.py +0 -0
- {simpledomcontrol-0.57.9 → simpledomcontrol-0.57.11}/sdc_user/apps.py +0 -0
- {simpledomcontrol-0.57.9 → simpledomcontrol-0.57.11}/sdc_user/migrations/__init__.py +0 -0
- {simpledomcontrol-0.57.9 → simpledomcontrol-0.57.11}/sdc_user/models.py +0 -0
- {simpledomcontrol-0.57.9 → simpledomcontrol-0.57.11}/sdc_user/sdc_urls.py +0 -0
- {simpledomcontrol-0.57.9 → simpledomcontrol-0.57.11}/sdc_user/sdc_views.py +0 -0
- {simpledomcontrol-0.57.9 → simpledomcontrol-0.57.11}/sdc_user/templates/sdc_user/sdc/sdc_login.html +0 -0
- {simpledomcontrol-0.57.9 → simpledomcontrol-0.57.11}/sdc_user/templates/sdc_user/sdc/sdc_logout.html +0 -0
- {simpledomcontrol-0.57.9 → simpledomcontrol-0.57.11}/sdc_user/templates/sdc_user/sdc/sdc_user_nav_btn.html +0 -0
- {simpledomcontrol-0.57.9 → simpledomcontrol-0.57.11}/sdc_user/tests.py +0 -0
- {simpledomcontrol-0.57.9 → simpledomcontrol-0.57.11}/sdc_user/views.py +0 -0
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
Metadata-Version: 2.
|
|
1
|
+
Metadata-Version: 2.3
|
|
2
2
|
Name: SimpleDomControl
|
|
3
|
-
Version: 0.57.
|
|
3
|
+
Version: 0.57.11
|
|
4
4
|
Summary: Simple DOM control -> a django MVC framework
|
|
5
|
-
Home-page: https://github.com/StarmanMartin/sdc
|
|
6
5
|
License: Apache-2.0
|
|
7
6
|
Keywords: django,MVC
|
|
8
7
|
Author: Martin Starman
|
|
@@ -23,9 +22,10 @@ Requires-Dist: channels (>=4.1.0,<5.0.0)
|
|
|
23
22
|
Requires-Dist: channels-redis (>=4.2.0,<5.0.0)
|
|
24
23
|
Requires-Dist: click (>=8.1.7,<9.0.0)
|
|
25
24
|
Requires-Dist: daphne (>=4.1.2,<5.0.0)
|
|
26
|
-
Requires-Dist: django (>=5.1.
|
|
25
|
+
Requires-Dist: django (>=5.1.8,<6.0.0)
|
|
27
26
|
Requires-Dist: psycopg2-binary (>=2.9.9,<3.0.0)
|
|
28
27
|
Requires-Dist: regex (>=2024.7.24,<2025.0.0)
|
|
28
|
+
Project-URL: Homepage, https://github.com/StarmanMartin/sdc
|
|
29
29
|
Description-Content-Type: text/markdown
|
|
30
30
|
|
|
31
31
|
# Simple Dom Control (SDC)
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[tool.poetry]
|
|
2
2
|
name = "SimpleDomControl"
|
|
3
|
-
version = "0.57.
|
|
3
|
+
version = "0.57.11"
|
|
4
4
|
authors = [ "Martin Starman <private@martin-starman.com>", ]
|
|
5
5
|
description = "Simple DOM control -> a django MVC framework"
|
|
6
6
|
readme = "README.md"
|
|
@@ -22,7 +22,7 @@ python = "^3.10"
|
|
|
22
22
|
daphne = "^4.1.2"
|
|
23
23
|
channels = "^4.1.0"
|
|
24
24
|
channels-redis = "^4.2.0"
|
|
25
|
-
django = "^5.1.
|
|
25
|
+
django = "^5.1.8"
|
|
26
26
|
psycopg2-binary = "^2.9.9"
|
|
27
27
|
attrs = "^24.2.0"
|
|
28
28
|
regex = "^2024.7.24"
|
|
@@ -18,7 +18,12 @@ def relative_symlink(src, dst):
|
|
|
18
18
|
Src = os.path.relpath(src, dir)
|
|
19
19
|
Dst = os.path.join(dir, os.path.basename(src))
|
|
20
20
|
os.makedirs(dir, exist_ok=True)
|
|
21
|
-
|
|
21
|
+
try:
|
|
22
|
+
return os.symlink(Src, Dst)
|
|
23
|
+
except OSError:
|
|
24
|
+
raise OSError(
|
|
25
|
+
"If you work on Windows you neet to enable developer mode through the Windows Settings → Update & Security → For Developers → Developer Mode.")
|
|
26
|
+
|
|
22
27
|
|
|
23
28
|
def make_app_links(app_name):
|
|
24
29
|
app_root = get_app_path(app_name)
|
|
@@ -28,9 +33,9 @@ def make_app_links(app_name):
|
|
|
28
33
|
os.remove(sdc_controller_link_dir)
|
|
29
34
|
relative_symlink(sdc_controller_dir, sdc_controller_link_dir)
|
|
30
35
|
|
|
31
|
-
sdc_test_link_dir = os.path.join(options.PROJECT_ROOT, "Assets/tests")
|
|
32
|
-
sdc_test_file_dir = os.path.join(app_root, "Assets/tests")
|
|
33
|
-
for file in
|
|
36
|
+
sdc_test_link_dir = os.path.join(options.PROJECT_ROOT, "Assets/tests") # , f"{app_name}.test.js")
|
|
37
|
+
sdc_test_file_dir = os.path.join(app_root, "Assets/tests") # , f"{app_name}.test.js")
|
|
38
|
+
for file in os.listdir(sdc_test_file_dir):
|
|
34
39
|
if file.endswith('.test.js'):
|
|
35
40
|
relative_symlink(os.path.join(sdc_test_file_dir, file), os.path.join(sdc_test_link_dir, file))
|
|
36
41
|
|
|
@@ -51,7 +51,7 @@ def send_redirect(controller: str = None, back: bool = False, link_data: dict =
|
|
|
51
51
|
the rules of the sdc_tools.sdc_navigator. Following you see some examples:
|
|
52
52
|
|
|
53
53
|
- /view-a/view-b -> view-b as subview of view-a
|
|
54
|
-
-
|
|
54
|
+
- */view-b -> keeps first view as it is and view-b as subview
|
|
55
55
|
- ../view-b -> replaces current latest subview by view-b
|
|
56
56
|
- ./view-b -> adds view-b as next latest subview to the current path
|
|
57
57
|
|
|
@@ -126,7 +126,7 @@ class SDCView(View):
|
|
|
126
126
|
handler = getattr(
|
|
127
127
|
self, request.POST.get('_sdc_func_name'), self.http_method_not_allowed
|
|
128
128
|
)
|
|
129
|
-
res = handler(request, **json.loads(request.POST.get('data')))
|
|
129
|
+
res = handler(request, **json.loads(request.POST.get('data', '{}')))
|
|
130
130
|
if isinstance(res, HttpResponse):
|
|
131
131
|
return res
|
|
132
132
|
return send_success(_return_data=res)
|
{simpledomcontrol-0.57.9 → simpledomcontrol-0.57.11}/sdc_core/template_files/Assets/gulpfile.jsx
RENAMED
|
@@ -43,7 +43,7 @@ exports.develop = series(function (done) {
|
|
|
43
43
|
process.env.NODE_ENV = 'development';
|
|
44
44
|
process.env.BABEL_ENV = 'development';
|
|
45
45
|
done();
|
|
46
|
-
}, sdc_default_build_factory(webpack_javascript), parallel(
|
|
46
|
+
}, copy_statics, sdc_default_build_factory(webpack_javascript), parallel(
|
|
47
47
|
sdc_watch_scss,
|
|
48
48
|
sdc_watch_webpack_factory(webpack_javascript)
|
|
49
49
|
));
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import {AbstractSDC, app} from 'sdc_client';
|
|
2
2
|
|
|
3
|
-
|
|
4
3
|
export class SdcListViewController extends AbstractSDC {
|
|
5
4
|
|
|
6
5
|
constructor() {
|
|
@@ -95,8 +94,7 @@ export class SdcListViewController extends AbstractSDC {
|
|
|
95
94
|
const $div = this.model.listView(this.search_values, () => {
|
|
96
95
|
const elems = $('.tooltip.fade.show');
|
|
97
96
|
elems.remove();
|
|
98
|
-
this.find('.list-container').
|
|
99
|
-
this.refresh();
|
|
97
|
+
app.reconcile(this, $div, this.find('.list-container .container-fluid').first());
|
|
100
98
|
});
|
|
101
99
|
}
|
|
102
100
|
}
|
{simpledomcontrol-0.57.9 → simpledomcontrol-0.57.11}/sdc_tools/Assets/tests/sdc_tools.test.js
RENAMED
|
@@ -136,6 +136,21 @@ describe('SdcNavigator', () => {
|
|
|
136
136
|
|
|
137
137
|
});
|
|
138
138
|
|
|
139
|
+
describe('Sdc details', () => {
|
|
140
|
+
let controller;
|
|
141
|
+
|
|
142
|
+
beforeEach(async () => {
|
|
143
|
+
controller = await test_utils.controllerFromTestHtml(<div>
|
|
144
|
+
<sdc-detail-view data-model="books" data-pk={1}></sdc-detail-view>
|
|
145
|
+
</div>);
|
|
146
|
+
});
|
|
147
|
+
|
|
148
|
+
test('test_details', () => {
|
|
149
|
+
console.log(controller);
|
|
150
|
+
expect(1).toBe(1);
|
|
151
|
+
});
|
|
152
|
+
});
|
|
153
|
+
|
|
139
154
|
describe('SdcDummy', () => {
|
|
140
155
|
let controller;
|
|
141
156
|
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{simpledomcontrol-0.57.9 → simpledomcontrol-0.57.11}/sdc_core/management/commands/__init__.py
RENAMED
|
File without changes
|
{simpledomcontrol-0.57.9 → simpledomcontrol-0.57.11}/sdc_core/management/commands/_private.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{simpledomcontrol-0.57.9 → simpledomcontrol-0.57.11}/sdc_core/management/commands/init_add/utils.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{simpledomcontrol-0.57.9 → simpledomcontrol-0.57.11}/sdc_core/management/commands/sdc_init.py
RENAMED
|
File without changes
|
|
File without changes
|
{simpledomcontrol-0.57.9 → simpledomcontrol-0.57.11}/sdc_core/management/commands/sdc_new_model.py
RENAMED
|
File without changes
|
|
File without changes
|
{simpledomcontrol-0.57.9 → simpledomcontrol-0.57.11}/sdc_core/management/commands/sdc_update_url.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{simpledomcontrol-0.57.9 → simpledomcontrol-0.57.11}/sdc_core/sdc_extentions/import_manager.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{simpledomcontrol-0.57.9 → simpledomcontrol-0.57.11}/sdc_core/template_files/Assets/.babelrc
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{simpledomcontrol-0.57.9 → simpledomcontrol-0.57.11}/sdc_core/template_files/models/detail.html
RENAMED
|
File without changes
|
{simpledomcontrol-0.57.9 → simpledomcontrol-0.57.11}/sdc_core/template_files/models/list.html
RENAMED
|
File without changes
|
|
File without changes
|
{simpledomcontrol-0.57.9 → simpledomcontrol-0.57.11}/sdc_core/template_files/sdc_urls.py.txt
RENAMED
|
File without changes
|
{simpledomcontrol-0.57.9 → simpledomcontrol-0.57.11}/sdc_core/template_files/sdc_views.py.txt
RENAMED
|
File without changes
|
|
File without changes
|
{simpledomcontrol-0.57.9 → simpledomcontrol-0.57.11}/sdc_core/template_files/templates/base.html
RENAMED
|
File without changes
|
{simpledomcontrol-0.57.9 → simpledomcontrol-0.57.11}/sdc_core/template_files/templates/index.html
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{simpledomcontrol-0.57.9 → simpledomcontrol-0.57.11}/sdc_tools/templates/elements/inline_form.html
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{simpledomcontrol-0.57.9 → simpledomcontrol-0.57.11}/sdc_user/templates/sdc_user/sdc/sdc_login.html
RENAMED
|
File without changes
|
{simpledomcontrol-0.57.9 → simpledomcontrol-0.57.11}/sdc_user/templates/sdc_user/sdc/sdc_logout.html
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|