summaryrefslogtreecommitdiffstats
path: root/accounts/utils/__init__.py
diff options
context:
space:
mode:
authorAlexander Sulfrian <alexander@sulfrian.net>2016-01-24 04:33:34 +0100
committerAlexander Sulfrian <alexander@sulfrian.net>2016-02-02 04:22:16 +0100
commit152bc7c3155ad3bb44bb3d9b14f8ad1854f09961 (patch)
treeb1c80879d52d76bae4d2111f3208f9690f35602b /accounts/utils/__init__.py
parent587b79a8470a0c069f1b1d81e01685baa5e6a39b (diff)
downloadweb-152bc7c3155ad3bb44bb3d9b14f8ad1854f09961.tar.gz
web-152bc7c3155ad3bb44bb3d9b14f8ad1854f09961.tar.bz2
web-152bc7c3155ad3bb44bb3d9b14f8ad1854f09961.zip
Create models.py with Account and Service
Diffstat (limited to 'accounts/utils/__init__.py')
-rw-r--r--accounts/utils/__init__.py11
1 files changed, 0 insertions, 11 deletions
diff --git a/accounts/utils/__init__.py b/accounts/utils/__init__.py
index 2b0f566..6698734 100644
--- a/accounts/utils/__init__.py
+++ b/accounts/utils/__init__.py
@@ -162,17 +162,6 @@ def constant_time_compare(val1, val2):
return result == 0
-class Service(object):
- def __init__(self, id, name, url):
- self.id = id
- self.name = name
- self.url = url
- self.changed = None # used by settings view
-
- def __repr__(self):
- return '<Service %s>' % self.id
-
-
def ensure_utf8(s):
if isinstance(s, unicode):
s = s.encode('utf8')