from django.urls import path from .views import PostView urlpatterns = [ path('post/', PostView.as_view()), path('post//', PostView.as_view()), ]