From b841a1e5e198fa2f737fd97a4e574142b1734040 Mon Sep 17 00:00:00 2001 From: Filipp Lepalaan Date: Wed, 25 Nov 2015 12:13:35 +0200 Subject: Add checkin flag to Locations --- servo/models/account.py | 7 ------- 1 file changed, 7 deletions(-) (limited to 'servo/models/account.py') diff --git a/servo/models/account.py b/servo/models/account.py index 13718c2..d4549c6 100644 --- a/servo/models/account.py +++ b/servo/models/account.py @@ -150,13 +150,6 @@ class User(AbstractUser): techies = TechieManager() active = ActiveManager() - def get_location_list(self): - results = [] - for l in self.locations.all(): - results.append({'pk': l.pk, 'name': l.title}) - - return results - @classmethod def serialize(cls, queryset): results = [] -- cgit v1.2.3