diff options
author | Alexander Sulfrian <alexander@sulfrian.net> | 2016-01-24 04:33:34 +0100 |
---|---|---|
committer | Alexander Sulfrian <alexander@sulfrian.net> | 2016-02-02 04:22:16 +0100 |
commit | 152bc7c3155ad3bb44bb3d9b14f8ad1854f09961 (patch) | |
tree | b1c80879d52d76bae4d2111f3208f9690f35602b /accounts/utils | |
parent | 587b79a8470a0c069f1b1d81e01685baa5e6a39b (diff) | |
download | web-152bc7c3155ad3bb44bb3d9b14f8ad1854f09961.tar.gz web-152bc7c3155ad3bb44bb3d9b14f8ad1854f09961.tar.bz2 web-152bc7c3155ad3bb44bb3d9b14f8ad1854f09961.zip |
Create models.py with Account and Service
Diffstat (limited to 'accounts/utils')
-rw-r--r-- | accounts/utils/__init__.py | 11 |
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') |