django-fobi/examples/simple/foo/urls.py

7 lines
177 B
Python

from django.conf.urls import url
from foo.views import endpoint as foo_views_endpoint
urlpatterns = [
url(r'^endpoint/$', view=foo_views_endpoint, name='foo.endpoint'),
]