Move stray magic values to literals.py in the checkout app. gh-issue #225.

This commit is contained in:
Roberto Rosario
2015-07-10 16:14:21 -04:00
parent aec8263ad8
commit c3be4bef53
3 changed files with 7 additions and 3 deletions

View File

@@ -2,6 +2,9 @@ from __future__ import unicode_literals
from django.utils.translation import ugettext_lazy as _
CHECK_EXPIRED_CHECK_OUTS_INTERVAL = 60 # Lowest check out expiration allowed
CHECKOUT_EXPIRATION_LOCK_EXPIRE = 50
STATE_CHECKED_OUT = 'checkedout'
STATE_CHECKED_IN = 'checkedin'
@@ -9,3 +12,4 @@ STATE_LABELS = {
STATE_CHECKED_OUT: _('Checked out'),
STATE_CHECKED_IN: _('Checked in/available'),
}