aboutsummaryrefslogtreecommitdiffstats
path: root/mediagoblin/db/sql/models.py
diff options
context:
space:
mode:
authorElrond <elrond+mediagoblin.org@samba-tng.org>2012-02-19 12:14:13 +0100
committerElrond <elrond+mediagoblin.org@samba-tng.org>2012-03-07 21:32:20 +0100
commit814334f6eb95de5521796f798104e216706fe81f (patch)
tree0f326aa555604b2713f1ad6c8bf3b1bb3eb79be8 /mediagoblin/db/sql/models.py
parent74743bed0a600db13ffb98e9bfe0bffff17720ee (diff)
downloadmediagoblin-814334f6eb95de5521796f798104e216706fe81f.tar.lz
mediagoblin-814334f6eb95de5521796f798104e216706fe81f.tar.xz
mediagoblin-814334f6eb95de5521796f798104e216706fe81f.zip
Generic generate_slug for mongo and sql.
Using the new check_media_slug_used it is possible to have one generic generate_slug in the mixin class instead of in each db class. In the sql variant self.id is not always set: If the slug alone would create a dupe the current code decides for "no slug at all".
Diffstat (limited to 'mediagoblin/db/sql/models.py')
0 files changed, 0 insertions, 0 deletions