khaganat-web/nsfw/urls.py
2019-07-24 19:07:41 +02:00

10 lines
312 B
Python

from django.contrib.auth import views as auth_views
from django.urls import reverse_lazy, path
from . import views
urlpatterns = [
path("", views.warn_view, name="nsfw"),
path("enable/<max_age>/", views.enable_view, name="enable_nsfw"),
path("disable/", views.disable_view, name="disable_nsfw"),
]