a django app customized for giving user login and register facility by email or mobile number or both
Clone the repository
git clone https://github.com/iamsavinay/custom_django_user_account
cd into the directory
cd custom_django_account_user
Create and activate virtual environment
python3 -m venv venv
source venv/bin/activate
Activate the virtual environment
source venv/bin/activate
Install the requirements
pip install -r requirements.txt
Change the database parameters LIKE THIS...
DATABASES = {
'default': {
'ENGINE': 'django.db.backends.postgresql_psycopg2',
'NAME': 'myproject',
'USER': 'myprojectuser',
'PASSWORD': 'password',
'HOST': 'localhost',
'PORT': '',
}
}
Run Migration and run the server
python manage.py makemigrations
python manage.py runserver