mirror of
https://github.com/django-q2/django-q2.git
synced 2026-10-05 02:28:12 +08:00
upping the coverage
This commit is contained in:
+2
-4
@@ -46,10 +46,8 @@ class Conf(object):
|
||||
LABEL = conf.get('label', 'Django Q')
|
||||
|
||||
# Use the secret key for package signing
|
||||
try:
|
||||
SECRET_KEY = settings.SECRET_KEY
|
||||
except AttributeError:
|
||||
SECRET_KEY = 'omgicantbelieveudonthaveasecretkey'
|
||||
# Django itself should raise an error if it's not configured
|
||||
SECRET_KEY = settings.SECRET_KEY
|
||||
|
||||
# The redis list key
|
||||
Q_LIST = 'django_q:{}:q'.format(PREFIX)
|
||||
|
||||
Reference in New Issue
Block a user