arthexis 0.1.8__py3-none-any.whl → 0.1.10__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.
Potentially problematic release.
This version of arthexis might be problematic. Click here for more details.
- {arthexis-0.1.8.dist-info → arthexis-0.1.10.dist-info}/METADATA +87 -6
- arthexis-0.1.10.dist-info/RECORD +95 -0
- arthexis-0.1.10.dist-info/licenses/LICENSE +674 -0
- config/__init__.py +0 -1
- config/auth_app.py +0 -1
- config/celery.py +1 -2
- config/context_processors.py +1 -1
- config/offline.py +2 -0
- config/settings.py +352 -37
- config/urls.py +71 -6
- core/admin.py +1601 -200
- core/admin_history.py +50 -0
- core/admindocs.py +108 -1
- core/apps.py +161 -3
- core/auto_upgrade.py +57 -0
- core/backends.py +123 -7
- core/entity.py +62 -48
- core/fields.py +98 -0
- core/github_helper.py +25 -0
- core/github_issues.py +172 -0
- core/lcd_screen.py +1 -0
- core/liveupdate.py +25 -0
- core/log_paths.py +100 -0
- core/mailer.py +83 -0
- core/middleware.py +57 -0
- core/models.py +1279 -267
- core/notifications.py +11 -1
- core/public_wifi.py +227 -0
- core/reference_utils.py +97 -0
- core/release.py +27 -20
- core/sigil_builder.py +144 -0
- core/sigil_context.py +20 -0
- core/sigil_resolver.py +284 -0
- core/system.py +162 -29
- core/tasks.py +269 -27
- core/test_system_info.py +59 -1
- core/tests.py +644 -73
- core/tests_liveupdate.py +17 -0
- core/urls.py +2 -2
- core/user_data.py +425 -168
- core/views.py +627 -59
- core/widgets.py +51 -0
- core/workgroup_urls.py +7 -3
- core/workgroup_views.py +43 -6
- nodes/actions.py +0 -2
- nodes/admin.py +168 -285
- nodes/apps.py +9 -15
- nodes/backends.py +145 -0
- nodes/lcd.py +24 -10
- nodes/models.py +579 -179
- nodes/tasks.py +1 -5
- nodes/tests.py +894 -130
- nodes/utils.py +13 -2
- nodes/views.py +204 -28
- ocpp/admin.py +212 -63
- ocpp/apps.py +1 -1
- ocpp/consumers.py +642 -68
- ocpp/evcs.py +30 -10
- ocpp/models.py +452 -70
- ocpp/simulator.py +75 -11
- ocpp/store.py +288 -30
- ocpp/tasks.py +11 -7
- ocpp/test_export_import.py +8 -7
- ocpp/test_rfid.py +211 -16
- ocpp/tests.py +1576 -137
- ocpp/transactions_io.py +68 -22
- ocpp/urls.py +35 -2
- ocpp/views.py +701 -123
- pages/admin.py +173 -13
- pages/checks.py +0 -1
- pages/context_processors.py +39 -6
- pages/forms.py +131 -0
- pages/middleware.py +153 -0
- pages/models.py +37 -9
- pages/tests.py +1182 -42
- pages/urls.py +4 -0
- pages/utils.py +0 -1
- pages/views.py +844 -51
- arthexis-0.1.8.dist-info/RECORD +0 -80
- arthexis-0.1.8.dist-info/licenses/LICENSE +0 -21
- config/workgroup_app.py +0 -7
- core/checks.py +0 -29
- {arthexis-0.1.8.dist-info → arthexis-0.1.10.dist-info}/WHEEL +0 -0
- {arthexis-0.1.8.dist-info → arthexis-0.1.10.dist-info}/top_level.txt +0 -0
config/urls.py
CHANGED
|
@@ -13,15 +13,21 @@ from django.apps import apps
|
|
|
13
13
|
from django.conf import settings
|
|
14
14
|
from django.conf.urls.static import static
|
|
15
15
|
from django.contrib import admin
|
|
16
|
-
from django.contrib.admin import autodiscover
|
|
17
16
|
from django.urls import include, path
|
|
17
|
+
import teams.admin # noqa: F401
|
|
18
18
|
from django.views.decorators.csrf import csrf_exempt
|
|
19
|
+
from django.views.generic import RedirectView
|
|
19
20
|
from django.views.i18n import set_language
|
|
20
21
|
from django.utils.translation import gettext_lazy as _
|
|
21
22
|
from core import views as core_views
|
|
22
|
-
from core.admindocs import
|
|
23
|
+
from core.admindocs import (
|
|
24
|
+
CommandsView,
|
|
25
|
+
ModelGraphIndexView,
|
|
26
|
+
OrderedModelIndexView,
|
|
27
|
+
)
|
|
28
|
+
from man import views as man_views
|
|
29
|
+
from pages import views as pages_views
|
|
23
30
|
|
|
24
|
-
autodiscover()
|
|
25
31
|
admin.site.site_header = _("Constellation")
|
|
26
32
|
admin.site.site_title = _("Constellation")
|
|
27
33
|
|
|
@@ -64,17 +70,75 @@ def autodiscovered_urlpatterns():
|
|
|
64
70
|
|
|
65
71
|
|
|
66
72
|
urlpatterns = [
|
|
73
|
+
path(
|
|
74
|
+
"admin/doc/manuals/",
|
|
75
|
+
man_views.admin_manual_list,
|
|
76
|
+
name="django-admindocs-manuals",
|
|
77
|
+
),
|
|
78
|
+
path(
|
|
79
|
+
"admin/doc/manuals/<slug:slug>/",
|
|
80
|
+
man_views.admin_manual_detail,
|
|
81
|
+
name="django-admindocs-manual-detail",
|
|
82
|
+
),
|
|
83
|
+
path(
|
|
84
|
+
"admin/doc/manuals/<slug:slug>/pdf/",
|
|
85
|
+
man_views.manual_pdf,
|
|
86
|
+
name="django-admindocs-manual-pdf",
|
|
87
|
+
),
|
|
67
88
|
path(
|
|
68
89
|
"admin/doc/commands/",
|
|
69
90
|
CommandsView.as_view(),
|
|
70
91
|
name="django-admindocs-commands",
|
|
71
92
|
),
|
|
72
|
-
path(
|
|
93
|
+
path(
|
|
94
|
+
"admin/doc/commands/",
|
|
95
|
+
RedirectView.as_view(pattern_name="django-admindocs-commands"),
|
|
96
|
+
),
|
|
97
|
+
path(
|
|
98
|
+
"admin/doc/model-graphs/",
|
|
99
|
+
ModelGraphIndexView.as_view(),
|
|
100
|
+
name="django-admindocs-model-graphs",
|
|
101
|
+
),
|
|
102
|
+
path(
|
|
103
|
+
"admindocs/model-graphs/",
|
|
104
|
+
RedirectView.as_view(pattern_name="django-admindocs-model-graphs"),
|
|
105
|
+
),
|
|
106
|
+
path(
|
|
107
|
+
"admindocs/models/",
|
|
108
|
+
OrderedModelIndexView.as_view(),
|
|
109
|
+
name="django-admindocs-models-index",
|
|
110
|
+
),
|
|
111
|
+
path("admindocs/", include("django.contrib.admindocs.urls")),
|
|
112
|
+
path(
|
|
113
|
+
"admin/doc/",
|
|
114
|
+
RedirectView.as_view(pattern_name="django-admindocs-docroot"),
|
|
115
|
+
),
|
|
116
|
+
path(
|
|
117
|
+
"admin/model-graph/<str:app_label>/",
|
|
118
|
+
admin.site.admin_view(pages_views.admin_model_graph),
|
|
119
|
+
name="admin-model-graph",
|
|
120
|
+
),
|
|
121
|
+
path("version/", core_views.version_info, name="version-info"),
|
|
73
122
|
path(
|
|
74
123
|
"admin/core/releases/<int:pk>/<str:action>/",
|
|
75
124
|
core_views.release_progress,
|
|
76
125
|
name="release-progress",
|
|
77
126
|
),
|
|
127
|
+
path(
|
|
128
|
+
"admin/core/todos/<int:pk>/focus/",
|
|
129
|
+
core_views.todo_focus,
|
|
130
|
+
name="todo-focus",
|
|
131
|
+
),
|
|
132
|
+
path(
|
|
133
|
+
"admin/core/todos/<int:pk>/done/",
|
|
134
|
+
core_views.todo_done,
|
|
135
|
+
name="todo-done",
|
|
136
|
+
),
|
|
137
|
+
path(
|
|
138
|
+
"admin/core/odoo-products/",
|
|
139
|
+
core_views.odoo_products,
|
|
140
|
+
name="odoo-products",
|
|
141
|
+
),
|
|
78
142
|
path("admin/", admin.site.urls),
|
|
79
143
|
path("i18n/setlang/", csrf_exempt(set_language), name="set_language"),
|
|
80
144
|
path("api/", include("core.workgroup_urls")),
|
|
@@ -92,9 +156,10 @@ if settings.DEBUG:
|
|
|
92
156
|
urlpatterns = [
|
|
93
157
|
path(
|
|
94
158
|
"__debug__/",
|
|
95
|
-
include(
|
|
159
|
+
include(
|
|
160
|
+
("debug_toolbar.urls", "debug_toolbar"), namespace="debug_toolbar"
|
|
161
|
+
),
|
|
96
162
|
)
|
|
97
163
|
] + urlpatterns
|
|
98
164
|
|
|
99
165
|
urlpatterns += static(settings.MEDIA_URL, document_root=settings.MEDIA_ROOT)
|
|
100
|
-
|