DJANGO
Django is a Python-based web framework that allows you to quickly create efficient web applications. It is also called batteries included framework because Django provides built-in features for everything including Django Admin Interface, default database – SQLlite3, etc. When you’re building a website, you always need a similar set of components: a way to handle user authentication (signing up, signing in, signing out), a management panel for your website, forms, a way to upload files, etc. Django gives you ready-made components to use and that too for rapid development.
Why Django Framework ?
Difference between Django and Flask
| Flask | Django |
|---|---|
| Python web framework built for rapid development. | Python web framework built for easy and simple projects. |
| Flask is WSGI framework. | Django is a Full Stack Web Framework. |
| Flask provides support for API. | Django doesn't have any support for API. |
| Support Visual Debug. | No support for Visual Debug. |
Basics in Django
To start the Admin Interface, we need to make sure we have configured a URL for our admin interface. Open the myproject/url.py and you should have something like −
from django.conf.urls import patterns, include, url
from django.contrib import admin
admin.autodiscover()
urlpatterns = patterns('',
# Examples:
# url(r'^$', 'myproject.views.home', name = 'home'),
# url(r'^blog/', include('blog.urls')),
url(r'^admin/', include(admin.site.urls)),
)
This is how we will setup the virtual environment
Online sites for Django Tutorials
Tutorialspoint
Udemy
Free Code Camp
These are some of the online learning platforms to learn Django


Top comments (0)