From: Christopher Allan Webber Date: Tue, 15 Jan 2013 20:34:13 +0000 (-0600) Subject: Need to import uuid4 for generate_slug to totally work X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=72bb46c7c81983817f5060d67c65663f911c4504;p=mediagoblin.git Need to import uuid4 for generate_slug to totally work --- 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