Media data without media directory

It's not a big trouble, but I wanted to remove the /media/ prefix on all my media links, like...and so on.This can be easily achieved by replacing in apache's configuration file:SetHandler NonebySetHandler NoneOf course you have to have all you...

comments

TransDb: Django’s i18n for database

Today I've created my own code for having (in Django) fields in more than one language stored in database. There were some other packages, but none of them useful for me (as commented here).TransDb's main goal is that is simple, for application...

comments

Django is “order sensitive”

Sometimes I forget that django's settings.py is a Python script, and not a plain configuration file. And forgetting it causes django to behave unexpectedly. A couple of examples that happened to are related to array sorting.Some days ago I...

comments

Common web features in Django

Here is a brief list of common web features, and the best way I know for achieving it in Django:- Breadcrumbs: use {{ block.super }} for recursive link inheritance [more info] Back button: use {{ request.META.HTTP_REFERER }} for linking to...

comments

DSNP 0.11 released

DSNP is a shell script that automatically setups a new Django project, with user custom settings.It's specially useful for users that create many Django projects following same patterns.After a first very simple release, version 0.11 has...

comments

Django spanish localflavor at trunk

Today has been committed to Django trunk version spanish localflavor patch.It includes selector fields for provinces and regions, and validation form functions for postal codes, phone numbers, and nif and ccc codes.Patch was started by Ricardo J...

comments

Leopard coming soon

After some delays, and some lack of official information, today I finally realized that Apple's new operating will be released on Friday October 26th.I actually checked it in Apple's headquarters at Cupertino, in my last visit to California, but...

comments

DSNP (Django Start New Project)

DSNP is a shell script that automatically creates Django's new projects.Django is a powerful framework, mostly designed for big applications, but many people uses it for developing little (and many) projects. DSNP eases creation of new projects,...

comments

Google Video Lectures

I often check Google Video for conferences about technologies, trends, or anything about IT. I like it more than just read books, articles or posts.Today I've realized about Google Video Lectures, a set of videos about many subjects (AJAX,...

comments