Because I value pragmatic programming, I want to take the time to 'do
it right' and so I'm spending as much time as possible de-coupling the
'django application' from the 'django project' (or 'django site' -
these seem to be synonyms.)
To that end, I've managed to de-couple the urls.py file by using the
url importing system, and the templates by using a template loader.
However, a few settings seem to be impossible to de-couple from the
project to the application.
In particular, I'm having trouble specifying the static content URL
and the fixtures directories at a per-application level rather than in
the project settings.py file.
Is there a way to specify settings like STATIC_URL or FIXTURES_DIRS
per-application rather than per-site? Even better - is there a
mechanism to use a settings.py file in the application rather than in
the site?
Thanks,
eblume
--
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.
No comments:
Post a Comment