from .base import *

import environ
import cloudinary
import cloudinary.uploader
import cloudinary.api

env = environ.Env()
environ.Env.read_env()

ALLOWED_HOSTS = ['localhost', '127.0.0.1']

SECRET_KEY = env('SECRET_KEY')

DEBUG = True

DATABASES = {
    'default': {
        'ENGINE': 'django.db.backends.sqlite3',
        'NAME': 'sqlite3.db',
    }
}

cloudinary.config( 
  cloud_name = env('CLOUD_NAME'), 
  api_key = env('API_KEY'), 
  api_secret = env('API_SECRET')
)