Hello, i have an issue with my django project, the created students are not 
reflecting when i run the server?
below is my views.py and index.html

what could the issue be?

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/62eebb40-9255-438d-b7ca-e535ba40f611n%40googlegroups.com.
Title: Student Management System
{% load static %}
from django.shortcuts import render
from .models import Student

# Create your views here.
def index(request):
    print("index views called")
    students = Student.objects.all()
    return render(request, 'students/index.html', {
        'students': students
    })

Reply via email to