mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-01-28 08:03:36 +00:00
18 lines
523 B
Python
18 lines
523 B
Python
# SPDX-License-Identifier: AGPL-3.0-or-later
|
|
"""
|
|
URLs for the First Boot module
|
|
"""
|
|
|
|
from django.conf.urls import url
|
|
from stronghold.decorators import public
|
|
|
|
from .views import CompleteView, WelcomeView
|
|
|
|
urlpatterns = [
|
|
# Take care of the firstboot middleware when changing URLs
|
|
url(r'^firstboot/$', public(WelcomeView.as_view()), name='index'),
|
|
url(r'^firstboot/welcome/$', public(WelcomeView.as_view()),
|
|
name='welcome'),
|
|
url(r'^firstboot/complete/$', CompleteView.as_view(), name='complete'),
|
|
]
|