Skip to content
This repository was archived by the owner on Oct 28, 2019. It is now read-only.

Commit efc951d

Browse files
committed
Merge pull request #16 from Dijit/master
Updated to reflect the live settings.
2 parents 14c7675 + 824d7d5 commit efc951d

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

paste/forms.py

+1
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
from paste.models import Snippet
44

55
EXPIRE_CHOICES = (
6+
(600, 'In 10 minutes'),
67
(3600, 'In one hour'),
78
(3600*24, 'In one day'),
89
(3600*24*7, 'In one week'),

pasteapp/settings.py

+3-5
Original file line numberDiff line numberDiff line change
@@ -60,14 +60,12 @@
6060
# Don't put anything in this directory yourself; store your static files
6161
# in apps' "static/" subdirectories and in STATICFILES_DIRS.
6262
# Example: "/home/media/media.lawrence.com/static/"
63-
STATIC_ROOT = ''
63+
STATIC_ROOT = '/srv/snippt/static'
6464

6565
# URL prefix for static files.
6666
# Example: "http://media.lawrence.com/static/"
67-
if DEBUG:
68-
STATIC_URL = '/static/'
69-
else:
70-
STATIC_URL = 'http://dl.dropbox.com/u/2325654/paste/'
67+
STATIC_URL = '/static/'
68+
7169

7270
# URL prefix for admin static files -- CSS, JavaScript and images.
7371
# Make sure to use a trailing slash.

0 commit comments

Comments
 (0)