first commit
This commit is contained in:
18
app/urls.py
Normal file
18
app/urls.py
Normal file
@@ -0,0 +1,18 @@
|
||||
# -*- encoding: utf-8 -*-
|
||||
"""
|
||||
License: MIT
|
||||
Copyright (c) 2019 - present AppSeed.us
|
||||
"""
|
||||
|
||||
from django.urls import path, re_path
|
||||
from app import views
|
||||
|
||||
urlpatterns = [
|
||||
# Matches any html file - to be used for gentella
|
||||
# Avoid using your .html in your resources.
|
||||
# Or create a separate django app.
|
||||
re_path(r'^.*\.html', views.pages, name='pages'),
|
||||
|
||||
# The home page
|
||||
path('', views.index, name='home'),
|
||||
]
|
||||
Reference in New Issue
Block a user