0

I have a Django app called sample. I need to check a function inside sample app's views.py file. When I try to import the function , I get an error saying sample.views is not a package. I am trying to import the function like this : from sample.views import samplefunc

What am I doing wrong ? Thanks in advance

Siddharth Singh
  • 105
  • 3
  • 15

0 Answers0