fix(Issue-27): Confirmations not triggered on models with validation failures (#30)
* feat(ISSUE-27): Added some validation integration tests * feat(ISSUE-27): Integration tests for validations * feat(ISSUE-27): Unable to select autocomplete with selenium * feat(ISSUE-27): Fix file caching with proper FileCache * feat(ISSUE-27): Some minor tweaks * feat(ISSUE-27): Try reviewdog * feat(ISSUE-27): Remove noisy linting * feat(ISSUE-27): Black format * feat(ISSUE-27): Adding some simple file cache tests * feat(ISSUE-27): Some cleaning up Co-authored-by: Thu Trang Pham <thu@joinmodernhealth.com>
This commit is contained in:
@@ -23,11 +23,12 @@ SECRET_KEY = "=yddl-40388w3e2hl$e8)revce=n67_idi8pfejtn3!+2%!_qt"
|
||||
|
||||
# SECURITY WARNING: don't run with debug turned on in production!
|
||||
DEBUG = True
|
||||
ADMIN_CONFIRM_DEBUG = True
|
||||
|
||||
USE_DCOKER = os.environ.get("USE_DOCKER", "").lower() == "true"
|
||||
USE_DOCKER = os.environ.get("USE_DOCKER", "").lower() == "true"
|
||||
|
||||
ALLOWED_HOSTS = ["127.0.0.1", "localhost"]
|
||||
if USE_DCOKER:
|
||||
if USE_DOCKER:
|
||||
import socket
|
||||
|
||||
ALLOWED_HOSTS += [socket.gethostbyname(socket.gethostname())]
|
||||
|
||||
Reference in New Issue
Block a user