Filling login fields is tedious for local development. This PR simply pre-fills fields, as per .env file values. Have added these to the example.env:
# FOR LOCAL DEVELOPMENT
LOCAL_DEV_ADMIN_EMAIL="incubator@rcpch.ac.uk"
LOCAL_DEV_ADMIN_PASSWORD="BR#GbdPH5j#utYShr&%QUB$*BS#YbLA8w6QxN8H4"
NOTE: requires creating a superuser with the above values and also having these in your .env. Nothing breaks if you dont', but the pre-filled fields won't match the superuser details so not much use.
Code changes
Primary changes in npda_user_form.py
Documentation changes (done or required as a result of this PR)
Updated docker-setup
Related Issues
102
Mentions
@mentions of the person or team responsible for reviewing proposed changes.
Signed-off-by: anchit-chandran anchit97123@gmail.com
Overview
Filling login fields is tedious for local development. This PR simply pre-fills fields, as per .env file values. Have added these to the
example.env
:NOTE: requires creating a superuser with the above values and also having these in your .env. Nothing breaks if you dont', but the pre-filled fields won't match the superuser details so not much use.
Code changes
Primary changes in
npda_user_form.py
Documentation changes (done or required as a result of this PR)
Related Issues
102
Mentions
@mentions of the person or team responsible for reviewing proposed changes.