14 lines
281 B
Python
14 lines
281 B
Python
# -*- encoding: utf-8 -*-
|
|
|
|
from django.urls import path, include, re_path
|
|
from django.shortcuts import redirect
|
|
|
|
from .views import IndexView
|
|
|
|
# def reverse_to_index(reqeust):
|
|
# return redirect("admin:index")
|
|
|
|
urlpatterns = [
|
|
path("", IndexView.as_view(), name="index"),
|
|
]
|