Fakultas Ilmu Komputer UI

urls.py 364 Bytes
Newer Older
Samuel Dimas's avatar
Samuel Dimas committed
1
2
3
4
from django.urls import path, re_path
from app import views

urlpatterns = [
5
    path("", views.DaftarKatalog.as_view(), name='daftar_katalog'),
6
7
    path('materi/', views.DetailMateri.as_view(), name='detailMateri'),
    path('list-materi/', views.listMateri, name='listMateri'),
Samuel Dimas's avatar
Samuel Dimas committed
8
9
10
    # Matches any html file 
    re_path(r'^.*\.html', views.pages, name='pages'),
]