July 2010
3 posts
4 tags
Shortcut for printing user's full name or username...
That’s it:
from django import template
@register.filter
def nice_name(user):
"""
Example::
Hi, {{ user|nice_name }}
"""
return user.get_full_name() or user.username
5 tags
Great setup example for Nginx + FastCGI +... →
It also uses fabfile for automation of start / restart process.
3 tags
Seems like i’m in trend. The idea to build decentralized network comes to me again and again.
And it seems, we’ll see first p2p social networks soon. Wuala is running. Diaspora is coming. Actually, their start is amazing: they’ve raised investments on Kickstarter and made friends with Pivotal Labs.
I’m working on social network prototype at the moment. The key feature...