mirror of
https://github.com/Superredstone/patrickcanal.it.git
synced 2026-11-19 04:41:15 +01:00
feat(settings): wrapped local_settings import between try catch
This commit is contained in:
1 file changed
+4
-1
@@ -115,7 +115,10 @@ USE_I18N = True
|
||||
|
||||
USE_TZ = True
|
||||
|
||||
from patrickcanal_it.local_settings import *
|
||||
try:
|
||||
from patrickcanal_it.local_settings import *
|
||||
except Exception as e:
|
||||
print(e)
|
||||
|
||||
# Static files (CSS, JavaScript, Images)
|
||||
# https://docs.djangoproject.com/en/6.1/howto/static-files/
|
||||
|
||||
Reference in new issue
Block a user