Is there a standard, accepted way to use environment variable or other substitution, so the application's settings.py file can exist on, for example, a production and test system. Right now, I've taken to coding the URL strings separately, and I know that's bad in the long run.
So, my question is, is there an accepted way to populate BASE_URL and MEDIA_URL with some local setting, like perhaps calling a python function?, because it's Python code? Thanks. cmn -- 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.