clone from upstream lithium project

This commit is contained in:
wsvincent 2018-02-15 12:53:04 -05:00 committed by badbl0cks
parent 6f5167c24f
commit f946e4933a
56 changed files with 754 additions and 503 deletions

View file

@ -2,4 +2,4 @@ from django.apps import AppConfig
class PagesConfig(AppConfig):
name = 'pages'
name = "pages"

View file

@ -1,8 +1,8 @@
from django.urls import path
from . import views
from .views import HomePageView, AboutPageView
urlpatterns = [
path('', views.HomePageView.as_view(), name='home'),
path('about/', views.AboutPageView.as_view(), name='about'),
path("", HomePageView.as_view(), name="home"),
path("about/", AboutPageView.as_view(), name="about"),
]

View file

@ -2,8 +2,8 @@ from django.views.generic import TemplateView
class HomePageView(TemplateView):
template_name = 'pages/home.html'
template_name = "pages/home.html"
class AboutPageView(TemplateView):
template_name = 'pages/about.html'
template_name = "pages/about.html"