<filename>demo/demo_api/urls.py
# -*- coding: utf-8 -*-

from django.conf.urls import url

from .views import ItemForTestApiView


urlpatterns = [
    url(r'items', ItemForTestApiView.as_view(), name='api_items'),
]

<filename>demo/demo_api/urls.py
# -*- coding: utf-8 -*-

from django.conf.urls import url

from .views import ItemForTestApiView


urlpatterns = [
    url(r'items', ItemForTestApiView.as_view(), name='api_items'),
]

# -*- coding: utf-8 -*-