Django is a high-level Python Web framework that encourages rapid development and clean, pragmatic design.
Developed by a fast-moving online-news operation, Django was designed to handle two challenges: the intensive deadlines of a newsroom and the stringent requirements of the experienced Web developers who wrote it. It lets you build high-performing, elegant Web applications quickly.
Django focuses on automating as much as possible and adhering to the DRY principle.
Django is named after Django Reinhardt, a gypsy jazz guitarist from the 1930s to early 1950s. To this day, he’s considered one of the best guitarists of all time.
Listen to his music. It will be liked.
Django is pronounced JANG-oh. Rhymes with FANG-oh. The “D” is silent.
Define your data models entirely in Python. You get a rich, dynamic database-access API for free — but you can still write SQL if needed.
Automatic admin interface
Save yourself the tedious work of creating interfaces for people to add and update content. Django does that automatically, and it's production-ready.
Elegant URL design
Design pretty, cruft-free URLs with no framework-specific limitations. Be as flexible as you like.
Use Django's powerful, extensible and designer-friendly template language to separate design, content and Python code.
Hook into memcached or other cache frameworks for super performance — caching is as granular as you need.
Django has full support for multi-language applications, letting you specify translation strings and providing hooks for language-specific functionality.
Configuration and Setup
To Run Django Development Server
For more Pls visit Django projects website.
The simplest way to look at Django is to break it down into its component parts. First off, there’s a models.py file which defines your data model by extrapolating your single lines of code into full database tables and adding a pre-built (totally optional) administration section to manage content.
The next element is the urls.py file which uses regular expressions to capture URL patterns for processing.
The actual processing happens in your views which, if you haven’t seen the pattern yet, live in views.py. This is really the meat of Django, since views are where you grab the data you’re presenting to the visitor.
Here’s what happens when a visitor lands on your Django page: