aboutsummaryrefslogtreecommitdiffstats
path: root/servo/models/account.py
diff options
context:
space:
mode:
authorFilipp Lepalaan <filipp@mac.com>2015-11-25 12:13:35 +0200
committerFilipp Lepalaan <filipp@mac.com>2015-11-25 12:13:35 +0200
commitb841a1e5e198fa2f737fd97a4e574142b1734040 (patch)
tree2e38181a4b22d295bc5029edf4659c8d3f47fc19 /servo/models/account.py
parenta8d2ae954c54f56f551ac2c3e5762a21bd0e651b (diff)
downloadServo-b841a1e5e198fa2f737fd97a4e574142b1734040.tar.gz
Servo-b841a1e5e198fa2f737fd97a4e574142b1734040.tar.bz2
Servo-b841a1e5e198fa2f737fd97a4e574142b1734040.zip
Add checkin flag to Locations
Diffstat (limited to 'servo/models/account.py')
-rw-r--r--servo/models/account.py7
1 files changed, 0 insertions, 7 deletions
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 = []