Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Update docs and test settings for STATIC_URL

  • Loading branch information...
commit 36fbc33e7bb9ee3677d8d79e88fd8256b69b5b04 1 parent 2691ff0
Stuart Colville muffinresearch authored
3  docs/settings/settings_local.dev.py
View
@@ -66,9 +66,6 @@
# Disables custom routing in settings.py so that tasks actually run.
CELERY_ROUTES = {}
-# paths for images, not necessary for dev
-STATIC_URL = ''
-
# Disable timeout code during development because it uses the signal module
# which can only run in the main thread. Celery uses threads in dev.
VALIDATOR_TIMEOUT = -1
6 docs/topics/install-zamboni/installation.rst
View
@@ -298,10 +298,12 @@ Persona
-------
We use `Persona <https://login.persona.org/>`_ to log in and create accounts.
-In order for this to work you need to set ``SITE_URL`` in your local
-settings file based on how you run your dev server. Here is an example::
+In order for this to work you need to set ``SITE_URL`` and ``STATIC_URL`` in
+your local settings file based on how you run your dev server. Here is an
+example::
SITE_URL = 'http://localhost:8000'
+ STATIC_URL = SITE_URL
Create an Admin User
--------------------
2  settings_test.py
View
@@ -53,8 +53,8 @@ def _polite_tmpdir():
PAYPAL_PERMISSIONS_URL = ''
-STATIC_URL = ''
SITE_URL = ''
+STATIC_URL = 'http://testserver'
MOBILE_SITE_URL = ''
MEDIA_URL = '/media/'
# Reset these URLs to the defaults so your settings_local doesn't clobber them:
Please sign in to comment.
Something went wrong with that request. Please try again.