Django 101

Warning: The browser you are currently using isn't supported on this website. The enjoy this course the way it was intended please upgrade your browser or use Google Chrome or Mozilla Firefox.


The full course consist of 22 interactive audio chapters covering the following topics:

  1. 1. Django introduction

    In this chapter you'll learn what Django is, what you can do with it and why it's so awesome. You can check out this first chapter for free here.

  2. 2. Python crash course

    New to python? In this crash course you will learn the absolute python basics needed to get started using Django.

  3. 3. Setting up a development server

    In this chapter I'll teach you how to set-up a development server for your first Django project.

  4. 4. Keeping projects apart: Virtualenv

    Multiple Django projects on the same server? No problem, but we need to keep the dependancies apart to avoid problems between different applications. In this chapter I'll teach you what virtualenv does, why you should use it and how to work with it.

  5. 5. Your first django site: “Hello Django”

    In this chapter we will start using Django for the first time. We will set-up our first project and extend it in the next chapters.

  6. 6. Tweak the defaults: Settings

    Django has a wide range of settings and possibilities. In this chapter we will cover the most important ones.

  7. 7. Where to go from here: URL Routing

    Great looking URL's are easy to create in Django thanks to the way it handles URL's. In this chapter I'll show you how URL routing works in Django and how you should implement it in your application.

  8. 8. Views, Requests & Responses

    A view turns your visitors request (page load) into a response (for example a HTML page), so they are quite important in Django. In this chapter I'll tell you all about these views and the request and response objects we need to process.

  9. 9. Showing off your front-end skills: Templates

    On most web-applications we need to respond with a HTML page. Django is equipped with a powerful templating module to help you do this. In this chapter I'll cover the Django templating basics.

  10. 10. Using the database: Django Models

    Most web-applications are just data manipulators. You see data from the database, You put data in the database and you update this data. To allow you to use your database in a very code-efficient way Django uses the Django Models ORM. In this chapter I'll teach you how this works and how you can create your own models.

  11. 11. Managing your database: The Django Admin site

    Building administrative screens for your database often is a boring and repeating task you have to deal with. This isn't the case in Django. Django ships with a advanced administration module; Making it a piece of cake to administrate your database using your models. In this chapter I'll teach you how this works and how to integrate it in your application.

  12. 12. Querying and manipulating data from your models

    In this chapter I'll tell you how to manipulate your data using the models you've created. We will fetch data from the database using these models, update and delete it and create new entries from within a view.

  13. 13. Data entry: Django Forms

    When working with forms you used to take care of a lot of stuff; For example validation on all fields, error messages, creating all the HTML and adding it to the database. This tasks becomes super easy if you start using Django Forms. In this chapter I'll tell you all about it.

  14. 14. Crossing the borders: Internationalization

    Need multiple languages on your site? No problem with Django. In this chapter we will cover the i18n features of Django and we will show you how to use them in your application.

  15. 15. Do more with your templates

    In this chapter you'll learn to create your own custom templatetags, filters and context processors to provide your templates with some extra features.

  16. 16. Personalize your site: Django Authentication

    Building a community? No need to re-invent the wheel then. Django provides all the basics you need to extend your site with Users and Authentication. In this chapter I'll show you how this works.

  17. 17. Not just HTML: Other response formats

    Need to output something else as just HTML, for example a sitemap, RSS feed, JSON data or XML? No problem, this chapter will cover it all.

  18. 18. Making it fast: Caching

    Optimizing your site is a hard task. Caching helps you with this. In this chapter we will cover what caching is, what you can do with it, how it works in Django and the caching mechanisms available in Django.

  19. 19. Static files and Media

    A site without stylesheets, javascript and images is simple, but not what most people are after. In this chapter I'll teach you how to serve and use media in Django.

  20. 20. Other batteries

    Django comes with a range of other cool tools like for example Pagination, Flatpages and Messages. In this chapter I'll cover the most important.

  21. 21. Preparation for deployment

    In this chapter I'll learn you what you need to know about optimizing and finalizing your site for deployment. This chapter includes compressing your media files, logging errors, proving 404 and 500 error pages and preparing your settings for the big launch.

  22. 22. Going live, deploying your site

    In this chapter you'll learn how to deploy your site to a web-server and all the things you have to keep in mind while you're doing this.

Ready to learn?

order now