Changeset - 613a018076fe
[Not reviewed]
0 1 0
Bradley Kuhn (bkuhn) - 14 years ago 2010-09-27 00:26:32
bkuhn@ebb.org
Migrated some settings to djangocommonsettings so they can easily be overridden.
1 file changed with 0 insertions and 6 deletions:
0 comments (0 inline, 0 general)
www/conservancy/settings.py
Show inline comments
...
 
@@ -11,25 +11,19 @@
 
# This program is distributed in the hope that it will be useful, but
 
# WITHOUT ANY WARRANTY; without even the implied warranty of
 
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU Affero
 
# General Public License for more details.
 
#
 
# You should have received a copy of the GNU Affero General Public License
 
# along with this program in a file in the toplevel directory called
 
# "AGPLv3".  If not, see <http://www.gnu.org/licenses/>.
 

	
 
from djangocommonsettings import *
 

	
 
SITE_ID = 2
 
MEDIA_ROOT = '/var/www/conservancy/static/media/'
 
MEDIA_URL = 'http://sfconservancy.org/media'
 
ROOT_URLCONF = 'conservancy.urls'
 
FORCE_CANONICAL_HOSTNAME = "sfconservancy.org"
 

	
 
TEMPLATE_DIRS = (
 
    '/var/www/conservancy/templates',
 
)
 

	
 
try:
 
    from djangodebug import conservancy_hostname as FORCE_CANONICAL_HOSTNAME
 
except:
 
    pass
0 comments (0 inline, 0 general)