A collection of Django apps demonstrating how you do day to day things with this framework
Python JavaScript HTML CSS
Latest commit e26cbae May 6, 2015 @sametmax Merge pull request #17 from kurthalex/master
Fix bad directory path in app1 readme
Permalink
Failed to load latest commit information.
apps Fix bad directory path in app1 readme May 6, 2015
libs Converting urlpatterns to list. Apr 12, 2015
project Merging typos fixes Apr 13, 2015
.gitignore Removed future_apps Jun 22, 2013
CONTRIBUTORS Create CONTRIBUTORS Apr 14, 2015
LICENCE Added MIT Licence Apr 11, 2015
README.rst Fixed several typos. Apr 12, 2015
manage.py

README.rst

Django, an app at a time

How to use?

Download and extract this project, and run:

python ./manage.py runserver

You don't need to install anything.

Go to the URL http://127.0.0.1:8000 and play with the apps.

When you want to see how it works, go to the "apps" directory and watch the commented source code.

Each app assumes you understand the previous ones, and contains a README to guide you.

Download links:

What's in there?

  • "apps" : contains all the applications, sorted by complexity and requirements. This is what you want to read.
  • "project": the Django project itself, containing settings and the main URL routes definition. You should have a look in there from time to time, it puts the apps in context and contains some tips.
  • "libs": dependencies such as Django or external libraries that you would have to install otherwise. You don't need to, but you can look into it once you start feeling comfortable with Django.
  • "libs/ignore_me": the app that lists all the apps, and the main page of the project. You can ignore it, it's not very interesting.
  • "manage.py": the command to interact with the Django project. This one is a bit modified so don't replace it.
  • ".gitignore": a configuration file for git. You don't need this for Django. It's here to help me.

Notes

In a real project, you WOULD have to install something. Dependencies are provided here for convenience, dumped in libs/, but you would definitely use pip and virtualenv in a real project.

By the way, this is NOT a tutorial. The purpose is not to replace a full course about how Django works, but rather to give you a concrete example on how each task can be achieved with Django.

Translations and spell corrections welcome!