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

Commit 824d7d5

Browse files
author
Jan Harasym
committed
Updated static file location.
1 parent 2436b99 commit 824d7d5

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

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)