Some basic support for gross SEO metadata formats with django-meta
This commit is contained in:
parent
1aed52b75f
commit
8ef64d6a87
8 changed files with 40 additions and 5 deletions
|
@ -4,4 +4,7 @@ from users.models import User
|
|||
|
||||
def index(request):
|
||||
user = get_object_or_404(User, pk=1)
|
||||
return render(request, 'home/index.html', {'user': user})
|
||||
return render(request, 'home/index.html', {
|
||||
'user': user,
|
||||
'meta': user.as_meta(request),
|
||||
})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue