Skip to content

gayathri-kannanv/Simple-Django-Application

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

Simple Django Application - Login, Form with HTTPResponse, SQL

Quick bullets on Django,

  • Popular high level backend server side Python Web framwork
  • Free and Opensource
  • Build websites and RestAPIs
  • Follows the MVT (Model View Template) design pattern.
  • Comes with inbuilt Database Backend.
  • Supports database systems including SQL, MySQL, Oracle, Postgres, etc.
  • Supports multilingual websites.
  • Provides a ready-to-use Administration GUI.
  • Popular Django applications include Instagram, Mozilla, Spotify, Pinterest.

Installation and configuration is quite easy and here are the steps:

Windows

  1. Select a path in the commandline where you'll need your django application.
  2. Create a project directory.

mkdir django_auth

  1. cd django_auth

  2. Create virtual envvironment.

python -m venv .venv

  1. .venv\Scripts\Activate.ps1

  2. Install Django. (.venv) > python -m pip install django
  3. (.venv) > django-admin startproject django_project .
  4. (.venv) > python manage.py migrate
  5. (.venv) > python manage.py runserver

Navigate to http://127.0.0.1:8000, you'll see the Django default screen.

Here in this simple application, there's a login page and after login, taken three inputs from an html frontend home page, and taken the request, produced a http response along with storing them into an external database.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published