[Nodeshot] Networking features in nodeshot

Nemesis nemesis at ninux.org
Tue Dec 1 10:46:46 CET 2015


On 12/01/2015 10:45 AM, Renaud wrote:
> Nemesis a écrit :
>> # ------ All settings customizations must go here ------ #
>>
>> INSTALLED_APPS.remove('nodeshot.networking.connectors')
>> INSTALLED_APPS.remove('nodeshot.networking.hardware')
>> INSTALLED_APPS.remove('nodeshot.networking.links')
>> INSTALLED_APPS.remove('nodeshot.networking.net')
>>
>> Ideally all these apps will live in a separate repo dedicated to mesh
>> networks, and some of those modules will live in their own projects
>> (eg: links will be django-netjsongraph).
>>
>> Did you do this or did you do something different?
> I did something similar ;)
>
> EXCLUDED_APPS = (
>         'nodeshot.networking.net',
>         'nodeshot.networking.links',
>         'nodeshot.networking.hardware',
>         'nodeshot.networking.connectors',
>         'nodeshot.interop.open311'
> )
>
>
> INSTALLED_APPS += (
>     'myapp'
> )
>
> INSTALLED_APPS = set(EXCLUDED_APPS).symmetric_difference(INSTALLED_APPS)

Smart! :-)

Federico



More information about the Nodeshot mailing list