-
-
Notifications
You must be signed in to change notification settings - Fork 58
/
custom_config.py.example
53 lines (38 loc) · 1.1 KB
/
custom_config.py.example
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
# CUSTOM CONFIGURATION FILE
# Optional variables are commented out.
DEBUG = True # set to False in production mode
SECRET_KEY = "CHANGE_THIS"
# LOGGING
#LOG_FILE = {
# "filename": "./logs/log.txt",
# "max_bytes": 512 * 1024, # optional
# "backup_count": 100, # optional
#}
#LOG_SENTRY = {
# "dsn": "YOUR_SENTRY_DSN",
# "level": "WARNING", # optional
#}
# EXTERNAL SERVICES
# MusicBrainz
#MUSICBRAINZ_HOSTNAME = "localhost:5000"
#MUSICBRAINZ_USERAGENT = "CritiqueBrainz Custom"
MUSICBRAINZ_CLIENT_ID = ""
MUSICBRAINZ_CLIENT_SECRET = ""
MUSICBRAINZ_OAUTH_URL = "https://musicbrainz.org/new-oauth2"
# Server with Spotify mappings
# https://github.com/metabrainz/mbspotify
#MBSPOTIFY_BASE_URI = "https://mbspotify.musicbrainz.org/"
#MBSPOTIFY_ACCESS_KEY = ""
# Spotify
#SPOTIFY_CLIENT_ID = ""
#SPOTIFY_CLIENT_SECRET = ""
# OTHER STUFF
# List of administrators (MusicBrainz usernames as strings)
ADMINS = []
# Mail server
#MAIL_SERVER = 'localhost'
#MAIL_PORT = 25
#MAIL_USERNAME = None
#MAIL_PASSWORD = None
#MAIL_FROM_ADDR = "[email protected]"
#DEBUG_TB_TEMPLATE_EDITOR_ENABLED = True