Django Registeration System With Custom User Model
#custom User Model USERNAME and EMAIL both are required fields FIRST_NAME and LAST_NAME are optional fields LOGIN with USERNAME or EMAIL
git must be installed in your system
open terminal paste the command below and press enter
git clone https://github.com/BakrFrag/Django-Registeration-System-Custom-User-Model.git
computer with operating system
python interpeter installed on it
prefered to use python 3.6 or higher version py_interperter>=3.6
python interperter must be installed
open your terminal
1.install pipenv package-manager with command
pip install pipenv
2.install djnago with command
pip install django
then navigate to your terminal with command
cd path_to_project_on_local_machine
then run
pipenv install
or run
pipenv install -r requirements.txt
1.active pipenv by command
pipenv shell
- navigate to usermodel
cd usermodel
- run following commands in order
python manage.py makemigrations
python manage.py migrate
python manage.py collectstatic
python manage.py runserver
in settings.py file put you own email on EMAIL_HOST_USER put you own password on EMAIL_HOST_PASSWORD the configrations used in the project not suitable for real world DEPLOYMENT it's only used in DEVELOPMENT MODE not PRODUCTION MODE
- Crispy Forms - Form Handling Application For Django