from django.urls import path

from postcode.views import PostCodeView, postcodes

urlpatterns = [
    path('', PostCodeView.as_view(), name="postcode_set"),
    path('json/', postcodes, name="postcode_json"),
]

3d433355c54fdbb6884b2e5853ff1ee685960be2
<mask token>

<mask token>
urlpatterns = [path('', PostCodeView.as_view(), name='postcode_set'), path(
    'json/', postcodes, name='postcode_json')]

from django.urls import path
from postcode.views import PostCodeView, postcodes
urlpatterns = [path('', PostCodeView.as_view(), name='postcode_set'), path(
    'json/', postcodes, name='postcode_json')]

from django.urls import path

from postcode.views import PostCodeView, postcodes

urlpatterns = [
    path('', PostCodeView.as_view(), name="postcode_set"),
    path('json/', postcodes, name="postcode_json"),
]
