khaganat-web/nsfw/urls.py

11 lines
312 B
Python
Raw Normal View History

from django.contrib.auth import views as auth_views
from django.urls import reverse_lazy, path
from . import views
urlpatterns = [
2019-07-24 17:07:41 +00:00
path("", views.warn_view, name="nsfw"),
path("enable/<max_age>/", views.enable_view, name="enable_nsfw"),
path("disable/", views.disable_view, name="disable_nsfw"),
]