template_dir , template_loader missing in settings.py

25 views
Skip to first unread message

Priya Panthi

unread,
Feb 25, 2015, 7:29:31 AM2/25/15
to django...@googlegroups.com
hello all, I am beginner in django..As template_dir , template_loader are missing in settings.py, I am facing lots of problems..Please kindly suggest how I should include these. It would be a great help. I have spent hours sorting it out but in vain..Thanks in advance..

严超

unread,
Feb 25, 2015, 7:55:15 AM2/25/15
to django...@googlegroups.com
TEMPLATE_DIRS = (
        join(BASE_DIR, 'templates'),
)
As a beginner, I would recommend using cookiecutter-django to initiate a project and take look.

Best Regards!
Chao Yan
--------------
About me http://about.me/chao_yan

My twitter@yanchao727
My Weibohttp://weibo.com/herewearenow
--------------

2015-02-25 15:23 GMT+08:00 Priya Panthi <priyap...@gmail.com>:
hello all, I am beginner in django..As template_dir , template_loader are missing in settings.py, I am facing lots of problems..Please kindly suggest how I should include these. It would be a great help. I have spent hours sorting it out but in vain..Thanks in advance..

--
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 django-users...@googlegroups.com.
To post to this group, send email to django...@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/dbff6410-b0f8-4c49-acac-b73de0ca9475%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

严超

unread,
Feb 25, 2015, 7:58:56 AM2/25/15
to django...@googlegroups.com
Also this is the info that you may need : http://stackoverflow.com/questions/3038459/django-template-path

Best Regards!
Chao Yan
--------------
About me http://about.me/chao_yan

My twitter@yanchao727
My Weibohttp://weibo.com/herewearenow
--------------

Reply all
Reply to author
Forward
0 new messages