Skip to content

Commit

Permalink
Merge branch 'master' of github.com:dcramer/django-devserver
Browse files Browse the repository at this point in the history
Conflicts:
	devserver/management/commands/runserver.py
  • Loading branch information
dcramer committed Aug 10, 2011
2 parents 9913bfa + 31cf397 commit 18dae5e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ Specify modules to load via the ``DEVSERVER_MODULES`` setting::
'devserver.modules.profile.LineProfilerModule',
)

You may also specify prefixes to skip processing for. By default, ``ADMIN_MEDIA_PREFIX`` and ``MEDIA_URL`` will be ignored (assuming ``MEDIA_URL`` is relative)::
You may also specify prefixes to skip processing for. By default, ``ADMIN_MEDIA_PREFIX``, ``MEDIA_URL`` and ``STATIC_URL`` (for Django >= 1.3) will be ignored (assuming ``MEDIA_URL`` and ``STATIC_URL`` is relative)::

DEVSERVER_IGNORED_PREFIXES = ['/media', '/uploads']

Expand Down
2 changes: 1 addition & 1 deletion devserver/management/commands/runserver.py
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ def inner_run():
use_reloader=use_reloader, use_debugger=True)
else:
run(addr, int(port), app, mixin)
except WSGIServerException:
except WSGIServerException, e:
# Use helpful error messages instead of ugly tracebacks.
ERRORS = {
13: "You don't have permission to access that port.",
Expand Down

0 comments on commit 18dae5e

Please sign in to comment.