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

All Samples(0)  |  Call(0)  |  Derive(0)  |  Import(0)

src/d/j/django-productline-HEAD/django_productline/settings.py   django-productline(Download)
    'default': {
        'ENGINE': 'django.db.backends.sqlite3',
        'NAME': os.path.join(PRODUCT_CONTEXT.DATA_DIR, 'db.sqlite')
    }
}
# Absolute filesystem path to the directory that will hold user-uploaded files.
# Example: "/home/media/media.lawrence.com/media/"
MEDIA_ROOT = os.path.join(PRODUCT_CONTEXT.DATA_DIR, 'uploads')
 
# URL that handles the media served from MEDIA_ROOT. Make sure to use a
# in apps' "static/" subdirectories and in STATICFILES_DIRS.
# Example: "/home/media/media.lawrence.com/static/"
STATIC_ROOT = os.path.join(PRODUCT_CONTEXT.DATA_DIR, 'generated_static')
 
# Make this unique, and don't share it with anybody.

src/d/j/django-productline-0.3/django_productline/settings.py   django-productline(Download)
# Absolute filesystem path to the directory that will hold user-uploaded files.
# Example: "/home/media/media.lawrence.com/media/"
MEDIA_ROOT = os.path.join(PRODUCT_CONTEXT.DATA_DIR, 'uploads/')
 
# URL that handles the media served from MEDIA_ROOT. Make sure to use a

src/d/j/django-productline-HEAD/django_productline/tasks.py   django-productline(Download)
    '''
    from django_productline.context import PRODUCT_CONTEXT
    if not os.path.exists(PRODUCT_CONTEXT.DATA_DIR):
        os.mkdir(PRODUCT_CONTEXT.DATA_DIR)
        print '*** Created DATA_DIR in %s' % PRODUCT_CONTEXT.DATA_DIR

src/d/j/django-productline-0.3/django_productline/tasks.py   django-productline(Download)
    """
    from django_productline.context import PRODUCT_CONTEXT
    if not os.path.isdir(PRODUCT_CONTEXT.DATA_DIR):
        os.mkdir(PRODUCT_CONTEXT.DATA_DIR)
 

src/d/j/django-productline-0.3/django_productline/features/staticfiles/settings.py   django-productline(Download)
# Example: "/home/media/media.lawrence.com/static/"
from django_productline.context import PRODUCT_CONTEXT
introduce_STATIC_ROOT = PRODUCT_CONTEXT.DATA_DIR + '/generated_static/'
 
# URL prefix for static files.