Hi Guillermo!
But what would happen in this case if two sites use very different
templates for the same app?
My templates used to have the same skeleton, the diference could be the
base_site.tmpl, I can replace the base_site.tmpl on the
project/templates/appname, I can use stylesheets to defi
I place my templates inside the "app_name/templates/app_name"
directory. It seems template search path look for the template on this
directory first. So, to decouple the app, templates should be inside it
I think.
But what would happen in this case if two sites use very different
templates for
Hi,
Yeah. And conversely, it's weird that in other places django smooshes
together what ought to be separate namespaces. For example, a
template can refer to the templatetags of any app without
qualification. Is there even a way to add qualification to
disambiguate? If I have two apps with
"Doug Van Horn" <[EMAIL PROTECTED]> writes:
You would put parent_folder and parent_folder/spam_website into your
python path.
So when you need a model from the foo application, you do:
from foo.models import Eggs
and if you need something from the settings module in the project, you
do:
Stefan Foulis <[EMAIL PROTECTED]> writes:
On Jan 16, 2007, at 17:52, David Abrahams wrote:
For me, Django doesn't seem to be delivering on its promise to allow
me to build a collection of apps and organize them in different
combinations into multiple Django projects, and the documentation I
David Abrahams wrote:
...One problem is that the name of the Django
project folder (and thus root module) always seems to creep into the
code in the app-specific directories.
IANADE (django-expert), but from what I've gleaned you can put the path
of each individual application into the python
On Jan 16, 2007, at 17:52, David Abrahams wrote:
For me, Django doesn't seem to be delivering on its promise to allow
me to build a collection of apps and organize them in different
combinations into multiple Django projects, and the documentation I
can find doesn't really give any clues abou
For me, Django doesn't seem to be delivering on its promise to allow
me to build a collection of apps and organize them in different
combinations into multiple Django projects, and the documentation I
can find doesn't really give any clues about best practices for
project organization. One prob
8 matches
Mail list logo