Remove Changelog view in the about menu, add documentation link to the about template

This commit is contained in:
Roberto Rosario
2012-01-25 04:27:38 -04:00
parent 7276a11171
commit aa1ea252d8
6 changed files with 8 additions and 25 deletions

View File

@@ -12,8 +12,8 @@ from django.utils.http import urlencode
from django.contrib.auth.views import login
from django.utils.simplejson import dumps, loads
from .forms import (ChoiceForm, UserForm, UserForm_view, ChangelogForm,
LicenseForm, EmailAuthenticationForm)
from .forms import (ChoiceForm, UserForm, UserForm_view, LicenseForm,
EmailAuthenticationForm)
from .conf.settings import LOGIN_METHOD
@@ -216,19 +216,6 @@ def login_view(request):
return login(request, extra_context=context, **kwargs)
def changelog_view(request):
"""
Display the included Changelog.txt file from the about menu
"""
form = ChangelogForm()
return render_to_response(
'generic_detail.html', {
'form': form,
'title': _(u'Changelog'),
},
context_instance=RequestContext(request))
def license_view(request):
"""
Display the included LICENSE file from the about menu