Fakultas Ilmu Komputer UI

Commit feb02269 authored by Yumna Pratista's avatar Yumna Pratista
Browse files

done

parent a28b4bef
from django.conf.urls import url
from app_homepage import views
urlpatterns = [
url(r'^new$', views.new_list, name='new_list'),
url(r'^(\d+)/$', views.view_list, name='view_list'),
url(r'^(\d+)/add_item$', views.add_item, name='add_item'),
]
\ No newline at end of file
......@@ -15,12 +15,11 @@ Including another URLconf
"""
from django.contrib import admin
from django.urls import path
from django.conf.urls import url
from app_homepage import views
from django.conf.urls import url, include
from app_homepage import views as list_views
from app_homepage import urls as list_urls
urlpatterns = [
url(r'^$', views.home_page, name='home'),
url(r'^lists/new$', views.new_list, name='new_list'),
url(r'^lists/(\d+)/$', views.view_list, name='view_list'),
url(r'^lists/(\d+)/add_item$', views.add_item, name='add_item'),
url(r'^$', list_views.home_page, name='home'),
url(r'^lists/', include(list_urls)),
]
\ No newline at end of file
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment