Creating a re-usable Django app - Part 1

Published on Aug. 30, 2014, 1:02 p.m.

Hi everyone and welcome back for this next tutorial of the Babbler series. This tutorial will cover 2 ways of creating a re-usable Django app.

The first and simplest one is apps for flexible and personal re-use.

The second one is a somewhat less simple way of doing it but which allows re-distribution of your application and that can be a very good thing too!

For the first part of this tutorial we will be using the custom user model, built during the previous tutorial, as a starting point. The second part will be using the theme application built during the Using your own flavour of bootstrap with django tutorial.

Tutorial South Django Read more...

Creating a custom user model in Django 1.6 - Part 2

Published on June 17, 2014, 10:30 a.m.

Welcome back for the second part of this tutorial about creating a custom user model in Django.
Last week, we covered the Model and Manager creation as well as schema migration. For those of you who had previously existing users, this week we'll cover data migration and then we will cover (admin) forms.

Tutorial South Django Custom user model Read more...

Starting a Django project and deploying it to an Apache server - Part 3

Published on Jan. 20, 2014, 9 a.m.

Welcome back for part 3 of this tutorial. If you haven't read them yet, be sure to read part 1 and part 2 before we get started.
These past 2 weeks we have seen how to setup our development environment and we've started our small application and added it to the admin.
This week we are going to build a frontend page to display our statuses then we'll add a created field, that way we can sort statuses when displaying them.

Tutorial South Class-based views Django Read more...

Starting a Django project and deploying it to an Apache server - Part 2

Published on Jan. 13, 2014, 9 a.m.

Welcome to part 2 of this tutorial.
In part 1, we have seen how to setup a VirtualEnv and a Mercurial repository with a running Django project. If you haven't read it yet, I encourage you to do so without waiting.
In this second part, we will:

  • initialize the database
  • create a small feed app
  • start exploring the administration interface
Tutorial South Django Read more...

Starting a Django project and deploying it to an Apache server - Part 1

Published on Jan. 6, 2014, 9 a.m.

There are several ways to start a Django project, here we will be explaining how we do it. Our way is not supposed to be the "best way" nor the "only way", it's just our way and we would like to share.

To start our project we will use:

VirtualEnv South Tutorial Wsgi Apache Mercurial Django Read more...