Example #1
0
from django.utils.translation import gettext_lazy as _
from speedy.core.settings.base_without_login import *
from speedy.core.settings.utils import update_site_paths
from speedy.match.settings.global_settings import *  # ~~~~ TODO: Maybe we don't need this here? (added because the migrations fail).
from speedy.net.settings.global_settings import *  # ~~~~ TODO: Maybe we don't need this here? (added because the migrations fail).
from .utils import APP_DIR

update_site_paths(settings=globals())

SITE_ID = SPEEDY_MAIL_SOFTWARE_SITE_ID

ROOT_URLCONF = 'speedy.mail.urls'

# if (LOGIN_ENABLED):
if (True or LOGIN_ENABLED):  # ~~~~ TODO: remove this line!
    INSTALLED_APPS += [
        # 'speedy.mail.accounts',
    ]

    AUTH_SITE_PROFILE_MODEL = 'mail_accounts.SiteProfile'


Example #2
0
from django.utils.translation import gettext_lazy as _
from speedy.core.settings.base_with_login import *
from speedy.core.settings.utils import update_site_paths
from speedy.net.settings.global_settings import *
from speedy.match.settings.global_settings import *
from .utils import APP_DIR

update_site_paths(settings=globals())

SITE_ID = SPEEDY_MATCH_SITE_ID

SITE_TITLE = _('Speedy Match [alpha]')

ROOT_URLCONF = 'speedy.match.urls'

DEFAULT_FROM_EMAIL = '*****@*****.**'

INSTALLED_APPS += [
    'speedy.net.accounts',
    'speedy.match.accounts',
    'speedy.match.profiles',
    'speedy.match.likes',
    'speedy.match.matches',
]

AUTH_SITE_PROFILE_MODEL = 'match_accounts.SiteProfile'

ACTIVATE_PROFILE_AFTER_REGISTRATION = False

SITE_PROFILE_ACTIVATION_FORM = 'speedy.match.accounts.forms.SpeedyMatchProfileActivationForm'