from django.urls import path from django.conf import settings from django.conf.urls.static import static from . import views # app_name='admins' urlpatterns = [ path('add_genrate_qrcode/', views.QRCodeAPIView.as_view(), name='add_genrate_qrcode'), path('add_genrate_qrcode//', views.QRCodeAPIView.as_view(), name='add_genrate_qrcode'), path('merged_qrcodes_fromdb/', views.MergedQRCodeAPIView.as_view(), name='merged-qrcode-create'), path('merged_qrcodes_fromdb//', views.MergedQRCodeAPIView.as_view(), name='merged-qrcode-detail'), path('merged_qrcodes_from_thiredpartyapi/', views.MergedQRCodeThirdPartyApi.as_view(), name='merged_qrcodes_from_thiredpartyapi'), path('merged_qrcodes_from_thiredpartyapi//', views.MergedQRCodeThirdPartyApi.as_view(), name='merged_qrcodes_from_thiredpartyapi'), path('mergedqrcode_info_thirdpartyapi/', views.MergedQRCodeInfoThirdPartyApi.as_view(), name='merged_qrcodes_from_thiredpartyapi'), path('mergedqrcode_info_thirdpartyapi//', views.MergedQRCodeInfoThirdPartyApi.as_view(), name='merged_qr_code_retrieve'), path('mergedqrcode_info/', views.MergedQRCodeRetrieveApi.as_view(), name='mergedqrcode_info'), path('mergedqrcode_info//', views.MergedQRCodeRetrieveApi.as_view(), name='mergedqrcode_info'), path('qrcode_popuplink/', views.QRCodeWithPopUpLink.as_view(), name='qrcode_popuplink'), ] + static(settings.MEDIA_URL, document_root=settings.MEDIA_ROOT)