Need to import uuid4 for generate_slug to totally work
authorChristopher Allan Webber <cwebber@dustycloud.org>
Tue, 15 Jan 2013 20:34:13 +0000 (14:34 -0600)
committerChristopher Allan Webber <cwebber@dustycloud.org>
Tue, 15 Jan 2013 20:34:13 +0000 (14:34 -0600)
mediagoblin/db/mixin.py

index daeda8cedb48f19617b2f34d9396305f86ca1c0f..d3d4da6614d9f22b26b806bab5249cef71003b8d 100644 (file)
@@ -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