Monday, July 29, 2013

Creating libraries that use django ORM and they use each other.

Hello,

I'm building a set of common libraries and a few other specific libraries. As of right now the common library works great as an independent library that can be used by applications.

The problem I'm having now is that I'm building a new library that will use the common library. This new library needs to load its settings and configure them but the common library
already did that for its own settings. A call to configure again triggers an already configured error. 

So a nice thing will be to append the new settings to the ones already configured and trigger a reload. Is this possible or feasible? are there any other options?

Thank you.

--
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+unsubscribe@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.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

No comments:

Post a Comment