<gh_stars>0
import os
from global_settings import PROJECT_PATH, LOGGING

# Uncomment to put the application in non-debug mode. This is useful
# for testing error handling and messages.
# DEBUG = False
# TEMPLATE_DEBUG = DEBUG

# Override this to match the application endpoint
# FORCE_SCRIPT_NAME = ''

DATABASES = {
    'default': {
        'ENGINE': 'django.db.backends.sqlite3',
        'NAME': os.path.join(PROJECT_PATH, 'fabrydb.db')
    }
}

# Non-restricted email port for development, run in a terminal:
# python -m smtpd -n -c DebuggingServer localhost:1025
EMAIL_PORT = 1025
EMAIL_SUBJECT_PREFIX = '[fabrydb] '

# This is used as a "seed" for various hashing algorithms. This must be set to
# a very long random string (40+ characters)
SECRET_KEY = 'abc123'

# Uncomment for additional logging. If using the 'rotating_file' handler
# you must create the `logs` directory in the project root.
# LOGGING['handlers'].update({
#     'stdout': {
#         'class': 'logging.StreamHandler',
#         'level': 'DEBUG',
#     },
#     'rotating_file': {
#         'class': 'logging.handlers.RotatingFileHandler',
#         'level': 'DEBUG',
#         'filename': os.path.join(PROJECT_PATH, 'logs/debug.log')
#         'maxBytes': 2048,
#         'backupCount': 5,
#     },
# })
# 
# LOGGING['loggers'].update({
#     'django.db.backends': {
#         'handlers': ['rotating_file'],
#         'propagate': True,
#         'level': 'DEBUG',
#     }
# })

import os
from global_settings import PROJECT_PATH, LOGGING

# Uncomment to put the application in non-debug mode. This is useful
# for testing error handling and messages.
# DEBUG = False
# TEMPLATE_DEBUG = DEBUG

# Override this to match the application endpoint
# FORCE_SCRIPT_NAME = ''

DATABASES = {
    'default': {
        'ENGINE': 'django.db.backends.sqlite3',
        'NAME': os.path.join(PROJECT_PATH, 'fabrydb.db')
    }
}

# Non-restricted email port for development, run in a terminal:
# python -m smtpd -n -c DebuggingServer localhost:1025
EMAIL_PORT = 1025
EMAIL_SUBJECT_PREFIX = '[fabrydb] '

# This is used as a "seed" for various hashing algorithms. This must be set to
# a very long random string (40+ characters)
SECRET_KEY = 'abc123'

# Uncomment for additional logging. If using the 'rotating_file' handler
# you must create the `logs` directory in the project root.
# LOGGING['handlers'].update({
#     'stdout': {
#         'class': 'logging.StreamHandler',
#         'level': 'DEBUG',
#     },
#     'rotating_file': {
#         'class': 'logging.handlers.RotatingFileHandler',
#         'level': 'DEBUG',
#         'filename': os.path.join(PROJECT_PATH, 'logs/debug.log')
#         'maxBytes': 2048,
#         'backupCount': 5,
#     },
# })
# 
# LOGGING['loggers'].update({
#     'django.db.backends': {
#         'handlers': ['rotating_file'],
#         'propagate': True,
#         'level': 'DEBUG',
#     }
# })
# Uncomment to put the application in non-debug mode. This is useful # for testing error handling and messages. # DEBUG = False # TEMPLATE_DEBUG = DEBUG # Override this to match the application endpoint # FORCE_SCRIPT_NAME = '' # Non-restricted email port for development, run in a terminal: # python -m smtpd -n -c DebuggingServer localhost:1025 # This is used as a "seed" for various hashing algorithms. This must be set to # a very long random string (40+ characters) # Uncomment for additional logging. If using the 'rotating_file' handler # you must create the `logs` directory in the project root. # LOGGING['handlers'].update({ #     'stdout': { #         'class': 'logging.StreamHandler', #         'level': 'DEBUG', #     }, #     'rotating_file': { #         'class': 'logging.handlers.RotatingFileHandler', #         'level': 'DEBUG', #         'filename': os.path.join(PROJECT_PATH, 'logs/debug.log') #         'maxBytes': 2048, #         'backupCount': 5, #     }, # }) # # LOGGING['loggers'].update({ #     'django.db.backends': { #         'handlers': ['rotating_file'], #         'propagate': True, #         'level': 'DEBUG', #     } # })