title: ModuleNotFoundError with django
body: <p>I want to use some fuctions from the other python files in my view context. In myapp I have created folder named &quot;code&quot; and inside this i have a file named &quot;examplee.py&quot;. I try to import it like this views.py:
  views.py:</p>
  <pre><code>from django.shortcuts import render
  from django.views import View
  # Create your views here.
  import sys
  sys.path.append('./code')
  import examplee as expl
  class CmtGraphTool(View):
      def get(self, request, *args, **kwargs):
          list = expl.test1()
          context = {list}
          return render(request, &quot;cmtgraphtool.html&quot;, context)
  </code></pre>
  <p>and the examplee.py contains a simple function that returns a list of elements. The problem is that when i try to import and use the fuction test1 in my view then Spyder(my development enviroment) can see that function, but when i try to run django server by python manage.py runserver, it raises an error:</p>
  <h3>ModuleNotFoundError: No module named 'examplee'</h3>
  <p>How to include fuctions from the other files in a way that django can see them?
  Thanks;)</p>