From c9f6afe291e76f4f0deb6467b32ba34861b850f3 Mon Sep 17 00:00:00 2001 From: Jessica Tallon Date: Fri, 17 Jul 2015 17:51:51 +0200 Subject: [PATCH] Change codebase to query or create correct User model The code base had many references to User.username and other specific to LocalUser attributes as that was the way it use to exist. This updates those to query on the generic User model but filtering by attributes on the LocalUser. --- mediagoblin/plugins/archivalook/tools.py | 1 - 1 file changed, 1 deletion(-) diff --git a/mediagoblin/plugins/archivalook/tools.py b/mediagoblin/plugins/archivalook/tools.py index 12142212..e806e4ee 100644 --- a/mediagoblin/plugins/archivalook/tools.py +++ b/mediagoblin/plugins/archivalook/tools.py @@ -13,7 +13,6 @@ # # You should have received a copy of the GNU Affero General Public License # along with this program. If not, see . - import six from mediagoblin.db.models import MediaEntry, User, LocalUser