Skip to content

Commit 02e052d

Browse files
committed
adding further description for django
1 parent 3d27cf4 commit 02e052d

File tree

3 files changed

+23
-7
lines changed

3 files changed

+23
-7
lines changed

django.html

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -48,13 +48,20 @@ <h1>Django</h1>
4848
<p><a href="http://www.djangoproject.com/">Django</a> is a widely used Python web
4949
application framework with a "batteries-included" philosophy. The principle
5050
behind batteries-included is that the common functionality for building
51-
web applications should come with the framework instead of as a separate
52-
library. For example,
51+
web applications should come with the framework instead of as separate
52+
libraries. </p>
53+
<p>For example,
54+
<a href="https://docs.djangoproject.com/en/dev/topics/auth/">authentication</a>,
5355
<a href="https://docs.djangoproject.com/en/dev/topics/http/urls/">URL routing</a>, a
5456
<a href="https://docs.djangoproject.com/en/dev/topics/templates/">templating system</a>,
5557
<a href="https://docs.djangoproject.com/en/dev/topics/db/">object-relational mapper</a>,
5658
and <a href="https://docs.djangoproject.com/en/dev/topics/migrations/">database schema migrations</a>
57-
(as of version 1.7) are all included with the <a href="https://pypi.python.org/pypi/Django/1.6.2">Django framework</a>.</p>
59+
(as of version 1.7) are all included with the <a href="https://pypi.python.org/pypi/Django/1.6.2">Django framework</a>.
60+
Compare that functionality to the Flask framework which requires a separate
61+
library such as <a href="https://flask-login.readthedocs.org/en/latest/">Flask-Login</a>
62+
to perform user authentication. The batteries-includes and extensibility
63+
philosophies are simply two different ways to tackle framework building.
64+
Neither philosophy is inherently better than the other.</p>
5865
<h2>Why is Django a good web framework choice?</h2>
5966
<p>The Django project's stability, performance and community have grown
6067
tremendously over the past decade since the framework's creation. Detailed

feeds/all.atom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
<?xml version="1.0" encoding="utf-8"?>
2-
<feed xmlns="http://www.w3.org/2005/Atom"><title>Matt Makai</title><link href="http://www.fullstackpython.com/" rel="alternate"></link><link href="http://www.fullstackpython.com/feeds/all.atom.xml" rel="self"></link><id>http://www.fullstackpython.com/</id><updated>2014-05-02T13:11:46Z</updated></feed>
2+
<feed xmlns="http://www.w3.org/2005/Atom"><title>Matt Makai</title><link href="http://www.fullstackpython.com/" rel="alternate"></link><link href="http://www.fullstackpython.com/feeds/all.atom.xml" rel="self"></link><id>http://www.fullstackpython.com/</id><updated>2014-05-02T17:03:39Z</updated></feed>

source/content/pages/02-web-frameworks/0203-django.markdown

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,13 +20,22 @@ choice4text: How can I version and store my source code so I don't lose it?
2020
[Django](http://www.djangoproject.com/) is a widely used Python web
2121
application framework with a "batteries-included" philosophy. The principle
2222
behind batteries-included is that the common functionality for building
23-
web applications should come with the framework instead of as a separate
24-
library. For example,
23+
web applications should come with the framework instead of as separate
24+
libraries.
25+
26+
For example,
27+
[authentication](https://docs.djangoproject.com/en/dev/topics/auth/),
2528
[URL routing](https://docs.djangoproject.com/en/dev/topics/http/urls/), a
2629
[templating system](https://docs.djangoproject.com/en/dev/topics/templates/),
2730
[object-relational mapper](https://docs.djangoproject.com/en/dev/topics/db/),
2831
and [database schema migrations](https://docs.djangoproject.com/en/dev/topics/migrations/)
29-
(as of version 1.7) are all included with the [Django framework](https://pypi.python.org/pypi/Django/1.6.2).
32+
(as of version 1.7) are all included with the [Django framework](https://pypi.python.org/pypi/Django/1.6.2).
33+
Compare that functionality to the Flask framework which requires a separate
34+
library such as [Flask-Login](https://flask-login.readthedocs.org/en/latest/)
35+
to perform user authentication. The batteries-includes and extensibility
36+
philosophies are simply two different ways to tackle framework building.
37+
Neither philosophy is inherently better than the other.
38+
3039

3140
## Why is Django a good web framework choice?
3241
The Django project's stability, performance and community have grown

0 commit comments

Comments
 (0)