message/tmessage/urls.py

16 lines
462 B
Python
Raw Normal View History

2024-12-22 00:08:08 -05:00
from django.contrib import admin
2024-12-23 22:38:49 -05:00
from django.urls import include, path
2024-12-22 00:08:08 -05:00
2024-12-24 10:22:37 -05:00
from .views import api_messages, auth, index, message, messages, profile
2024-12-22 00:08:08 -05:00
urlpatterns = [
path("", index),
path("auth/", auth),
2024-12-23 22:38:49 -05:00
path("messages/", messages),
2024-12-22 00:08:08 -05:00
path("u/<str:username>/", profile),
path("m/<str:username>/", message),
2024-12-24 10:22:37 -05:00
path("api/messages/", api_messages),
2024-12-23 22:38:49 -05:00
path("static/", include("tmessage.views.static")),
2024-12-22 00:08:08 -05:00
path("django-admin/", admin.site.urls)
]