Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(2)  |  Call(0)  |  Derive(0)  |  Import(2)
the product context captures environment and configuration settings
that are specific to each product, e.g. each product requires a different
database configuration.

Use the context only for very specific stuff that NEEDS to 
be configured on a product basis.

The context is loaded from a file in json format.

src/d/j/django-productline-0.3/django_productline/startup.py   django-productline(Download)
 
    _product_selected = True
    from django_productline import context
 
    featuremonkey.add_import_guard('django.conf')

src/d/j/django-productline-HEAD/django_productline/startup.py   django-productline(Download)
 
    _product_selected = True
    from django_productline import context
 
    featuremonkey.add_import_guard('django.conf')