text: from django.urls.conf import include, re_path
  
  from tastypie.api import Api
  
  from .resources import NoteResource, UserResource
  
  
  api = Api()
  api.register(NoteResource())
  api.register(UserResource())
  
  urlpatterns = [
      re_path(r'^api/', include(api.urls)),
  ]
  