mirror of
https://github.com/DarrenOfficial/dpaste.git
synced 2024-11-15 08:02:54 +11:00
The expiration choice ‚never‘ is now enabled by default.
This commit is contained in:
parent
3944c4db90
commit
afafd4fb3b
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue