Wednesday, July 27, 2011

Recommended locations for templates?

What is the recommended best practice for locating templates in a
project directory? In particular, which of the following two
structures is considered better?

1. project/templates/{app1,app2,...}

2. project/{app1/templates, app2/templates,...}

If some template is independent of the particular apps in a project,
is it OK to use structure 2 together with a templates directory in the
project directory?

Thanks,
Rodney

--
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+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate