Fakultas Ilmu Komputer UI

urls.py 338 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
6
    # Matches any html file 
    path("", views.DaftarKatalog.as_view(), name='daftar_katalog'),
7
    path("detail-materi/", views.DetailMateri.as_view(), name='detail_materi'),
Samuel Dimas's avatar
Samuel Dimas committed
8
9
10
    # Matches any html file 
    re_path(r'^.*\.html', views.pages, name='pages'),
]