add link to psutil on main page
This commit is contained in:
+1
-1
@@ -173,7 +173,7 @@ urlpatterns = [
|
||||
path("about/", views.about_view, name="about"),
|
||||
# path('select2/', include('select2.urls')),
|
||||
*HTMXAutoComplete.url_dispatcher('ac'),
|
||||
path('psutil/', psutil_urlpatterns()),
|
||||
path('psutil/', psutil_urlpatterns(), name='psutil'),
|
||||
|
||||
]
|
||||
|
||||
|
||||
@@ -81,4 +81,12 @@
|
||||
<a href="{% url 'rcr:radiology_index_view'%}">RCR platform migration</a>
|
||||
{% endif %}
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
{% if request.user.is_superuser %}
|
||||
<a href="{% url 'django_psutil_dash:dashboard' %}">psutil</a>
|
||||
|
||||
{% endif %}
|
||||
|
||||
{% endblock %}
|
||||
|
||||
Reference in New Issue
Block a user