<reponame>nussucommit/evoucher<filename>backend/organization/urls.py<gh_stars>1-10
from django.urls import path

from organization.views import OrganizationDetail, OrganizationList, getOrgWoUname, getOrgnamebyUname, verifyOrganization

urlpatterns = [
    path('organization', OrganizationList.as_view()),
    path('organization/notsignup', getOrgWoUname),
    path('organization/getorgbyuname/<str:pk>', getOrgnamebyUname),
    path('organization/<str:pk>', OrganizationDetail.as_view()),
    path('verifyorganization', verifyOrganization),
]
from django.urls import path

from organization.views import OrganizationDetail, OrganizationList, getOrgWoUname, getOrgnamebyUname, verifyOrganization

urlpatterns = [
    path('organization', OrganizationList.as_view()),
    path('organization/notsignup', getOrgWoUname),
    path('organization/getorgbyuname/<str:pk>', getOrgnamebyUname),
    path('organization/<str:pk>', OrganizationDetail.as_view()),
    path('verifyorganization', verifyOrganization),
]