Skip to content

Instantly share code, notes, and snippets.

View playpauseandstop's full-sized avatar

Igor Davydenko playpauseandstop

View GitHub Profile
@playpauseandstop
playpauseandstop / stringmethods.py
Created December 1, 2009 22:56
Make possible to use all Python string methods as Django template filters
"""
=============
stringmethods
=============
Make possible to use all Python string methods as Django template filters. Also
provide custom template tag ``{% stringmethod %}`` to use methods with more
than one argument, like ``format``, ``count`` and other.
Restrictions

tddspry

Utilities to test Django applications with nosetests and twill.

TestCases

NoseTestCase

#!/usr/bin/env python
import pprint
import re
import sys
try:
from flickrapi import FlickrAPI
from flickrapi.exceptions import FlickrError
except ImportError: