Tinkering with Django and Ember.js

Published on July 15, 2014, 10:46 p.m.

Hi everyone. Recently I have been looking around at the various JavaScript frameworks that have been blooming out recently. Three came in front of the others, namely BackboneJs, AngularJs and EmberJs.

After looking at all 3 of them, EmberJs is the one which appeals to me the most. But if you hadn't guessed from the tutorials on this blog, I also like Django a lot and most tutorials out there talking about EmberJs and actually using a data backend are using Ruby on Rails and the few that I could find that were talking about Django were based on TastyPie while I like Django-REST-Framework better... So I decided to dive in and go full speed ahead and learn the hard way.

The result of which is Djember-CMS.

JavaScript Bootstrap Ember.js Framework Django Read more...

Creating a custom user model in Django 1.6 - Part 5

Published on July 9, 2014, 1:05 p.m.

Hello everyone and welcome back to the fifth part of this tutorial (part of the Babbler tutorial series). If you haven't read the first four parts I'd encourage you to do so now:

This week we will cover user registration with e-mail validation as well as the "lost / change password" workflow.
As we did two weeks ago we will be using (generic) class-based views to build our forms and Crispy forms to render them. We will also be using Templated emails to handle our email needs and we will create our first management command.

Class-based views Crispy forms Templated e-mails Tutorial Django Custom user model Read more...

Creating a custom user model in Django 1.6 - Part 4

Published on July 5, 2014, 12:33 p.m.

Hi everyone and welcome back to this Django tutorial. If you haven't done so yet, make sure to check out the first, second and third part of this tutorial before getting started today.

Once again, we are sorry about the partial posting of this article earlier this week.

This week we will start by covering the admin login form and allowing users to log into the admin site using their e-mail address or their username instead of just their username.
Then we will go through a couple more advanced cases of custom user model in Django, including expirable users.

Tutorial Django Custom user model Read more...

Erratum

Published on July 2, 2014, 7:17 a.m.

Hello everyone.
We are sorry but it appears we published a partial post yesterday evening. It has been unpublished and its full version will be re-published tonight.
In the mean time, have a great day everyone.

Django Read more...

Creating a custom user model in Django 1.6 - Part 3

Published on June 24, 2014, 7:40 p.m.

Hello everyone and welcome back to the third part of this tutorial series. If you haven't done so yet, make sure to checkout part 1 and 2 first.
Last week we saw how to create and use admin forms with a custom user model. This week we will go through the process of creating a frontend login form. During this process we will also cover (part of) template inheritancecsrfthe messages framework, accessing the user from the template and Crispy forms.

I know last week I announced that this week's post would also cover the admin login form but finally the admin login form will be covered next week.

Class-based views Crispy forms Tutorial Django Custom user model 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...

Creating a custom user model in Django 1.6 - Part 1

Published on June 10, 2014, 11 a.m.

Welcome back to our Django tutorial series.

Before Django 1.5 customizing the user model was a bit of a hack as it involved creating a user profile with a one-to-one relationship to the user. All that changed in 1.5.

In this tutorial we are goin to see how to substitue Django's default user model with our own and allow the use of a user's e-mail instead of it's username during the login process.

Since 1.7 is not officially stable yet, this tutorial is meant for Django 1.6 but should also work with 1.7 (except for the South part which will be replaced in 1.7 by Django's own schema migration mechanism)

Tutorial Django Custom user model Read more...

A-responsive-1: Responsive theme for Redmine - Alpha release

Published on June 6, 2014, 7:35 a.m.

A few weeks ago, I told you we were working on a responsive theme for Redmine without giving any release date....
Well, here we are: alpha has been released and is available here.

This theme is loosely inspired by A1 and built upon Bootstrap Sass mixins.
This project is still in its alpha stage and you can read all about why we created it and what is supported so far on its homepage.

When we first decided to use Redmine in a larger-scale project, we needed it to be responsive, so we started looking for a responsive redmine theme but found none that worked or that was truly responsive. So we decided to build our own.

Here is a (non-exhaustive) list of features:

  • Fluid grid design
  • Collapsible top menu
  • Expandable one-line main menu
  • Sidebar slides to the right of the screen on smaller devices and can be slided over the main content if needed
  • Responsive tables
Responsive Bootstrap Redmine Sass Read more...

What is good project management?

Published on May 26, 2014, 8 a.m.

Last week we spoke about free online project management tools. Having good tools is important but knowing how to use them is even more so.

Project management can often be overlooked at the start of a project (when it is the most vital), usually because the commercial staff who "sold" the project is not fully aware of the technologies they are selling, their strength and their weaknesses or as often because we live in a world where looks is what matters and projects are sold according to how they look but not how efficient they are, project management is thus often set aside and design is brought forward.
But look at it this way: I guess we can all agree that a Ferrarri looks gorgeous, some people buy them only for their appearance but most people do buy them because of the engine which is hidden under the hood.

Good project management is making sure that the project you are selling will have the engine of a Ferrarri as well as its looks.

My 2 cents Project management Read more...

The importance of a good project management tool

Published on May 21, 2014, 10:24 a.m.

Last week, we told you about building a truly responsive Redmine theme (which is currently in testing) and we cannot mention Redmine without speaking of the importance of using a good project management tool.

There are only a few free open-source web-based project management software worth mentionning:

Redmine is by far my favourite.
Trac had its glory days but it requires a different intallation for each project (multi-projects is supposed to be supported using a multitude of hacks) and its configuration is far from being user-friendly.
Project | Pier has a nice modern interface with nice features and is a promissing project but today it lacks the addons collection available on Redmine.

Project management Redmine My 2 cents Read more...