Re: Where do we put our templates?

2009-03-15 Thread Dougal Matthews
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 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 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/
>
> >
>

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~--~~~~--~~--~--~---



Re: Where do we put our templates?

2009-03-15 Thread Joshua Partogi

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 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/

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~--~~~~--~~--~--~---



Re: Where do we put our templates?

2009-03-14 Thread timc3

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 received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~--~~~~--~~--~--~---



Re: Where do we put our templates?

2009-03-14 Thread Dougal Matthews
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 Partogi 

>
> 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: http://joshuajava.wordpress.com/
> Follow me on twitter: http://twitter.com/jpartogi
>
> >
>

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~--~~~~--~~--~--~---



Where do we put our templates?

2009-03-14 Thread Joshua Partogi

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: http://joshuajava.wordpress.com/
Follow me on twitter: http://twitter.com/jpartogi

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~--~~~~--~~--~--~---