diff --git a/settings_new_askbot.py b/settings_new_askbot.py index d35e5cd34e..e0fffc6491 100644 --- a/settings_new_askbot.py +++ b/settings_new_askbot.py @@ -13,7 +13,9 @@ BASE_DIR = os.path.abspath(os.path.join(__file__, "..", "..")) COURSEWARE_ENABLED = True ASKBOT_ENABLED = True - +ASKBOT_FILE_UPLOAD_DIR = "" +ASKBOT_FILE_UPLOAD_DIR = "" +ASKBOT_UPLOADED_FILES_URL = "" CSRF_COOKIE_DOMAIN = '127.0.0.1' # Defaults to be overridden diff --git a/staticbook/views.py b/staticbook/views.py index 2e5712fc67..f7ad8fab63 100644 --- a/staticbook/views.py +++ b/staticbook/views.py @@ -10,3 +10,6 @@ def index(request, page=0): if not request.user.is_authenticated(): return redirect('/') return render_to_response('staticbook.html',{'page':int(page)}) + +def index_shifted(request, page): + return index(request, int(page)+24) diff --git a/urls.py b/urls.py index 54c910dccf..68d789b5ff 100644 --- a/urls.py +++ b/urls.py @@ -44,6 +44,7 @@ if settings.COURSEWARE_ENABLED: url(r'^change_setting$', 'auth.views.change_setting'), url(r'^s/(?P