From: Jessica Tallon Date: Fri, 17 Jul 2015 15:51:51 +0000 (+0200) Subject: Change codebase to query or create correct User model X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=c9f6afe291e76f4f0deb6467b32ba34861b850f3;p=mediagoblin.git 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. --- 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