Example #1
0
# Django settings for pixelvore project.
import os.path
from thraxilsettings.shared import common

app = 'pixelvore'
project = app
base = os.path.dirname(__file__)

locals().update(common(app=app, base=base))

INSTALLED_APPS += [  # noqa
    'pixelvore.main',
]
CELERYD_CONCURRENCY = 4

RETICULUM_BASE = "https://d2f33fmhbh7cs9.cloudfront.net/"
RETICULUM_UPLOAD_BASE = "https://reticulum.thraxil.org/"
ALLOWED_HOSTS += ['.thraxil.org']  # noqa

TEMPLATES = [
    {
        'BACKEND': 'django.template.backends.django.DjangoTemplates',
        'DIRS': [
            os.path.join(os.path.dirname(__file__), "templates"),
        ],
        'APP_DIRS': True,
        'OPTIONS': {
            'context_processors': [
                'django.contrib.auth.context_processors.auth',
                'django.template.context_processors.debug',
                'django.template.context_processors.media',
Example #2
0
from thraxilsettings.shared import common

d = common(app='test')
locals().update(d)

print(DATABASES)
Example #3
0
# Django settings for antisocial project.
import os.path

from thraxilsettings.shared import common

base = os.path.dirname(__file__)
locals().update(common(app='antisocial', base=base))

# extended common settings. remember to '# noqa' them.

ALLOWED_HOSTS += ['.thraxil.org', '127.0.0.1']  # noqa

INSTALLED_APPS += [  # noqa
    'guardian',
    'easy_thumbnails',
    'bootstrap3',
    'bootstrapform',

    'antisocial.main',
]

# project specific settings

PROJECT_APPS = [
    'antisocial.main',
]

AUTHENTICATION_BACKENDS = [
    'guardian.backends.ObjectPermissionBackend',
    'django.contrib.auth.backends.ModelBackend',
]
Example #4
0
# Django settings for gearspotting project.
import os.path
from thraxilsettings.shared import common

base = os.path.dirname(__file__)
locals().update(common(app='gearspotting', base=base))

# extended common settings

ALLOWED_HOSTS += ['.gearspotting.ccom', '127.0.0.1']  # noqa

INSTALLED_APPS += [  # noqa
    'taggit',
    'gearspotting.main',
    'gearspotting.musician',
    'gearspotting.gear',
    'gearspotting.photo',
    'gearspotting.link',
    'gearspotting.manufacturer',
    'gearspotting.musiciangear',
    'bootstrapform',
    'gearspotting.profile',
    'django.contrib.sitemaps',
    'gearspotting.blog',
]

RETICULUM_BASE = "http://reticulum.thraxil.org/"
RETICULUM_PUBLIC_BASE = "https://d2f33fmhbh7cs9.cloudfront.net/"
Example #5
0
# Django settings for auratus project.
import mimetypes
import os.path
import requests

from thraxilsettings.shared import common

base = os.path.dirname(__file__)
locals().update(common(app='auratus', base=base))

TEMPLATES = [
    {
        'BACKEND': 'django.template.backends.django.DjangoTemplates',
        'DIRS': [
            os.path.join(os.path.dirname(__file__), "templates"),
        ],
        'APP_DIRS': True,
        'OPTIONS': {
            'context_processors': [
                'django.contrib.auth.context_processors.auth',
                'django.template.context_processors.debug',
                'django.template.context_processors.media',
                'django.template.context_processors.static',
                'django.template.context_processors.tz',
                'django.contrib.messages.context_processors.messages',
            ],
        },
    },
]

Example #6
0
# Django settings for antisocial project.
import os.path
import djcelery

from thraxilsettings.shared import common

base = os.path.dirname(__file__)
locals().update(common(app='antisocial', base=base))

# extended common settings. remember to '# noqa' them.

ALLOWED_HOSTS += ['.thraxil.org']  # noqa

INSTALLED_APPS += [  # noqa
    'userena',
    'guardian',
    'easy_thumbnails',
    'bootstrapform',
    'djcelery',

    'antisocial.main',
    'antisocial.profile',
]

# project specific settings

PROJECT_APPS = [
    'antisocial.main',
]

AUTHENTICATION_BACKENDS = [