added command to laod products from woo.enreda.coop, required extra env variables
This commit is contained in:
@@ -12,12 +12,13 @@ https://docs.djangoproject.com/en/2.2/ref/settings/
|
||||
|
||||
import os
|
||||
|
||||
import dotenv
|
||||
|
||||
# Build paths inside the project like this: os.path.join(BASE_DIR, ...)
|
||||
BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
|
||||
|
||||
# Get variables from .env
|
||||
import dotenv
|
||||
|
||||
dotenv.read_dotenv(
|
||||
dotenv=os.path.join(BASE_DIR, '../.env'),
|
||||
override=True
|
||||
|
||||
Reference in New Issue
Block a user