aboutsummaryrefslogtreecommitdiffstats
path: root/pydis_site/apps/staff/urls.py
diff options
context:
space:
mode:
authorGravatar Sebastiaan Zeeff <[email protected]>2019-08-22 15:44:06 +0200
committerGravatar Sebastiaan Zeeff <[email protected]>2019-08-23 15:40:52 +0200
commit8da376b0ebff72db9f72b7026b6f2fef4dff4f13 (patch)
treec0ac005706e4976d810ef8dbac8187a43f63bcca /pydis_site/apps/staff/urls.py
parentAdding message display to frontend (diff)
Making the deleted-messages-frontend functional with changes, including:
- Adding support for embeds to both the template and the css; - Adding Discord fonts to create a Discord-realistic rendering; - Adding Discord color int to html hex filter for use in templates; - Removing unnecessary int -> hex property from role model (see previous point); - Adding support to compute timestamp from snowflake int in the message model; - Forcing the order of deleted messages list view to snowflake `id` to guarantee chronological order.
Diffstat (limited to 'pydis_site/apps/staff/urls.py')
-rw-r--r--pydis_site/apps/staff/urls.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/pydis_site/apps/staff/urls.py b/pydis_site/apps/staff/urls.py
index 95b3caf3..a564d516 100644
--- a/pydis_site/apps/staff/urls.py
+++ b/pydis_site/apps/staff/urls.py
@@ -1,12 +1,10 @@
from django.conf import settings
from django.conf.urls.static import static
-from django.contrib import admin
-from django.urls import include, path
+from django.urls import path
from .viewsets import LogView
app_name = 'staff'
urlpatterns = [
path('bot/logs/<int:pk>/', LogView.as_view(), name="logs"),
- path('admin/', admin.site.urls),
] + static(settings.MEDIA_URL, document_root=settings.MEDIA_ROOT)