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