diff --git a/boofilsic/settings.py b/boofilsic/settings.py index 86d4abf2..02eea413 100644 --- a/boofilsic/settings.py +++ b/boofilsic/settings.py @@ -16,6 +16,8 @@ import psycopg2.extensions # Build paths inside the project like this: os.path.join(BASE_DIR, ...) BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__))) +# https://docs.djangoproject.com/en/3.2/releases/3.2/#customizing-type-of-auto-created-primary-keys +DEFAULT_AUTO_FIELD = 'django.db.models.AutoField' # Quick-start development settings - unsuitable for production # See https://docs.djangoproject.com/en/3.0/howto/deployment/checklist/ @@ -54,6 +56,7 @@ INSTALLED_APPS = [ 'movies.apps.MoviesConfig', 'music.apps.MusicConfig', 'games.apps.GamesConfig', + # 'sync.apps.SyncConfig', 'easy_thumbnails', ] @@ -205,6 +208,7 @@ ALBUM_MEDIA_PATH_ROOT = 'album/' DEFAULT_ALBUM_IMAGE = os.path.join(ALBUM_MEDIA_PATH_ROOT, 'default.svg') GAME_MEDIA_PATH_ROOT = 'game/' DEFAULT_GAME_IMAGE = os.path.join(GAME_MEDIA_PATH_ROOT, 'default.svg') +SYNC_FILE_PATH_ROOT = 'sync/' # Timeout of requests to Mastodon, in seconds MASTODON_TIMEOUT = 30 @@ -217,7 +221,7 @@ STAR_SOLID = ':star_solid:' STAR_HALF = ':star_half:' STAR_EMPTY = ':star_empty:' -# Default password for each user. since assword is not used any way, +# Default password for each user. since password is not used any way, # any string that is not empty is ok DEFAULT_PASSWORD = 'ab7nsm8didusbaqPgq' diff --git a/requirements.txt b/requirements.txt new file mode 100644 index 00000000..0fda6abd --- /dev/null +++ b/requirements.txt @@ -0,0 +1,9 @@ +dateparser +django +django-hstore +django-markdownx +easy-thumbnails +lxml +openpyxl +psycopg2 +requests