Refactor generate_slug into a mixin.
authorElrond <elrond+mediagoblin.org@samba-tng.org>
Fri, 25 Jan 2013 20:53:28 +0000 (21:53 +0100)
committerElrond <elrond+mediagoblin.org@samba-tng.org>
Sat, 6 Apr 2013 14:53:04 +0000 (16:53 +0200)
commit29c65044bf1af13161e52801a1589ec0f3d93fd9
treead6bdd71ed9e15eafb05301ccb4be8cd9682c352
parentfe6755f0f44e1148e2cb72538f8e64c4a9740f7f
Refactor generate_slug into a mixin.

Refactor the new generate_slug into a mixin to
allow it to be used for collections also.
mediagoblin/db/mixin.py