from django.shortcuts import render
from . import models


def profile(request, username=None):
    context = {}
    student = models.Student.objects.get(user__username=username)
    context['student'] = student
    return render(request, 'user/profile.html', context)

7e963543eb3710810e06f072eafa70b180c43cbe
<mask token>

<mask token>


def profile(request, username=None):
    context = {}
    student = models.Student.objects.get(user__username=username)
    context['student'] = student
    return render(request, 'user/profile.html', context)

from django.shortcuts import render
from . import models


def profile(request, username=None):
    context = {}
    student = models.Student.objects.get(user__username=username)
    context['student'] = student
    return render(request, 'user/profile.html', context)
