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 »
Tags: django, newforms, python
Posted in django | Leave a Comment »
November 5, 2006 by simonsay
Posted in install | Leave a Comment »
November 5, 2006 by simonsay
http://online.effbot.org/
http://www.squidoo.com/pythonology
Posted in python | Leave a Comment »
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
Posted in install, last.fm, linux, music | 3 Comments »
November 5, 2006 by simonsay
Welcome to WordPress.com. This is your first post. Edit or delete it and start blogging!
Posted in Uncategorized | 1 Comment »