register and sign in pages
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
"""Test settings.
|
||||
|
||||
Same postgres engine as production (procrastinate's migrations are
|
||||
postgres-only), with throttling off and a cheap password hasher so the auth
|
||||
tests aren't dominated by bcrypt.
|
||||
|
||||
python manage.py test --settings=apibase.settings_test
|
||||
"""
|
||||
|
||||
from .settings import * # noqa: F401,F403
|
||||
from .settings import DATABASES, REST_FRAMEWORK, env
|
||||
|
||||
DATABASES["default"]["HOST"] = env("POSTGRES_HOST", default="localhost")
|
||||
|
||||
REST_FRAMEWORK["DEFAULT_THROTTLE_RATES"] = dict.fromkeys(
|
||||
REST_FRAMEWORK["DEFAULT_THROTTLE_RATES"], None
|
||||
)
|
||||
|
||||
PASSWORD_HASHERS = ["django.contrib.auth.hashers.MD5PasswordHasher"]
|
||||
Reference in New Issue
Block a user