7

Removed unused templates

Signed-off-by: Jasper Berghoef <jasper.berghoef@gmail.com>
This commit is contained in:
Jasper Berghoef
2016-12-06 11:58:17 +01:00
parent 1d227c28c6
commit 7f6c759c2a
6 changed files with 1 additions and 162 deletions

View File

@ -9,11 +9,6 @@ from personalisation.forms import SegmentForm
from personalisation.models import Segment
def overview(request):
"""Display segments overview. Dummy function"""
return render(request, 'wagtailadmin/segment.html')
def enable(request, segment_id):
"""Enable the selected segment"""
segment = get_object_or_404(Segment, pk=segment_id)