10 lines
312 B
Python
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'),
|
|
]
|