aboutsummaryrefslogtreecommitdiffstats
path: root/mediagoblin/plugins/archivalook
diff options
context:
space:
mode:
authorJessica Tallon <tsyesika@tsyesika.se>2015-07-17 17:51:51 +0200
committerJessica Tallon <tsyesika@tsyesika.se>2015-08-19 15:37:27 +0200
commitc9f6afe291e76f4f0deb6467b32ba34861b850f3 (patch)
treed588b2df2cb0efcfff1f4492d5b3886c879d4452 /mediagoblin/plugins/archivalook
parentf0a4c3475fef9e954b80a76cccdc87e4f3ddfacb (diff)
downloadmediagoblin-c9f6afe291e76f4f0deb6467b32ba34861b850f3.tar.lz
mediagoblin-c9f6afe291e76f4f0deb6467b32ba34861b850f3.tar.xz
mediagoblin-c9f6afe291e76f4f0deb6467b32ba34861b850f3.zip
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.
Diffstat (limited to 'mediagoblin/plugins/archivalook')
-rw-r--r--mediagoblin/plugins/archivalook/tools.py1
1 files changed, 0 insertions, 1 deletions
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 <http://www.gnu.org/licenses/>.
-
import six
from mediagoblin.db.models import MediaEntry, User, LocalUser