Enable breadcrumb support, use it on the login view

This commit is contained in:
Danielle McLean 2017-10-25 00:25:41 +11:00
parent c210650ca7
commit 84a34c89e7
Signed by: 00dani
GPG key ID: 5A5D2D1AFF12EEC5
7 changed files with 57 additions and 3 deletions

View file

@ -1,5 +1,8 @@
from django.shortcuts import get_object_or_404, render
from users.models import User
from lemoncurry import breadcrumbs
breadcrumbs.add('home:index', 'home')
def index(request):