forked from 00dani/lemoncurry
10 lines
264 B
Python
10 lines
264 B
Python
from django.shortcuts import get_object_or_404, render
|
|
from users.models import User
|
|
|
|
|
|
def index(request):
|
|
user = get_object_or_404(User, pk=1)
|
|
return render(request, 'home/index.html', {
|
|
'user': user,
|
|
'meta': user.as_meta(request),
|
|
})
|