18 lines
852 B
Python
18 lines
852 B
Python
from django.urls import path, include
|
|
from django.contrib.auth import views as auth_views
|
|
from django.contrib import admin
|
|
from core import views
|
|
|
|
urlpatterns = [
|
|
path('admin/', admin.site.urls),
|
|
path('accounts/login/', auth_views.LoginView.as_view(template_name='projects/login.html'), name='login'),
|
|
path('accounts/logout/', auth_views.LogoutView.as_view(), name='logout'),
|
|
path('accounts/password/change/', auth_views.PasswordChangeView.as_view(template_name='projects/form.html', success_url='/projects/profile/'), name='password_change'),
|
|
path('projects/', include('projects.urls')),
|
|
path("", views.today, name="today"),
|
|
path("health/", views.health, name="health"),
|
|
path("energy/", views.energy, name="energy"),
|
|
path("home/", views.home, name="home"),
|
|
path("showcase/", views.showcase, name="showcase"),
|
|
]
|