aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristopher Allan Webber <cwebber@dustycloud.org>2013-01-15 14:34:13 -0600
committerChristopher Allan Webber <cwebber@dustycloud.org>2013-01-15 14:34:13 -0600
commit72bb46c7c81983817f5060d67c65663f911c4504 (patch)
treed87a9c5aa6eaa81cb5bae5b7fc0b477cd2311012
parent66d9f1b2a041eeb3dd592b807ad06c25acb746c7 (diff)
downloadmediagoblin-72bb46c7c81983817f5060d67c65663f911c4504.tar.lz
mediagoblin-72bb46c7c81983817f5060d67c65663f911c4504.tar.xz
mediagoblin-72bb46c7c81983817f5060d67c65663f911c4504.zip
Need to import uuid4 for generate_slug to totally work
-rw-r--r--mediagoblin/db/mixin.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/mediagoblin/db/mixin.py b/mediagoblin/db/mixin.py
index daeda8ce..d3d4da66 100644
--- a/mediagoblin/db/mixin.py
+++ b/mediagoblin/db/mixin.py
@@ -27,6 +27,8 @@ These functions now live here and get "mixed in" into the
real objects.
"""
+from uuid import uuid4
+
from werkzeug.utils import cached_property
from mediagoblin import mg_globals