Django part 2 Creating API views error

‘C:\Users\emili\Desktop\Django 2- Resources\Resources\Code\1- Getting Started\Start\storefront2\store\urls.py’>’ does not appear to have any patterns in it. If you see the ‘urlpatterns’ variable with valid patterns in the file then the issue is probably caused by a circular import.

Code in store views.py

“”"
from django.shortcuts import render
from django.http import HttpResponse

def product_list(request):
return HttpResponse(‘ok’)

“”"
code in store urls.py:

“”"
from django.urls import path
from . import views

urlpatterns = [
path(‘products/’, views.product_list)
]

“”"
Code in storefront urls.py:

“”"
from django.contrib import admin
from django.urls import path, include
import debug_toolbar

admin.site.site_header = ‘Storefront Admin’
admin.site.index_title = ‘Admin’

urlpatterns = [
path(‘admin/’, admin.site.urls),
path(‘playground/’, include(‘playground.urls’)),
path(‘store/’, include(‘store.urls’)),
path(‘debug/’, include(debug_toolbar.urls)),
]

“”"

problem was in store urls.py, solution:

“from . import views” —> “from store import views”