Disable timezone support to work around Django/psycopg issues
This commit is contained in:
		
							parent
							
								
									b0ec7ce04e
								
							
						
					
					
						commit
						dc966ce335
					
				
					 1 changed files with 2 additions and 1 deletions
				
			
		|  | @ -131,7 +131,8 @@ LANGUAGE_CODE = "en-us" | ||||||
| SITE_ID = int(os.environ.get("SITE_ID", 1)) | SITE_ID = int(os.environ.get("SITE_ID", 1)) | ||||||
| USE_I18N = True | USE_I18N = True | ||||||
| USE_L10N = True | USE_L10N = True | ||||||
| USE_TZ = True | USE_TZ = False  # Work around Django 2.2 incompatibility with psycopg >= | ||||||
|  |                 # 2.9. Needed since Python 3.11 doesn't support psycogp < 2.9. | ||||||
| 
 | 
 | ||||||
| MEDIA_ROOT = os.environ.get("MEDIA_ROOT", os.path.join(PACKAGE_ROOT, "site_media", "media")) | MEDIA_ROOT = os.environ.get("MEDIA_ROOT", os.path.join(PACKAGE_ROOT, "site_media", "media")) | ||||||
| MEDIA_URL = "/site_media/media/" | MEDIA_URL = "/site_media/media/" | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		
		Reference in a new issue