# https://docs.djangoproject.com/en/1.11/ref/settings/#databases
DATABASES = {
- 'default': {'ENGINE': 'django.db.backends.postgresql_psycopg2', 'NAME': 'chloro',},
+ 'default': {
+ 'ENGINE': 'django.db.backends.postgresql_psycopg2',
+ 'NAME': 'chloro',
+ },
}
# https://docs.djangoproject.com/en/1.11/ref/settings/#auth-password-validators
AUTH_PASSWORD_VALIDATORS = [
- {'NAME': 'django.contrib.auth.password_validation.UserAttributeSimilarityValidator',},
- {'NAME': 'django.contrib.auth.password_validation.MinimumLengthValidator',},
- {'NAME': 'django.contrib.auth.password_validation.CommonPasswordValidator',},
- {'NAME': 'django.contrib.auth.password_validation.NumericPasswordValidator',},
+ {
+ 'NAME': 'django.contrib.auth.password_validation.UserAttributeSimilarityValidator',
+ },
+ {
+ 'NAME': 'django.contrib.auth.password_validation.MinimumLengthValidator',
+ },
+ {
+ 'NAME': 'django.contrib.auth.password_validation.CommonPasswordValidator',
+ },
+ {
+ 'NAME': 'django.contrib.auth.password_validation.NumericPasswordValidator',
+ },
]
LOGIN_REDIRECT_URL = '/'
['JustifyLeft', 'JustifyCenter', 'JustifyRight', 'JustifyBlock'],
['Link', 'Unlink'],
['Image', '-', 'HorizontalRule'],
- ['RemoveFormat',],
+ [
+ 'RemoveFormat',
+ ],
['Maximize'],
],
'toolbar': 'Own',
def get_version():
- '''Use the VERSION, if absent generates a version with git describe, if not
- tag exists, take 0.0- and add the length of the commit log.
- '''
+ """Use the VERSION, if absent generates a version with git describe, if not
+ tag exists, take 0.0- and add the length of the commit log.
+ """
if os.path.exists('VERSION'):
with open('VERSION', 'r') as v:
return v.read()