Correct, basically as long as Python can access it your all good. Just put
it somewhere that makes sense.
Dougal
---
Dougal Matthews - @d0ugal
http://www.dougalmatthews.com/
2009/3/15 Joshua Partogi
>
> Thanks Doug.
>
> I kinda get the gist now. It seems that template
Thanks Doug.
I kinda get the gist now. It seems that template is parsed internally
by django so it doesn't matter where I put it, which is quite contrary
to static files like js/css/images.
Kind regards,
On Mar 15, 12:25 am, Dougal Matthews wrote:
> You can put them where
I usually create a template directory in the application directory,
and then sub directories underneath that. Helps when you need to start
translating I have found.
Or you could check out Bradley's GitHub project here:
http://github.com/bradleywright/django-layout/tree/master
You can put them where you want but generally they go inside the application
folder that uses that template.
You may find this an interesting/helpful read;
http://www.djangobook.com/en/2.0/chapter04/
Dougal
---
Dougal Matthews - @d0ugal
http://www.dougalmatthews.com/
2009/3/14 Joshua
Dear all,
As I am still new to django, I have a question about the best practice
for placing templates. Do we put it inside the project folder or under
webserver directory?
Best regards,
--
If you can't believe in God the chances are your God is too small.
Read my blog:
5 matches
Mail list logo