Thanks for the help,
After making that corrections, I have another error which is
'APP_DIRS': True,
SyntaxError: invalid syntax
Need more help
On Jun 3, 2018 11:37 AM, "刘家伟" wrote:
> Django need template dir to store your html ,so in the setting.py , you
> shuold set the template dir like this:
Django need template dir to store your html ,so in the setting.py , you
shuold set the template dir like this:
TEMPLATES = [
{
'BACKEND': 'django.template.backends.django.DjangoTemplates',
'DIRS': [os.path.join(BASE_DIR, 'template')]
,
'APP_DIRS': True,
Please I have a problem, after successfully going through the django polls
and having results, and now wans to run a tuturial on a web development,
wen I runserver I gets errors. I don't really understand where the problem
is. The problem is "NameError:name 'template' is not defined"
On Jun 1,
Details are available on the Django project weblog:
https://www.djangoproject.com/weblog/2018/jun/01/bugfix-release/
--
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
4 matches
Mail list logo