This is my views.py:
from django.http import HttpResponse
from django.template.loader import get_template
from django.template import Context
def login(request):
t = get_template('login.html')
return HttpResponse(t.render)
In my urls.py I put
(r'^login/', include('project.views.login')),
to show my templates
I set my templates directory in settings.py
But i got an error named
ImportError at /login/
No module named login
What's wrong ?