summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoremkael <emkael@tlen.pl>2016-11-25 18:00:29 +0100
committeremkael <emkael@tlen.pl>2016-11-25 18:00:29 +0100
commit62dca92a29e746d7dabf04ad7bea6931fa0e7ad7 (patch)
tree72aafb43a0885ba4ac7fd43873e7d045ef2a0edd
parent9dfdf363fabc519ffcfddd7cca080d9a20bfea2d (diff)
Replacing cached_property module from Django to a standalone one
-rw-r--r--ql/lineup.py2
-rw-r--r--requirements-linux.txt1
-rw-r--r--requirements-windows.txt1
3 files changed, 3 insertions, 1 deletions
diff --git a/ql/lineup.py b/ql/lineup.py
index b0d5847..5a2ce82 100644
--- a/ql/lineup.py
+++ b/ql/lineup.py
@@ -1,5 +1,5 @@
# -*- coding: utf-8 -*-
-from django.utils.functional import cached_property
+from cached_property import cached_property
from .orm.models import Segment, Team, Player
diff --git a/requirements-linux.txt b/requirements-linux.txt
index 02377be..967d473 100644
--- a/requirements-linux.txt
+++ b/requirements-linux.txt
@@ -1,3 +1,4 @@
django
mysqlclient
readline
+cached_property
diff --git a/requirements-windows.txt b/requirements-windows.txt
index 48b847f..3e5e893 100644
--- a/requirements-windows.txt
+++ b/requirements-windows.txt
@@ -1,2 +1,3 @@
django
pyreadline
+cached_property