The main stumbling block at the moment and for which we could do with Django expertise is about the structure of the settings files. Some settings are application specific and should be left alone by Juju, others are environment specific and should be generated by Juju (database config for instance). Patrick solved that problem by separating different config elements in different files but this implies that juju'ised applications would need to follow the same structure. Is that a good idea?
Patrick solved that problem by separating different config elements in different files but this implies that juju'ised applications would need to follow the same structure. Is that a good idea?
Are there other better options that wouldn't force people to change their code to use the charm?
For what it's worth, "other PaaS solutions" solve this by letting people call a python function from settings.py
I think it's a good solution.
--
You received this message because you are subscribed to a topic in the Google Groups "Django users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/django-users/979lJojyxs0/unsubscribe?hl=en.
To unsubscribe from this group and all its topics, send an email to django-users...@googlegroups.com.
To post to this group, send email to django...@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.
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.