fga-eps-mds/2020.2-Hortum

View on GitHub
src/hortum/complaint/urls.py

Summary

Maintainability
A
0 mins
Test Coverage
from ..routers import OptionalSlashRouter
from . import viewsets

router = OptionalSlashRouter()
router.register(r'create', viewsets.ComplaintRegistrationAPIView, basename='createComplaint')
router.register(r'delete', viewsets.ComplaintDeleteAPIView, basename='deleteComplaint')
router.register(r'list(:?/(?P<emailProductor>.+))?', viewsets.ComplaintListAPIView, basename='listComplaint')

urlpatterns = [
] + router.urls