hivesolutions / appier-extras

Appier on Steroids
http://appier-extras.hive.pt
2 stars 3 forks source link

Dynamic inclusion of parts with the PARTS configuration value #12

Closed joamag closed 8 years ago

joamag commented 8 years ago

Description

Sometimes it's important to be able control the Parts that are included on a app dynamically at runtime. To be able to archive this a list based configuration variable must be used appier.conf("PARTS", cast = list).

The parts definition should be something like appier_extras.AdminPart and the appier_extras packages should be included dynamically using the appier.import_pip(appier_extras) this way it would be possible to include the admin part without setting appier extras on dependencies.

joamag commented 8 years ago

This is now fixed in appier