From afafd4fb3ba9cad28e2b3973ef5c639b842b7b51 Mon Sep 17 00:00:00 2001 From: Martin Mahner Date: Sun, 8 Jun 2014 20:09:36 +0200 Subject: [PATCH] =?UTF-8?q?The=20expiration=20choice=20=E2=80=9Anever?= =?UTF-8?q?=E2=80=98=20is=20now=20enabled=20by=20default.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- dpaste/forms.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dpaste/forms.py b/dpaste/forms.py index 58f3825..1379622 100644 --- a/dpaste/forms.py +++ b/dpaste/forms.py @@ -12,7 +12,7 @@ EXPIRE_CHOICES = getattr(settings, 'DPASTE_EXPIRE_CHOICES', ( (3600, _(u'In one hour')), (3600 * 24 * 7, _(u'In one week')), (3600 * 24 * 30, _(u'In one month')), - # ('never', _(u'Never')), + ('never', _(u'Never')), )) EXPIRE_DEFAULT = getattr(settings, 'DPASTE_EXPIRE_DEFAULT', EXPIRE_CHOICES[3][0]) MAX_CONTENT_LENGTH = getattr(settings, 'DPASTE_MAX_CONTENT_LENGTH', 250*1024*1024)