arthexis 0.1.9__py3-none-any.whl → 0.1.11__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.9.dist-info → arthexis-0.1.11.dist-info}/METADATA +76 -23
- arthexis-0.1.11.dist-info/RECORD +99 -0
- config/context_processors.py +1 -0
- config/settings.py +245 -26
- config/urls.py +11 -4
- core/admin.py +585 -57
- core/apps.py +29 -1
- core/auto_upgrade.py +57 -0
- core/backends.py +115 -3
- core/environment.py +23 -5
- core/fields.py +93 -0
- core/mailer.py +3 -1
- core/models.py +482 -38
- core/reference_utils.py +108 -0
- core/sigil_builder.py +23 -5
- core/sigil_resolver.py +35 -4
- core/system.py +400 -140
- core/tasks.py +151 -8
- core/temp_passwords.py +181 -0
- core/test_system_info.py +97 -1
- core/tests.py +393 -15
- core/user_data.py +154 -16
- core/views.py +499 -20
- nodes/admin.py +149 -6
- nodes/backends.py +125 -18
- nodes/dns.py +203 -0
- nodes/models.py +498 -9
- nodes/tests.py +682 -3
- nodes/views.py +154 -7
- ocpp/admin.py +63 -3
- ocpp/consumers.py +255 -41
- ocpp/evcs.py +6 -3
- ocpp/models.py +52 -7
- ocpp/reference_utils.py +42 -0
- ocpp/simulator.py +62 -5
- ocpp/store.py +30 -0
- ocpp/test_rfid.py +169 -7
- ocpp/tests.py +414 -8
- ocpp/views.py +109 -76
- pages/admin.py +9 -1
- pages/context_processors.py +24 -4
- pages/defaults.py +14 -0
- pages/forms.py +131 -0
- pages/models.py +53 -14
- pages/tests.py +450 -14
- pages/urls.py +4 -0
- pages/views.py +419 -110
- arthexis-0.1.9.dist-info/RECORD +0 -92
- {arthexis-0.1.9.dist-info → arthexis-0.1.11.dist-info}/WHEEL +0 -0
- {arthexis-0.1.9.dist-info → arthexis-0.1.11.dist-info}/licenses/LICENSE +0 -0
- {arthexis-0.1.9.dist-info → arthexis-0.1.11.dist-info}/top_level.txt +0 -0
config/urls.py
CHANGED
|
@@ -12,6 +12,7 @@ from pathlib import Path
|
|
|
12
12
|
from django.apps import apps
|
|
13
13
|
from django.conf import settings
|
|
14
14
|
from django.conf.urls.static import static
|
|
15
|
+
from django.contrib.staticfiles.urls import staticfiles_urlpatterns
|
|
15
16
|
from django.contrib import admin
|
|
16
17
|
from django.urls import include, path
|
|
17
18
|
import teams.admin # noqa: F401
|
|
@@ -25,7 +26,6 @@ from core.admindocs import (
|
|
|
25
26
|
ModelGraphIndexView,
|
|
26
27
|
OrderedModelIndexView,
|
|
27
28
|
)
|
|
28
|
-
from man import views as man_views
|
|
29
29
|
from pages import views as pages_views
|
|
30
30
|
|
|
31
31
|
admin.site.site_header = _("Constellation")
|
|
@@ -72,17 +72,17 @@ def autodiscovered_urlpatterns():
|
|
|
72
72
|
urlpatterns = [
|
|
73
73
|
path(
|
|
74
74
|
"admin/doc/manuals/",
|
|
75
|
-
|
|
75
|
+
pages_views.admin_manual_list,
|
|
76
76
|
name="django-admindocs-manuals",
|
|
77
77
|
),
|
|
78
78
|
path(
|
|
79
79
|
"admin/doc/manuals/<slug:slug>/",
|
|
80
|
-
|
|
80
|
+
pages_views.admin_manual_detail,
|
|
81
81
|
name="django-admindocs-manual-detail",
|
|
82
82
|
),
|
|
83
83
|
path(
|
|
84
84
|
"admin/doc/manuals/<slug:slug>/pdf/",
|
|
85
|
-
|
|
85
|
+
pages_views.manual_pdf,
|
|
86
86
|
name="django-admindocs-manual-pdf",
|
|
87
87
|
),
|
|
88
88
|
path(
|
|
@@ -118,11 +118,17 @@ urlpatterns = [
|
|
|
118
118
|
admin.site.admin_view(pages_views.admin_model_graph),
|
|
119
119
|
name="admin-model-graph",
|
|
120
120
|
),
|
|
121
|
+
path("version/", core_views.version_info, name="version-info"),
|
|
121
122
|
path(
|
|
122
123
|
"admin/core/releases/<int:pk>/<str:action>/",
|
|
123
124
|
core_views.release_progress,
|
|
124
125
|
name="release-progress",
|
|
125
126
|
),
|
|
127
|
+
path(
|
|
128
|
+
"admin/core/todos/<int:pk>/focus/",
|
|
129
|
+
core_views.todo_focus,
|
|
130
|
+
name="todo-focus",
|
|
131
|
+
),
|
|
126
132
|
path(
|
|
127
133
|
"admin/core/todos/<int:pk>/done/",
|
|
128
134
|
core_views.todo_done,
|
|
@@ -156,4 +162,5 @@ if settings.DEBUG:
|
|
|
156
162
|
)
|
|
157
163
|
] + urlpatterns
|
|
158
164
|
|
|
165
|
+
urlpatterns += staticfiles_urlpatterns()
|
|
159
166
|
urlpatterns += static(settings.MEDIA_URL, document_root=settings.MEDIA_ROOT)
|