= Django Tutorials = [[TOC]] == General Tutorials == * [http://toys.jacobian.org/presentations/2007/pycon/tutorials/beginning/ A (fast-paced) introduction to Django - Beginners Tutorial] * [http://toys.jacobian.org/presentations/2007/pycon/tutorials/advanced/ More Django (likely more than is healthy) - Advanced Tutorial] * [http://fallingbullets.com/blog/2006/aug/06/wordpress-clone-27-seconds-part-1-40/ WordPress Clone in 27 Seconds] * [http://www.wilsonminer.com/posts/2006/may/10/are-you-generic/ build a portfolio app in 30 minutes with Django] * [http://www.sitepoint.com/article/build-to-do-list-30-minutes Django Djumpstart: Build a To-do List in 30 Minutes] * [http://lukeplant.me.uk/blog.php?id=1107301641 A Django website that took (a lot) more than 20 minutes] * [http://www2.jeffcroft.com/2006/may/02/django-non-programmers/ Django for non-programmers] * [http://www-128.ibm.com/developerworks/linux/library/l-django/index.html Develop for the Web with Django and Python] * [http://www.tim-adler.com/post/blog-mit-django-installation-und-datenmodelle/ Blog mit Django: Weblog-Tutorial (German)] * [http://softwaremaniacs.org/blog/category/django/cicero/ Cicero: a forum in Django (Russian, in progress)] == Tutorials on Specific Topics: == Note: [http://www.djangosnippets.org/ Django snippets] has plenty of code 'snippets' which do all sorts of useful things too. === Setup/Configurations === * [http://www2.jeffcroft.com/2006/may/11/django-dreamhost/ Setting up Django on Dreamhost] * [http://thinkhole.org/wp/django-on-windows/ Django on Windows HOWTO using Python 2.5, Apache (with mod_python), and PostgreSQL] * [http://toolmantim.com/article/2006/5/31/installing_django_on_osx Installing Django on OSX] * [http://www.b-list.org/weblog/2006/05/21/django-gzip-and-wsgi Django, gzip and WSGI] * [http://code.djangoproject.com/wiki/ServerArrangements A comprehensive list of server arrangements and setup guidelines] * [http://www.djangosnippets.org/snippets/105/ installing Django on TextDrive] * [http://blog.awarelabs.com/?p=3 installing Django on Gentoo] * [http://www.cogitooptimus.com/2007/03/21/deploying-trenchmice/ how trenchmice deploys Django] * [http://showmedo.com/videos/video?name=stoops010&fromSeriesID=69 Video - Installing Django on Ubuntu] * [http://coderseye.com/2007/django-and-lighttpd-init-script-and-config-for-ssl.html Django Lighttpd setup with SSL including init.d scripts] === Understanding Django Internals === * [http://www.b-list.org/weblog/2006/06/13/how-django-processes-request How Django processes a request] * [http://www.b-list.org/weblog/2006/06/28/django-tips-difference-between-blank-and-null The difference between blank and null] * [DevModelCreation How Django sets up model classes] === Templates === * [http://www2.jeffcroft.com/2006/feb/21/django-templates-an-introduction/ Django Templates: An Introduction] * [http://www.rossp.org/blog/2006/jun/23/building-blog-django-4/ Using Django’s TemplateTags] * [http://rfc1437.de/page/django-templates-are-not-limited/ Django Templates are not limited] * [http://www2.jeffcroft.com/2006/feb/25/django-templates-the-power-of-inheritance/ Django Templates: The Power of Inheritance] * [http://www.b-list.org/weblog/2006/06/14/django-tips-template-context-processors Template context processors] * [http://www.b-list.org/weblog/2006/06/07/django-tips-write-better-template-tags Write better template tags] * [http://code.djangoproject.com/wiki/MyghtyTemplatesInDjango Using Myghty Templates] * [http://www.unessa.net/en/hoyci/2006/12/custom-admin-templates/ Django Tip: Custom Admin Templates] === Fun stuff with the Admin section === * [http://lukeplant.me.uk/blog.php?id=1107301634 Django Admin Hack - Fields varying with user permissions] * [http://code.djangoproject.com/wiki/AJAXWidgetComboBox An AJAX Select Widget for Django] * [http://www2.jeffcroft.com/2006/jul/14/django-admin-your-php-app/ Use the Django admin for my PHP app] === Generic Views === * [http://www.wilsonminer.com/posts/2006/may/10/are-you-generic/ Taking advantage of generic views] * [http://www.pointy-stick.com/blog/2006/06/29/django-tips-extending-generic-views/ Extending Generic Views] === Email === * [http://www.rossp.org/blog/2006/jul/11/sending-e-mails-templates/ Sending E-Mails using Templates] * [http://step-inside.org/blog/2006/jul/01/django_blog_notifying_comments_email/ Notification of new comments by email using signals] === Searching === * [http://www.mercurytide.com/whitepapers/django-full-text-search/ Extending Django's database API to include full-text search] * [http://www.unessa.net/en/hoyci/2006/11/site-search-and-opensearch-with-django/ Building Site Search And OpenSearch-plugin With Django] * [http://www.kelvinism.com/tech-blog/adding-search-django/ Simple searching with Q] === Signals === * [http://step-inside.org/blog/2006/jul/01/django_blog_notifying_comments_email/ Notification of new comments by email using signals] === Forms === * [http://www.pointy-stick.com/blog/2006/07/03/django-tips-forms-multiple-inline-objects/ Forms With Multiple Inline Objects] * [http://www.mikecantelon.com/?q=node/22 A Simple Use of Django's New Form Engine] * [http://www.oluyede.org/blog/2007/03/18/django-image-uploading-validation-and-newforms/ Image uploading, validation and newforms] * [http://weblog.bignerdranch.com/?p=31 Big Nerd Ranch: Using the Django newforms Library] (+1) * [http://code.pui.ch/2007/01/07/using-djangos-newforms/ Using Django newforms] * [http://www.kelvinism.com/tech-blog/django-newforms-usage-colddirt/ A quick run-through of Django newforms and custom validation] === SQL/Database Related === * [http://www.pointy-stick.com/blog/2006/06/14/custom-sql-django/ Custom SQL In Django] * [http://blog.michaeltrier.com/2007/8/12/finding-lookup-items-that-are-not-used Finding lookup items that are not used]: Left Outer Joins in Django's ORM. === Django's Comments Framework (django.contrib.comments) === * [http://code.djangoproject.com/wiki/UsingFreeComment Using Django’s Free Comments] * [http://www.b-list.org/weblog/2006/07/16/django-tips-hacking-freecomment Hacking FreeComment] * [http://step-inside.org/blog/2006/jul/01/django_blog_notifying_comments_email/ Notification of new comments by email using signals] * [http://www.guindilla.eu/blog/2006/10/21/comment-and-karma-functions-django-framework/ Use of Comment and Karma functions] === RSS Framework (django.contrib.syndication) === * [http://www.oreillynet.com/onlamp/blog/2006/06/django_rss_made_stupidly_simpl.html RSS made stupidly simple] * [http://www.kelvinism.com/tech-blog/django-syndication-colddirt/ RSS made really stupidly simple] * [http://www.kelvinism.com/tech-blog/django-syndication-colddirt-ii/ RSS that's not quite as simple (bits-usage)] * [http://www.satchmoproject.com/blog/2007/aug/15/satchmo-project-gets-rss/ Examples of adding RSS to a site] === User Framework (django.contrib.auth) === * [http://www.b-list.org/weblog/2006/06/06/django-tips-extending-user-model Extending the User model] * [http://www.djangosnippets.org/snippets/74/ use email addresses for usernames] * [http://www.cogitooptimus.com/2007/03/29/enabling-openid/ enabling OpenID in Django] === AJAX and Web 2.0h-yeah === * [http://wolfram.kriesing.de/blog/index.php/2007/json-serialization-for-django JSON Serialization in Django] * [http://www.kelvinism.com/tech-blog/simple-ajax-django/ A really simple example of Django with Prototype] * [http://www.willarson.com/blog/?p=36 6 part introduction to using Prototype and Script.aculo.us with Django] * [http://www.b-list.org/weblog/2006/07/31/django-tips-simple-ajax-example-part-1 A simple AJAX example] * [http://code.djangoproject.com/wiki/KSSInDjango AJAX in django with KSS], using [https://code.launchpad.net/kss.django kss.django application] === Middleware === * [http://www.willarson.com/blog/?p=46 Tutorial on building a Middleware to inject Google Analytics ] === Benchmarks === * [http://superjared.com/entry/quick-django-benching/ Quick Django Benchmark between Apache's mod_python, Lighttpd's FastCGI and Nginx's FastCGI] * [http://www.rkblog.rk.edu.pl/w/p/cherokee-and-lighttpdf-django-scgi-benchmark/ cherokee and lighttpdf Django SCGI benchmark] * [http://www.rkblog.rk.edu.pl/w/p/simple-python-frameworks-benchmark/ Catalyst vs. Django vs. Rails Benchmarks] * [http://wiki.rubyonrails.com/rails/pages/Framework+Performance Comparison between Symfony, Django and Rails] * [http://www.alrond.com/en/2007/jan/25/performance-test-of-6-leading-frameworks/ The performance test of 6 leading frameworks] === Misc. Tutorials === * [http://www.mercurytide.com/whitepapers/django-cheat-sheet/ Django cheat sheet] * [http://www2.jeffcroft.com/2006/jul/14/django-admin-your-php-app/ Use the Django admin for my PHP app] * [http://www.carcosa.net/jason/blog/computing/django/gotchas-2006-04-19 Some django gotchas] * [http://feh.holsman.net/articles/2006/06/03/django-contenttype Django’s Undocumented contenttype app] * [http://www.rkblog.rk.edu.pl/w/p/django-profiling-hotshot-and-kcachegrind/ Django profiling with hotshot and kcachegrind] * [http://www.23excuses.com/2006/Jun/30/simple-django-view-for-dynamic-text-replacement/ Simple Django View For Dynamic Text Replacement] * [http://www.unessa.net/en/hoyci/2006/11/highlighting-code-using-pygments-and-beautiful-soup/ Highlighting Code Using Pygments and Beautiful Soup] * [http://mccormac.org/blog/2007/apr/04/dynamically-serving-static-content-django Dynamically serving static content] * [http://blog.awarelabs.com/?p=4 implementing CNN-style voting], [http://blog.awarelabs.com/?p=5 part 2] * [http://www.cogitooptimus.com/2007/03/29/enabling-openid/ Django and OpenID] * [wiki:CalendarRunThough Calendar-runthough] A rough overview of the process. handy answer to "how does django work?" === Framework Comparisons === * [http://www.vaporbase.com/postings/91 Evaluating Web Development Frameworks: Rails and Django (part 1/15)] * [http://tabo.aurealsys.com/archives/2005/10/11/django-or-why-i-chose-it-over-turbogears-and-ruby-on-rails/ Django, Or why I chose it over turbogears and ruby on rails] * [http://www.oreillynet.com/onlamp/blog/2006/02/a_brief_djangoturbogears_compa.html A brief Django/Turbogears Comparison] * [http://www.rkblog.rk.edu.pl/w/p/simple-python-frameworks-benchmark/ Catalyst vs. Django vs. Rails Benchmarks] * [http://wiki.rubyonrails.com/rails/pages/Framework+Performance Comparison between Symfony, Django and Rails] * [http://www.alrond.com/en/2007/jan/25/performance-test-of-6-leading-frameworks/ The performance test of 6 leading frameworks]