0

Here is my code:

from django.urls import path
from . import views
app_name ='store'
urlpattherns =[
path('', views.all_products,name ='all_products')

Thanks for your help

Reza Rahemtola
  • 1,182
  • 7
  • 16
  • 30
Newton
  • 31
  • 2
  • Please some should help me resolve this error.I keep getting 'The included URLconf '' does not appear to have any patterns in it. If you see valid patterns in the file then the issue is probably caused by a circular import' – Newton Jul 16 '21 at 02:44
  • Try suggestion here: https://stackoverflow.com/questions/64648512/cant-fix-does-not-appear-to-have-any-patterns-in-it-if-you-see-valid-patterns and please fix the formatting of your question, and add your actual question. – CHNguyen Jul 16 '21 at 02:47
  • a true circular import can be resolved via https://stackoverflow.com/questions/744373/circular-or-cyclic-imports-in-python and might also be via try except. your case is more likely as above. – Abel Jul 16 '21 at 02:55
  • @CHNguyen and Abel .Thanks for your suggestions but am yet to resolve the problem – Newton Jul 16 '21 at 11:41

0 Answers0