Hooks for m2m-fields and inline formsets in Django newforms

January 23, 2008 by simonsay

So,

it seems many people, like myself, come across a situation where they when saving an instance want to do some action based on related objects. And most likely they soon find out that the related objects haven’t been updated or saved by the time the save method is called. The Django ORM gives no such guarantee, and I can see why it’s made that way. What I think could be done is letting the form processing notify you when many-to-many and inline formsets have been processed.

Read the rest of this entry »

PIM:s and efficiency apps

November 5, 2006 by simonsay

This can be useful
Synchronization setup description, Syncronization service

iscrybe.com

wordpress

Also visited 30boxes and bunch of other sites.

Python links

November 5, 2006 by simonsay

http://online.effbot.org/

http://www.squidoo.com/pythonology

Making Last.fm run in Ubuntu Linux

November 5, 2006 by simonsay

Download http://static.last.fm/player/LastfmLinux-1.0.5.tar.bz2
Unpack the file and copy the Last.fm-1.0.5 directory (as root) to /usr/local/lib. Create /usr/local/bin/lastfm:

#! /bin/sh
/usr/local/lib/Last.fm-1.0.5/player $1
# end

chmod 755 /usr/local/bin/lastfm

gconftool-2 --type string --set /desktop/gnome/url-handlers/lastfm/command 'lastfm "%s"'
gconftool-2 --type bool --set /desktop/gnome/url-handlers/lastfm/needs_terminal false
gconftool-2 --type bool --set /desktop/gnome/url-handlers/lastfm/enabled true

Might need to install libxinerama1 if not already there..

Sources:
http://www.last.fm/group/Debian+Linux/forum/8592/_/62015
and another one containing the url-handling stuff – link lost though

Hello world!

November 5, 2006 by simonsay

Welcome to WordPress.com. This is your first post. Edit or delete it and start blogging!