from django.urls import path, include from . import views urlpatterns = [ path('', views.homepage, name='homepage'), #path('/', views.login), path('accounts/', include("django.contrib.auth.urls")), path('subject/', views.subjects_all, name="subject"), path('subject/', views.subject_id, name="subjectid"), path('note/', views.note_id, name="note"), path('notes_by_topic/', views.notes_by_topic_id, name="notes"), path('topics_by_subject_id/', views.topics_by_subject_id, name="topics"), path('addnote/', views.add, name="add"), path('notes/', views.notes_all, name="notes"), path('notes/', views.notes_name, name="notes_id"), path('create/', views.create_note, name="create_note"), path('delete_note/', views.delete_note, name="delete_note") ]