2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-04-28 03:26:45 +00:00

Fix typos in settings.py (#9048)

This commit is contained in:
Oliver 2025-02-08 10:45:47 +11:00 committed by GitHub
parent a3be8e986b
commit 49824ddf31
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -171,7 +171,7 @@ SECRET_KEY = config.get_secret_key()
# The filesystem location for served static files
STATIC_ROOT = config.get_static_dir()
# The filesystem location for uploaded meadia files
# The filesystem location for uploaded media files
MEDIA_ROOT = config.get_media_dir()
# Needed for the parts importer, directly impacts the maximum parts that can be uploaded
@ -1290,7 +1290,7 @@ ACCOUNT_DEFAULT_HTTP_PROTOCOL = get_setting(
if ACCOUNT_DEFAULT_HTTP_PROTOCOL is None:
if SITE_URL and SITE_URL.startswith('https://'):
# auto-detect HTTPS prtoocol
# auto-detect HTTPS protocol
ACCOUNT_DEFAULT_HTTP_PROTOCOL = 'https'
else:
# default to http
@ -1361,7 +1361,7 @@ MARKDOWNIFY = {
}
}
# Ignore these error typeps for in-database error logging
# Ignore these error types for in-database error logging
IGNORED_ERRORS = [Http404, django.core.exceptions.PermissionDenied]
# Maintenance mode
@ -1420,7 +1420,7 @@ if CUSTOM_FLAGS:
SESAME_MAX_AGE = 300
LOGIN_REDIRECT_URL = '/api/auth/login-redirect/'
# Configuratino for API schema generation
# Configuration for API schema generation
SPECTACULAR_SETTINGS = {
'TITLE': 'InvenTree API',
'DESCRIPTION': 'API for InvenTree - the intuitive open source inventory management system',