Browse Source

move MUMBLE_DEFAULT_PORT to the "only change if you know what you're doing" section

Natenom/support-murmur-13-1446181288462
Michael Ziegler 15 years ago
parent
commit
546b320241
  1. 7
      pyweb/settings.py

7
pyweb/settings.py

@ -94,9 +94,6 @@ DEFAULT_FROM_EMAIL = "webmaster@localhost"
# Length of the account activation period, in days. # Length of the account activation period, in days.
ACCOUNT_ACTIVATION_DAYS = 30 ACCOUNT_ACTIVATION_DAYS = 30
# Default mumble port. If your server runs under this port, it will not be included in the links in the Channel Viewer.
MUMBLE_DEFAULT_PORT = 64738
# Should subchannels be shown, even if there are no players in them? # Should subchannels be shown, even if there are no players in them?
SHOW_EMPTY_SUBCHANS = False SHOW_EMPTY_SUBCHANS = False
@ -138,6 +135,10 @@ from os.path import join, dirname, abspath, exists
if not MUMBLE_DJANGO_ROOT or not exists( MUMBLE_DJANGO_ROOT ): if not MUMBLE_DJANGO_ROOT or not exists( MUMBLE_DJANGO_ROOT ):
MUMBLE_DJANGO_ROOT = dirname(dirname(abspath(__file__))) MUMBLE_DJANGO_ROOT = dirname(dirname(abspath(__file__)))
# Default mumble port. If your server runs under this port, it will not be
# included in the links in the Channel Viewer.
MUMBLE_DEFAULT_PORT = 64738
if not MUMBLE_DJANGO_URL: if not MUMBLE_DJANGO_URL:
MUMBLE_DJANGO_URL = '/' MUMBLE_DJANGO_URL = '/'
elif MUMBLE_DJANGO_URL[-1] != '/': elif MUMBLE_DJANGO_URL[-1] != '/':

Loading…
Cancel
Save