lib.itmens/common/urls.py

17 lines
479 B
Python
Raw Normal View History

2023-07-20 21:59:49 -04:00
from django.urls import path, re_path
2020-05-01 22:46:15 +08:00
from .views import *
app_name = "common"
2023-02-15 15:45:57 -05:00
urlpatterns = [
path("", home),
2024-12-30 01:51:19 -05:00
path("search", search, name="search"),
2023-02-15 15:45:57 -05:00
path("home/", home, name="home"),
path("me/", me, name="me"),
path("nodeinfo/2.0/", nodeinfo2),
2024-06-10 17:28:20 -04:00
path("developer/", console, name="developer"),
path("auth/signup/", signup, name="signup"),
path("auth/signup/<str:code>/", signup, name="signup"),
2023-07-20 21:59:49 -04:00
re_path("^~neodb~(?P<uri>.+)", ap_redirect),
2023-02-15 15:45:57 -05:00
]