forked from mattmakai/fullstackpython.com
-
Notifications
You must be signed in to change notification settings - Fork 0
/
django.html
522 lines (521 loc) · 32.7 KB
/
django.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="author" content="Matt Makai">
<meta name="description" content="Django is a widely used Python web framework with a 'batteries-included' philosophy. Learn more about Django on Full Stack Python.">
<link rel="shortcut icon" href="theme/img/fsp-fav.png">
<title>Django - Full Stack Python</title>
<!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
<script src="https://oss.maxcdn.com/libs/respond.js/1.3.0/respond.min.js"></script>
<![endif]-->
<link href="theme/css/f.min.css" rel="stylesheet">
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-19910497-7', 'auto');
ga('send', 'pageview');
</script></head>
<body>
<a href="https://github.com/makaimc/fullstackpython.com"><img style="position: absolute; top: 0; right: 0; border: 0;" src="/theme/img/fork.png" alt="Fork me on GitHub"></a>
<div class="container">
<div class="row">
<div class="col-md-12">
<div class="logo-header-section">
<a href="/" style="text-decoration: none; border: none;"><img src="theme/img/fsp-logo.png" height="52" width="52" class="logo-image" style="padding-top: 1px;" alt="Full Stack Python logo"></a>
<span class="logo-title"><a href="/">Full Stack Python</a></span>
</div>
</div>
</div><div class="row">
<div class="col-md-8">
<h1>Django</h1>
<p><a href="http://www.djangoproject.com/">Django</a> is a widely-used Python web
application framework with a "batteries-included" philosophy. The principle
behind batteries-included is that the common functionality for building
web applications should come with the framework instead of as separate
libraries.</p>
<p><a href="http://www.djangoproject.com/" style="border: none;"><img src="theme/img/django-logo-positive.png" width="100%" alt="Official Django logo. Trademark Django Software Foundation." class="technical-diagram" /></a></p>
<p>For example,
<a href="https://docs.djangoproject.com/en/dev/topics/auth/">authentication</a>,
<a href="https://docs.djangoproject.com/en/dev/topics/http/urls/">URL routing</a>, a
<a href="https://docs.djangoproject.com/en/dev/topics/templates/">templating system</a>,
an <a href="/object-relational-mappers-orms.html">object-relational mapper</a> (ORM),
and <a href="https://docs.djangoproject.com/en/dev/topics/migrations/">database schema migrations</a>
(as of version 1.7) are all included with the <a href="https://pypi.python.org/pypi/Django/">Django framework</a>.
Compare that included functionality to the Flask framework which requires a
separate library such as
<a href="https://flask-login.readthedocs.org/en/latest/">Flask-Login</a>
to perform user authentication. </p>
<p>The batteries-included and extensibility philosophies are simply two different
ways to tackle framework building. Neither philosophy is inherently better
than the other one.</p>
<h2>Why is Django a good web framework choice?</h2>
<p>The Django project's stability, performance and community have grown
tremendously over the past decade since the framework's creation. Detailed
tutorials and good practices are readily available on the web and in books.
The framework continues to add significant new functionality such as
<a href="https://docs.djangoproject.com/en/dev/topics/migrations/">database migrations</a>
with each release. </p>
<p>I highly recommend the Django framework as a starting place for new Python web
developers because the official documentation and tutorials are some of the
best anywhere in software development. Many cities also have Django-specific
groups such as <a href="http://www.meetup.com/django-district/">Django District</a>,
<a href="http://www.meetup.com/djangoboston/">Django Boston</a> and
<a href="http://www.meetup.com/The-San-Francisco-Django-Meetup-Group/">San Francisco Django</a>
so new developers can get help when they are stuck.</p>
<p>There's some debate on whether
<a href="http://www.jeffknupp.com/blog/2012/12/11/learning-python-via-django-considered-harmful/">learning Python by using Django is a bad idea</a>.
However, that criticism is invalid if you take the time to learn the Python
syntax and language semantics first before diving into web development.</p>
<div class="well see-also">
While you're learning about Django you should also read up on
<a href="/web-frameworks.html">web frameworks</a> and check out the
<a href="/bottle.html">Bottle framework</a>.
</div>
<h2>Django books and tutorials</h2>
<p>There are a slew of free or low cost resources out there for Django. Since
Django was released over 10 years ago and has had a huge number of updates
since then, when you're looking for an up-to-date Django book check out the
list below or read this post showing <a href="http://twoscoopspress.org/pages/current-django-books">current Django books</a>
as of Django 1.7.</p>
<ul>
<li>
<p><a href="http://www.obeythetestinggoat.com/">Test-Driven Development with Python</a>
focuses on web development using Django and JavaScript. This book uses
the development of a website using the Django web framework as a real
world example of how to perform test-driven development (TDD). There is
also coverage of NoSQL, websockets and asynchronous responses. The book can
be read online for free or purchased in hard copy via O'Reilly.</p>
</li>
<li>
<p><a href="http://www.tangowithdjango.com/book17/">Tango with Django</a> is an extensive
set of free introductions to using the most popular Python web framework.
Several current developers said this book really helped them get over the
initial framework learning curve. It's recently been updated for Django 1.7!</p>
</li>
<li>
<p>The <a href="http://tutorial.djangogirls.org/en/index.html">Django Girls Tutorial</a>
is a great tutorial that doesn't assume any prior knowledge of Python or
Django while helping you build your first web application.</p>
</li>
<li>
<p><a href="http://twoscoopspress.com/products/two-scoops-of-django-1-8">2 Scoops of Django</a>
by Daniel Greenfeld and Audrey Roy is well worth the price of admission if
you're serious about learning how to correctly develop Django websites.</p>
</li>
<li>
<p><a href="http://effectivedjango.com/">Effective Django</a> is another free introduction
to the web framework.</p>
</li>
<li>
<p>The <a href="http://www.reddit.com/r/django">Django subreddit</a> often has links to
the latest resources for learning Django and is also a good spot to ask
questions about it.</p>
</li>
<li>
<p>Lincoln Loop wrote a
<a href="http://lincolnloop.com/django-best-practices/">Django Best Practices guide</a>
for the community.</p>
</li>
<li>
<p>Steve Losh wrote an incredibly detailed <a href="http://stevelosh.com/blog/2011/06/django-advice/">Django Advice guide</a>.</p>
</li>
<li>
<p><a href="http://lightbird.net/dbe2/">Django by Example</a> is a set of tutorials for
creating Django projects such as a blog, forum, issue tracker and portfolio.
This is a good site if you want to dive right into the code with minimal
prose.</p>
</li>
<li>
<p>The <a href="http://www.marinamele.com/taskbuster-django-tutorial">TaskBuster Django tutorial</a>
is a walkthrough specifically written to show a new Django 1.8 application
built with Python 3.</p>
</li>
<li>
<p><a href="http://programming.oreilly.com/2014/04/simplifying-django.html">Lightweight Django</a>
has several nice examples for breaking Django into smaller simpler
components.</p>
</li>
<li>
<p>The <a href="https://github.com/rogueleaderr/definitive_guide_to_django_deployment">Definitive Guide to Django Deployment</a>
explains the architecture of the resulting set up and includes Chef scripts
to automate the deployment.</p>
</li>
<li>
<p><a href="http://agiliq.com/blog/2014/08/deploying-a-django-app-on-amazon-ec2-instance/">Deploying a Django app on Amazon EC2 instance</a>
is a detailed walkthrough for deploying an example Django app to Amazon
Web Services.</p>
</li>
<li>
<p>This <a href="http://aliteralmind.wordpress.com/2014/09/21/jquery_django_tutorial/">step-by-step guide for Django</a>
shows how to transmit data via AJAX with JQuery.</p>
</li>
<li>
<p><a href="http://www.nickpolet.com/blog/deploying-django-on-aws/1/">Deploying Django on AWS</a>
is another walkthrough for deploying Django to AWS.</p>
</li>
<li>
<p><a href="https://github.com/rosarior/awesome-django">django-awesome</a> is a curated
list of Django libraries and resources.</p>
</li>
<li>
<p><a href="https://realpython.com/learn/start-django/">Starting a Django Project</a>
answers the question, “How do I set up a Django (1.5, 1.6, or 1.7) project
from scratch?”</p>
</li>
<li>
<p>This Django tutorial shows how to
<a href="http://drksephy.github.io/2015/07/16/django/">build a project from scratch using Twitter Bootstrap, Bower, Requests and the Github API</a>.</p>
</li>
<li>
<p>The <a href="http://www.revsys.com/blog/2014/nov/21/recommended-django-project-layout/">recommended Django project layout</a>
is helpful for developers new to Django to understand how to structure
the directories and files within apps for projects.</p>
</li>
<li>
<p>The <a href="http://irisbeta.com/article/245366784/the-django-request-response-cycle/">Django Request-Response Cycle</a>
explains what happens when you visit a webpage generated by Django.</p>
</li>
<li>
<p>This <a href="https://github.com/davisfreeman1015/SocialAuthDjangoTutorial">Python Social Auth for Django tutorial</a>
will show you how to integrate social media sign in buttons into your Django
application.</p>
</li>
<li>
<p><a href="http://djangowos.com/">Django: Wall of Superpowers!</a> shows packages that
are Python 3 compatible in green and ones that are not yet compatible with
Python 3 in red.</p>
</li>
<li>
<p>Luke Plant writes about
<a href="http://lukeplant.me.uk/blog/posts/my-approach-to-class-based-views/">his approach to class based views</a> (CBVs),
which often provoke heated debate in the Django community for whether they
are a time saver or "too much magic" for the framework.</p>
</li>
<li>
<p><a href="https://www.digitalocean.com/community/tutorials/how-to-serve-django-applications-with-uwsgi-and-nginx-on-ubuntu-14-04">How to serve Django apps with uWSGI and Nginx on 14.04</a>
and
<a href="https://www.digitalocean.com/community/tutorials/how-to-set-up-django-with-postgres-nginx-and-gunicorn-on-centos-7">how to set up Django with PostgreSQL, Nginx and Gunicorn</a>
are detailed tutorials that walk through each step in the deployment process.</p>
</li>
</ul>
<h2>Django videos</h2>
<p><div class="well" style="margin-top: 20px;">
Looking for Django videos instead of just articles? There's a special section
for Django and web development on the
<a href="/best-python-videos.html">Best Python Videos</a> page.
</div></p>
<h2>Django migrations</h2>
<ul>
<li>
<p>Paul Hallett wrote a
<a href="https://www.twilio.com/blog/2014/10/upgrading-your-django-reusable-app-to-support-django-1-7.html">detailed Django 1.7 app upgrade guide</a>
on the Twilio blog from his experience working with the django-twilio
package.</p>
</li>
<li>
<p>Real Python's <a href="https://realpython.com/blog/python/django-migrations-a-primer/">migrations primer</a>
explores the difference between South's migrations and the built-in
Django 1.7 migrations as well as how you use them.</p>
</li>
<li>
<p>Andrew Pinkham's "Upgrading to Django 1.7" series is great learning
material for understanding what's changed in this major release and
how to adapt your Django project.
<a href="http://andrewsforge.com/article/upgrading-django-to-17/part-1-introduction-and-django-releases/">Part 1</a>,
<a href="http://andrewsforge.com/article/upgrading-django-to-17/part-2-migrations-in-django-16-and-17/">part 2</a> and
<a href="http://andrewsforge.com/article/upgrading-django-to-17/part-3-django-17-new-features/">part 3</a>
and
<a href="http://andrewsforge.com/article/upgrading-django-to-17/part-4-upgrade-strategies/">part 4</a>
are now all available to read.</p>
</li>
</ul>
<h2>Django testing</h2>
<ul>
<li>
<p><a href="https://lincolnloop.com/blog/integrating-front-end-tools-your-django-project/">Integrating Front End Tools with Django</a>
is a good post to read for figuring out how to use <a href="http://gulpjs.com/">Gulp</a>
for handling front end tools in development and production Django sites.</p>
</li>
<li>
<p><a href="http://howchoo.com/g/mjkwmtu5zdl/getting-started-with-django-testing">Getting Started with Django Testing</a>
will help you stop procrastinating on testing your Django projects if you're
uncertain where to begin.</p>
</li>
<li>
<p><a href="https://realpython.com/blog/python/testing-in-django-part-1-best-practices-and-examples/">Testing in Django</a>
provides numerous examples and explanations for how to test your Django
project's code.</p>
</li>
<li>
<p><a href="https://medium.com/@unary/django-views-automated-testing-with-selenium-d9df95bdc926">Django views automated testing with Selenium</a>
gives some example code to get up and running with
<a href="http://www.seleniumhq.org">Selenium</a> browser-based tests.</p>
</li>
</ul>
<h2>Django with Angular (Djangular) resources</h2>
<ul>
<li>
<p><a href="http://blog.kevinastone.com/getting-started-with-django-rest-framework-and-angularjs.html">Getting Started with Django Rest Framework and AngularJS</a>
is a very detailed introduction to Djangular with example code. </p>
</li>
<li>
<p><a href="https://thinkster.io/brewer/angular-django-tutorial/">Building Web Applications with Django and AngularJS</a>
is a very detailed guide for using Django as an API layer and AngularJS
as the MVC front end in the browser.</p>
</li>
<li>
<p>This <a href="http://blog.mourafiq.com/post/55034504632/end-to-end-web-app-with-django-rest-framework">end to end web app with Django-Rest-Framework & AngularJS part 1</a>
tutorial along with
<a href="http://blog.mourafiq.com/post/55099429431/end-to-end-web-app-with-django-rest-framework">part 2</a>,
<a href="http://blog.mourafiq.com/post/58725341511/end-to-end-web-app-with-django-rest-framework">part 3</a>
and
<a href="http://blog.mourafiq.com/post/58726121556/end-to-end-web-app-with-django-rest-framework">part 4</a>
creates an example blog application with Djangular. There is also a
corresponding <a href="https://github.com/mouradmourafiq/django-angular-blog">GitHub repo</a>
for the project code.</p>
</li>
</ul>
<h2>Django ORM resources</h2>
<p>Django comes with its own custom object-relational mapper (ORM) typically
referred to as "the Django ORM". Learn more about the Django ORM on the
<a href="/object-relational-mappers-orms.html">Python object-relational mappers page</a>
that includes a section specifically for the Django ORM as well as additional
resources and tutorials.</p>
<h2>Static and media files</h2>
<p>Deploying and handling static and media files can be confusing for new
Django developers. These resources along with the
<a href="/static-content.html">static content</a> page are useful for figuring out how
to handle these files properly.</p>
<ul>
<li>
<p><a href="http://www.caktusgroup.com/blog/2014/11/10/Using-Amazon-S3-to-store-your-Django-sites-static-and-media-files/">Using Amazon S3 to Store your Django Site's Static and Media Files</a>
is a well written guide to a question commonly asked about static and
media file serving.</p>
</li>
<li>
<p><a href="http://www.revsys.com/blog/2014/dec/03/loading-django-files-from-code/">Loading Django FileField and ImageFields from the file system</a>
shows how to load a model field with a file from the file system.</p>
</li>
<li>
<p><a href="http://blog.wearefarm.com/2015/02/09/contact-form-uploads/">Restricting access to user-uploaded files in Django</a>
provides a protection mechanism for media files.</p>
</li>
</ul>
<h2>Open source Django example projects</h2>
<ul>
<li>
<p><a href="https://github.com/makaimc/txt2react">Txt 2 React</a> is a full Django web
app that allows audiences to text in during a presentation with feedback
or questions.</p>
</li>
<li>
<p><a href="https://github.com/ustream/openduty">Openduty</a> is a website status checking
and alert system similar to PagerDuty.</p>
</li>
<li>
<p><a href="https://github.com/myusuf3/courtside">Courtside</a> is a pick up sports web
application written and maintained by the author of PyCoder's Weekly.</p>
</li>
<li>
<p>These two Django Interactive Voice Response (IVR) system web application
repositories <a href="https://github.com/phalt/twilio-django-part-1">part 1</a> and
<a href="https://github.com/phalt/twilio-django-part-2">part 2</a> show you how to
build a really cool Django application. There's also an accompanying
<a href="https://www.twilio.com/blog/2014/07/build-an-ivr-system-with-twilio-and-django.html">blog post</a>
with detailed explanations of each step.</p>
</li>
<li>
<p><a href="https://github.com/taigaio/taiga-back">Taiga</a> is a project management
tool built with Django as the backend and AngularJS as the front end.</p>
</li>
</ul>
<h2>Django project templates</h2>
<ul>
<li>
<p><a href="https://github.com/caktus/django-project-template">Caktus Group's Django project template</a>
is Django 1.6+ ready.</p>
</li>
<li>
<p><a href="https://github.com/pydanny/cookiecutter-django">Cookiecutter Django</a> is a
project template from Daniel Greenfeld, for use with Audrey Roy's
<a href="https://github.com/audreyr/cookiecutter">Cookiecutter</a>. The template results
are Heroku deployment-ready.</p>
</li>
<li>
<p><a href="https://github.com/twoscoops/django-twoscoops-project">Two Scoops Django project template</a>
is also from the PyDanny and Audrey Roy. This one provides a quick scaffold
described in the Two Scoops of Django book.</p>
</li>
</ul>
<h2>Django learning checklist</h2>
<ol>
<li>
<p><a href="https://docs.djangoproject.com/en/dev/topics/install/">Install Django</a> on
your local development machine.</p>
</li>
<li>
<p>Work through the initial
<a href="https://docs.djangoproject.com/en/dev/intro/tutorial01/">"polls" tutorial</a>.</p>
</li>
<li>
<p>Build a few more simple applications using the tutorial resources found
in the "Django resources" section.</p>
</li>
<li>
<p>Start coding your own Django project with help from the
<a href="https://docs.djangoproject.com/en/dev/">official documentation</a> and
resource links below. You'll make plenty of mistakes which is critical
on your path to learning the right way to build applications.</p>
</li>
<li>
<p>Read <a href="http://www.amazon.com/Two-Scoops-Django-Best-Practices/dp/0981467342">2 Scoops of Django</a>
to understand Django good practices and learn better ways of building
Django web applications.</p>
</li>
<li>
<p>Move on to the <a href="/deployment.html">deployment section</a> to get your Django
project on the web.</p>
</li>
</ol>
<h3>What do you need to learn next for your Django app?</h3>
<div class="row">
<div class="col-md-4">
<div class="well select-next">
<a href="/cascading-style-sheets.html" class="btn btn-success btn-full"><svg width="28" height="30" viewBox="0 0 1792 1792" xmlns="http://www.w3.org/2000/svg"><path d="M275 128h1505l-266 1333-804 267-698-267 71-356h297l-29 147 422 161 486-161 68-339h-1208l58-297h1209l38-191h-1208z" fill="#fff"/></svg></a>
<p class="under-btn">My app runs but looks awful. How do I style the user interface?</p> </div>
</div>
<div class="col-md-4">
<div class="well select-next">
<a href="/api-integration.html" class="btn btn-success btn-full"><svg width="28" height="30" viewBox="0 0 1792 1792" xmlns="http://www.w3.org/2000/svg"><path d="M1520 1216q0-40-28-68l-208-208q-28-28-68-28-42 0-72 32 3 3 19 18.5t21.5 21.5 15 19 13 25.5 3.5 27.5q0 40-28 68t-68 28q-15 0-27.5-3.5t-25.5-13-19-15-21.5-21.5-18.5-19q-33 31-33 73 0 40 28 68l206 207q27 27 68 27 40 0 68-26l147-146q28-28 28-67zm-703-705q0-40-28-68l-206-207q-28-28-68-28-39 0-68 27l-147 146q-28 28-28 67 0 40 28 68l208 208q27 27 68 27 42 0 72-31-3-3-19-18.5t-21.5-21.5-15-19-13-25.5-3.5-27.5q0-40 28-68t68-28q15 0 27.5 3.5t25.5 13 19 15 21.5 21.5 18.5 19q33-31 33-73zm895 705q0 120-85 203l-147 146q-83 83-203 83-121 0-204-85l-206-207q-83-83-83-203 0-123 88-209l-88-88q-86 88-208 88-120 0-204-84l-208-208q-84-84-84-204t85-203l147-146q83-83 203-83 121 0 204 85l206 207q83 83 83 203 0 123-88 209l88 88q86-88 208-88 120 0 204 84l208 208q84 84 84 204z" fill="#fff"/></svg></a>
<p class="under-btn">How do I integrate existing web APIs into my application?</p> </div>
</div>
<div class="col-md-4">
<div class="well select-next">
<a href="/deployment.html" class="btn btn-success btn-full"><svg width="28" height="30" viewBox="0 0 1792 1792" xmlns="http://www.w3.org/2000/svg"><path d="M1792 640q0 26-19 45l-512 512q-19 19-45 19t-45-19-19-45v-256h-224q-98 0-175.5 6t-154 21.5-133 42.5-105.5 69.5-80 101-48.5 138.5-17.5 181q0 55 5 123 0 6 2.5 23.5t2.5 26.5q0 15-8.5 25t-23.5 10q-16 0-28-17-7-9-13-22t-13.5-30-10.5-24q-127-285-127-451 0-199 53-333 162-403 875-403h224v-256q0-26 19-45t45-19 45 19l512 512q19 19 19 45z" fill="#fff"/></svg></a>
<p class="under-btn">I've built a Python web app, now how do I deploy it?</p> </div>
</div>
</div><div id="mc_embed_signup">
<form action="//mattmakai.us2.list-manage.com/subscribe/post?u=b7e774f0c4f05dcebbfee183d&id=b22335388d" method="post" id="mc-embedded-subscribe-form" name="mc-embedded-subscribe-form" class="validate" target="_blank" novalidate>
<div id="mc_embed_signup_scroll">
<h4>Sign up here to receive an email with major updates to this site and Python tutorials delivered to your inbox once a month.</h4>
<div class="row">
<div class="col-md-9">
<input type="email" value="" name="EMAIL" class="email form-control" id="mce-EMAIL" placeholder="email address" required>
<div style="position: absolute; left: -5000px;"><input type="text" name="b_b7e774f0c4f05dcebbfee183d_b22335388d" tabindex="-1" value=""></div>
</div>
<div class="col-md-3">
<div class="clear"><input type="submit" value="Subscribe" name="subscribe" id="mc-embedded-subscribe" class="btn btn-success" style="font-family: 'Helvetica Neue';"></div>
</div>
</div>
</div>
</form>
</div>
</div>
<div class="col-md-offset-1 col-md-3" id="sidebar">
<div class="panel panel-success">
<div class="panel-heading">
<h3 class="panel-head">Sponsored By</h3>
</div>
<div class="panel-body">
<a href="https://realpython.com/?utm_source=fsp&utm_medium=promo&utm_campaign=django"><img src="theme/img/sponsored/realpython.png" alt="Real Python logo" width="100%"></a>
<p style="font-size: .8em;">If you're searching for step-by-step Django
tutorials then I highly recommend
<a href="https://realpython.com/?utm_source=fsp&utm_medium=promo&utm_campaign=django" onclick="trackOutboundLink('https://realpython.com/?utm_source=fsp&utm_medium=promo&utm_campaign=django'); return false;">checking out Real Python</a>.
</p>
</div>
</div>
<div class="panel panel-success">
<div class="panel-heading">
<h3 class="panel-head"><a href="/table-of-contents.html" style="color: #fff;">Table of Contents</a></h3>
</div>
<div class="list-group">
<a href="/introduction.html" class="list-group-item smaller-item " style='font-family: "Helvetica Neue",sans-serif;'>Introduction</a>
<a href="/learning-programming.html" class="list-group-item smaller-item " style='font-family: "Helvetica Neue",sans-serif;'>Learning Programming</a>
<a href="/why-use-python.html" class="list-group-item smaller-item " style='font-family: "Helvetica Neue",sans-serif;'>Why Use Python?</a>
<a href="/best-python-resources.html" class="list-group-item smaller-item " style='font-family: "Helvetica Neue",sans-serif;'>Best Python Resources</a>
<a href="/best-python-videos.html" class="list-group-item smaller-item " style='font-family: "Helvetica Neue",sans-serif;'>Best Python Videos</a>
<a href="/enterprise-python.html" class="list-group-item smaller-item " style='font-family: "Helvetica Neue",sans-serif;'>Enterprise Python</a>
<a href="/development-environments.html" class="list-group-item smaller-item " style='font-family: "Helvetica Neue",sans-serif;'>Development Environments</a>
<a href="/vim.html" class="list-group-item smaller-item " style='font-family: "Helvetica Neue",sans-serif;'>Vim</a>
<a href="/emacs.html" class="list-group-item smaller-item " style='font-family: "Helvetica Neue",sans-serif;'>Emacs</a>
<a href="/generators.html" class="list-group-item smaller-item " style='font-family: "Helvetica Neue",sans-serif;'>Generators</a>
<a href="/comprehensions.html" class="list-group-item smaller-item " style='font-family: "Helvetica Neue",sans-serif;'>Comprehensions</a>
<a href="/web-frameworks.html" class="list-group-item smaller-item " style='font-family: "Helvetica Neue",sans-serif;'>Web Frameworks</a>
<a href="/django.html" class="list-group-item smaller-item active" style='font-family: "Helvetica Neue",sans-serif;'>Django</a>
<a href="/flask.html" class="list-group-item smaller-item " style='font-family: "Helvetica Neue",sans-serif;'>Flask</a>
<a href="/bottle.html" class="list-group-item smaller-item " style='font-family: "Helvetica Neue",sans-serif;'>Bottle</a>
<a href="/pyramid.html" class="list-group-item smaller-item " style='font-family: "Helvetica Neue",sans-serif;'>Pyramid</a>
<a href="/morepath.html" class="list-group-item smaller-item " style='font-family: "Helvetica Neue",sans-serif;'>Morepath</a>
<a href="/other-web-frameworks.html" class="list-group-item smaller-item " style='font-family: "Helvetica Neue",sans-serif;'>Other Web Frameworks</a>
<a href="/web-design.html" class="list-group-item smaller-item " style='font-family: "Helvetica Neue",sans-serif;'>Web Design</a>
<a href="/cascading-style-sheets.html" class="list-group-item smaller-item " style='font-family: "Helvetica Neue",sans-serif;'>Cascading Style Sheets</a>
<a href="/javascript.html" class="list-group-item smaller-item " style='font-family: "Helvetica Neue",sans-serif;'>JavaScript</a>
<a href="/websockets.html" class="list-group-item smaller-item " style='font-family: "Helvetica Neue",sans-serif;'>WebSockets</a>
<a href="/web-application-security.html" class="list-group-item smaller-item " style='font-family: "Helvetica Neue",sans-serif;'>Web Application Security</a>
<a href="/static-site-generator.html" class="list-group-item smaller-item " style='font-family: "Helvetica Neue",sans-serif;'>Static Site Generator</a>
<a href="/data.html" class="list-group-item smaller-item " style='font-family: "Helvetica Neue",sans-serif;'>Data</a>
<a href="/databases.html" class="list-group-item smaller-item " style='font-family: "Helvetica Neue",sans-serif;'>Databases</a>
<a href="/no-sql-datastore.html" class="list-group-item smaller-item " style='font-family: "Helvetica Neue",sans-serif;'>NoSQL Data Stores</a>
<a href="/object-relational-mappers-orms.html" class="list-group-item smaller-item " style='font-family: "Helvetica Neue",sans-serif;'>Object-relational Mappers (ORMs)</a>
<a href="/application-programming-interfaces.html" class="list-group-item smaller-item " style='font-family: "Helvetica Neue",sans-serif;'>Application Programming Interfaces</a>
<a href="/api-integration.html" class="list-group-item smaller-item " style='font-family: "Helvetica Neue",sans-serif;'>API Integration</a>
<a href="/api-creation.html" class="list-group-item smaller-item " style='font-family: "Helvetica Neue",sans-serif;'>API Creation</a>
<a href="/deployment.html" class="list-group-item smaller-item " style='font-family: "Helvetica Neue",sans-serif;'>Deployment</a>
<a href="/servers.html" class="list-group-item smaller-item " style='font-family: "Helvetica Neue",sans-serif;'>Servers</a>
<a href="/platform-as-a-service.html" class="list-group-item smaller-item " style='font-family: "Helvetica Neue",sans-serif;'>Platform-as-a-service</a>
<a href="/operating-systems.html" class="list-group-item smaller-item " style='font-family: "Helvetica Neue",sans-serif;'>Operating Systems</a>
<a href="/web-servers.html" class="list-group-item smaller-item " style='font-family: "Helvetica Neue",sans-serif;'>Web Servers</a>
<a href="/wsgi-servers.html" class="list-group-item smaller-item " style='font-family: "Helvetica Neue",sans-serif;'>WSGI Servers</a>
<a href="/source-control.html" class="list-group-item smaller-item " style='font-family: "Helvetica Neue",sans-serif;'>Source Control</a>
<a href="/application-dependencies.html" class="list-group-item smaller-item " style='font-family: "Helvetica Neue",sans-serif;'>Application Dependencies</a>
<a href="/static-content.html" class="list-group-item smaller-item " style='font-family: "Helvetica Neue",sans-serif;'>Static Content</a>
<a href="/task-queues.html" class="list-group-item smaller-item " style='font-family: "Helvetica Neue",sans-serif;'>Task Queues</a>
<a href="/configuration-management.html" class="list-group-item smaller-item " style='font-family: "Helvetica Neue",sans-serif;'>Configuration Management</a>
<a href="/continuous-integration.html" class="list-group-item smaller-item " style='font-family: "Helvetica Neue",sans-serif;'>Continuous Integration</a>
<a href="/logging.html" class="list-group-item smaller-item " style='font-family: "Helvetica Neue",sans-serif;'>Logging</a>
<a href="/monitoring.html" class="list-group-item smaller-item " style='font-family: "Helvetica Neue",sans-serif;'>Monitoring</a>
<a href="/web-analytics.html" class="list-group-item smaller-item " style='font-family: "Helvetica Neue",sans-serif;'>Web Analytics</a>
<a href="/docker.html" class="list-group-item smaller-item " style='font-family: "Helvetica Neue",sans-serif;'>Docker</a>
<a href="/caching.html" class="list-group-item smaller-item " style='font-family: "Helvetica Neue",sans-serif;'>Caching</a>
<a href="/code-metrics.html" class="list-group-item smaller-item " style='font-family: "Helvetica Neue",sans-serif;'>Code Metrics</a>
<a href="/what-full-stack-means.html" class="list-group-item smaller-item " style='font-family: "Helvetica Neue",sans-serif;'>What "Full Stack" Means</a>
<a href="/change-log.html" class="list-group-item smaller-item " style='font-family: "Helvetica Neue",sans-serif;'>Change Log</a>
<a href="/future-directions.html" class="list-group-item smaller-item " style='font-family: "Helvetica Neue",sans-serif;'>Future Directions</a>
<a href="/about-author.html" class="list-group-item smaller-item " style='font-family: "Helvetica Neue",sans-serif;'>About the Author</a>
</div>
</div>
<div class="panel panel-success">
<div class="panel-body">
<a href="http://www.deploypython.com/"><img src="theme/img/sponsored/fsp-deployment-guide.png" alt="The Full Stack Python Guide to Deployments" width="100%"></a>
<p style="font-size: .8em; margin-top: 10px;">Searching for a complete, step-by-step deployment walkthrough? Learn more about <a href="http://www.deploypython.com/">The Full Stack Python Guide to Deployments book</a>.
</p>
</div>
</div> <div class="panel panel-success">
<div class="panel-heading"><h3 class="panel-head">Django</h3></div>
<div class="panel-body">
Major updates are tweeted via
<a href="https://twitter.com/fullstackpython">@fullstackpython</a>.
<hr/>
Need more detailed tutorials than you see here?
<a href="http://www.deploypython.com/">Learn more about The Full Stack Python Guide to Deployments book.</a>
</div>
</div>
</div></div>
<hr/>
<div class="footer pull-right">
<a href="http://www.mattmakai.com/" class="underline">Matt Makai</a>
2015
</div>
</div>
<script type='text/javascript'>
var trackOutboundLink = function(url) { ga('send', 'event', 'outbound', 'click', url, {'hitCallback': function () { document.location = url; } }); }
</script>
</body>
</html>