On Tuesday, March 5, 2013 7:56:37 PM UTC, Dave Murphy wrote: > > On Tuesday, March 5, 2013 7:03:36 PM UTC, Bruno Girin wrote: >> >> So I'd much rather have the charm auto-generate part of the config in a >> sensible way and then tell people: if you use Juju, don't provide those >> settings in your config, the charm will do it. >> > > ...and if they do? How is this any different to the code not handling > environment variables correctly? > > People are going to need to adapt their project to the charm no matter > what approach you take. >
True. My point here is that if you ask people to adapt their project to work in Juju, it's easier for them and less error prone to say "don't provide this bit" than say "provide this bit in this particular way". I quite like Christopher's suggestion of calling a python function from settings.py too. -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscr...@googlegroups.com. To post to this group, send email to django-users@googlegroups.com. Visit this group at http://groups.google.com/group/django-users?hl=en. For more options, visit https://groups.google.com/groups/opt_out.