from django.conf.urls import url from .views import PublicJSON urlpatterns = [ url(r'^public.json$', PublicJSON.as_view(), name='public_json'), ]