diff --git a/mezzapp/settings.py b/mezzapp/settings.py index 2901ec6..ab8fe86 100644 --- a/mezzapp/settings.py +++ b/mezzapp/settings.py @@ -310,7 +310,7 @@ ) -LOG_LOCATION = os.environ.get("MEZZAPP_LOG_LOCATION", "/var/log/mezzapp") +LOG_LOCATION = os.environ.get("MEZZAPP_LOG_LOCATION", "/tmp") LOGGING = { 'version': 1, 'disable_existing_loggers': False, diff --git a/mezzapp/urls.py b/mezzapp/urls.py index 5ae70d1..88d1446 100644 --- a/mezzapp/urls.py +++ b/mezzapp/urls.py @@ -3,6 +3,7 @@ from django.conf.urls import patterns, include, url from django.conf.urls.i18n import i18n_patterns from django.contrib import admin +from django.views.generic import RedirectView from mezzanine.core.views import direct_to_template @@ -31,7 +32,7 @@ # one homepage pattern, so if you use a different one, comment this # one out. - url("^$", direct_to_template, {"template": "index.html"}, name="home"), + url("^$", RedirectView.as_view(url='/blog/'), name="home"), # HOMEPAGE AS AN EDITABLE PAGE IN THE PAGE TREE # ---------------------------------------------