mirror of
https://github.com/TandoorRecipes/recipes.git
synced 2025-12-23 18:29:23 -05:00
django vite manifest path
This commit is contained in:
@@ -535,6 +535,7 @@ DJANGO_VITE = {
|
||||
"default": {
|
||||
"dev_mode": False,
|
||||
"static_url_prefix": 'vue3',
|
||||
'manifest_path': os.path.join(BASE_DIR, 'cookbook/static/vue3/manifest.json'),
|
||||
"dev_server_port": 5173,
|
||||
"dev_server_host": os.getenv('DJANGO_VITE_DEV_SERVER_HOST', 'localhost'),
|
||||
},
|
||||
@@ -585,7 +586,7 @@ LANGUAGES = [
|
||||
('it', _('Italian')),
|
||||
('lv', _('Latvian')),
|
||||
('nb', _('Norwegian')),
|
||||
#('nb-NO', _('Norwegian Bokmål')),
|
||||
# ('nb-NO', _('Norwegian Bokmål')),
|
||||
('pl', _('Polish')),
|
||||
('pt', _('Portuguese')),
|
||||
('ru', _('Russian')),
|
||||
@@ -595,8 +596,8 @@ LANGUAGES = [
|
||||
('sv', _('Swedish')),
|
||||
('tr', _('Turkish')),
|
||||
('uk', _('Ukranian')),
|
||||
#('zh-Hant', _('Chinese (Traditional Han script)')),
|
||||
#('zh-Hans', _('Chinese (Simplified Han script)')),
|
||||
# ('zh-Hant', _('Chinese (Traditional Han script)')),
|
||||
# ('zh-Hans', _('Chinese (Simplified Han script)')),
|
||||
]
|
||||
|
||||
# Static files (CSS, JavaScript, Images)
|
||||
@@ -630,7 +631,6 @@ if os.getenv('S3_ACCESS_KEY', ''):
|
||||
if os.getenv('S3_CUSTOM_DOMAIN', ''):
|
||||
AWS_S3_CUSTOM_DOMAIN = os.getenv('S3_CUSTOM_DOMAIN', '')
|
||||
|
||||
|
||||
MEDIA_URL = os.getenv('MEDIA_URL', '/media/')
|
||||
MEDIA_ROOT = os.getenv('MEDIA_ROOT', os.path.join(BASE_DIR, "mediafiles"))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user