mirror of
				https://gitlab.crans.org/bde/nk20
				synced 2025-11-04 01:12:08 +01:00 
			
		
		
		
	Define BASE_DIR in development.py
This commit is contained in:
		@@ -12,6 +12,9 @@
 | 
			
		||||
 | 
			
		||||
import os
 | 
			
		||||
 | 
			
		||||
# Build paths inside the project like this: os.path.join(BASE_DIR, ...)
 | 
			
		||||
BASE_DIR = os.path.dirname(os.path.dirname(os.path.dirname(os.path.abspath(__file__))))
 | 
			
		||||
 | 
			
		||||
if os.getenv("DJANGO_DEV_STORE_METHOD", "sqlite") != "postgresql":
 | 
			
		||||
    # Use an SQLite database
 | 
			
		||||
    DATABASES = {
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user