from django.urls import path
from django.conf.urls.static import static
from  django.conf import settings
from . import views

urlpatterns = [
    path("", views.index, name='home'),
    path("about/", views.about, name='about'),
    path("contact/", views.contact, name='contact'),
    path("userlogin/", views.userlogin, name='userlogin'),
    path("signup1/", views.signup1, name='signup1'),
    path("logout1/", views.logout1, name='logout1'),
    path("profile/", views.profile, name='profile'),
    path("changepassword/", views.changepassword, name='changepassword'),
    path("editprofile/", views.editprofile, name='editprofile'),
    path("uploadnotes/", views.uploadnotes, name='uploadnotes'),
    path("viewmynotes/", views.viewmynotes, name='viewmynotes'),
    path("search/", views.search, name='search'),
    path("viewallnotes/", views.viewallnotes, name='viewallnotes'),
    path("deletemynotes(?p<int:pid>)/", views.deletemynotes, name='deletemynotes'),

]+static(settings.MEDIA_URL,document_root=settings.MEDIA_ROOT)

e56927adae635b21e663a83f4ec154352420270d
<mask token>

<mask token>
urlpatterns = [path('', views.index, name='home'), path('about/', views.
    about, name='about'), path('contact/', views.contact, name='contact'),
    path('userlogin/', views.userlogin, name='userlogin'), path('signup1/',
    views.signup1, name='signup1'), path('logout1/', views.logout1, name=
    'logout1'), path('profile/', views.profile, name='profile'), path(
    'changepassword/', views.changepassword, name='changepassword'), path(
    'editprofile/', views.editprofile, name='editprofile'), path(
    'uploadnotes/', views.uploadnotes, name='uploadnotes'), path(
    'viewmynotes/', views.viewmynotes, name='viewmynotes'), path('search/',
    views.search, name='search'), path('viewallnotes/', views.viewallnotes,
    name='viewallnotes'), path('deletemynotes(?p<int:pid>)/', views.
    deletemynotes, name='deletemynotes')] + static(settings.MEDIA_URL,
    document_root=settings.MEDIA_ROOT)

from django.urls import path
from django.conf.urls.static import static
from django.conf import settings
from . import views
urlpatterns = [path('', views.index, name='home'), path('about/', views.
    about, name='about'), path('contact/', views.contact, name='contact'),
    path('userlogin/', views.userlogin, name='userlogin'), path('signup1/',
    views.signup1, name='signup1'), path('logout1/', views.logout1, name=
    'logout1'), path('profile/', views.profile, name='profile'), path(
    'changepassword/', views.changepassword, name='changepassword'), path(
    'editprofile/', views.editprofile, name='editprofile'), path(
    'uploadnotes/', views.uploadnotes, name='uploadnotes'), path(
    'viewmynotes/', views.viewmynotes, name='viewmynotes'), path('search/',
    views.search, name='search'), path('viewallnotes/', views.viewallnotes,
    name='viewallnotes'), path('deletemynotes(?p<int:pid>)/', views.
    deletemynotes, name='deletemynotes')] + static(settings.MEDIA_URL,
    document_root=settings.MEDIA_ROOT)

from django.urls import path
from django.conf.urls.static import static
from  django.conf import settings
from . import views

urlpatterns = [
    path("", views.index, name='home'),
    path("about/", views.about, name='about'),
    path("contact/", views.contact, name='contact'),
    path("userlogin/", views.userlogin, name='userlogin'),
    path("signup1/", views.signup1, name='signup1'),
    path("logout1/", views.logout1, name='logout1'),
    path("profile/", views.profile, name='profile'),
    path("changepassword/", views.changepassword, name='changepassword'),
    path("editprofile/", views.editprofile, name='editprofile'),
    path("uploadnotes/", views.uploadnotes, name='uploadnotes'),
    path("viewmynotes/", views.viewmynotes, name='viewmynotes'),
    path("search/", views.search, name='search'),
    path("viewallnotes/", views.viewallnotes, name='viewallnotes'),
    path("deletemynotes(?p<int:pid>)/", views.deletemynotes, name='deletemynotes'),

]+static(settings.MEDIA_URL,document_root=settings.MEDIA_ROOT)
