Here are the posts tagged with tutorial:

Shorter Django Class-based Views Using Lambda Functions

posted by Herman on March 22, 2012, comments
A frequent pattern in Django Class-based Views, specifically when using it for forms, is the need to specify a success_url, like this: from django.views.generic.edit import FormView class MyView(FormView):     form_class = forms.MyForm     success_url = '/accounts/success/' However, you don't want to hardcode the URL like that, because that violates DRY ...... Read more
 

Learning Django: Where to start and what to know

posted by Herman on Feb. 3, 2012, comments
A lot of people have recently been telling me that they want to start learning Django. That's great, and I'm happy to learn that the Django community is growing! To help all of you starting out with Django, here are some tips I'd like to share: Build Something The best ...... Read more
 

How to Generate Pixel Perfect CSS Sprites in Inkscape

posted by Herman on Dec. 7, 2011, comments
Figuring out how to make pixel-perfect CSS sprites on Inkscape can be tricky if you're relatively new to it. Here's a quick how-to on how to make the sprite .png you see below, starting from just the separate icons for the first row. In it is contained some of the ...... Read more
 

How to add full text search to your Django app with PostgreSQL and South Migrations

posted by Herman on April 19, 2011, comments
Note: In most situations, Django Haystack is the way to go for full text search in Django. But if Haystack is overkill and you only need simple full text search without installing extra packages and having to run scheduled tasks, read on to find out how to add full text ...... Read more