/Django-User-Registration

User Authentication system implemented using Django

Primary LanguageJavaScript

Django-User-Registration

User login and register system implementation in django
 contributions welcome 

Django is an open-source python web framework used for rapid development, pragmatic, maintainable, clean design, and secures websites. A web application framework is a toolkit of all components need for application development. The main goal of the Django framework is to allow developers to focus on components of the application that are new instead of spending time on already developed components. Django is fully featured than many other frameworks on the market. It takes care of a lot of hassle involved in the web development; enables users to focus on developing components needed for their application.

Django by default provides an authentication system configuration. User objects are the core of the authentication system.today we will implement Django’s authentication system.

django based login,logout and register system django docs on auth system


learn how to make on geeksforgeeks : https://www.geeksforgeeks.org/django-sign-up-and-login-with-confirmation-email-python/

beginner-friendly

Virtualenv & Dependencies

create a virtualenv and run requirements.txt
virtualenv

pip install virtualenv

what is virtual environment ?
A virtual environment is a tool that helps to keep dependencies required by different projects separate by creating isolated python virtual environments for them. This is one of the most important tools that most of the Python developers use.
read more...

to run requirements.txt

$ pip install -r requirements.txt

here env/ folder contains all dependencies

Running locally

  1. clone repository
    $ git clone https://github.com/itsvinayak/user_login_and_register.git
  2. make database settings and connect it to your local database
    $ cd ./user_login_and_register/project 
    open settings.py file
                    DATABASES = {
                "default": {
                  'ENGINE': 'django.db.backends.postgresql',
                  'NAME': 'Auth',
                  'USER': 'postgres',
                  'PASSWORD': '1234',
                  'HOST': 'localhost'
                }
            }
       
    set this part according to needs.
  3. run migrations
    $ python manage.py migrate
  4. now, runserver
    $ python manage.py runserver

alt text