Re: Django bugfix release: 2.0.6

2018-06-04 Thread Umar Kambala
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:

Re: Django bugfix release: 2.0.6

2018-06-03 Thread 刘家伟
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,

Re: Django bugfix release: 2.0.6

2018-06-03 Thread Umar Kambala
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,

Django bugfix release: 2.0.6

2018-06-01 Thread Carlton Gibson
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