my code that caused an error :
///
from django.shortcuts import render
from django.http import HttpResponse
from django.template import loader
# Create your views here.
def home(request) :
return render(request,'login.html',context)
///
above code is in my views.py of my app name "accounts"
my project name "tutorial"
All my directories are :
tutorial->
accounts
tutorial
manage.py
and accounts->
migrations
__pycache__
templates
admin.py
apps.py
__init__.py
models.py
tests.py
urls.py
views.py
and templates->
accounts->
login.py
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-users/e74b849c-1757-43ca-9bea-e5820cc06f85%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.