<filename>core/urls.py
from django.conf.urls import url

from . import views

urlpatterns = [
    url('validate', views.ValidateView.as_view(), name='validate'),
]
<filename>core/urls.py
from django.conf.urls import url

from . import views

urlpatterns = [
    url('validate', views.ValidateView.as_view(), name='validate'),
]