Hey everyone, I need help with an issue I’m facing. Even after changing my URLs and updating my templates with Bootstrap, my old Django admin URLs keep reappearing instead of showing the updated Bootstrap-styled pages. What could be causing this, and how can I fix it?
///urls.py///
from django.contrib import admin
from django.urls import path
from studentorg.views import HomePageView
from studentorg import views
urlpatterns = [
path("admin/", admin.site.urls),
path('', views.HomePageView.as_view(), name='home'),
]
///views.py///
from django.shortcuts import render
from django.views.generic.list import ListView
from studentorg.models import Organization
from studentorg import views
class HomePageView(ListView):
model = Organization
context_object_name = 'home'
template_name = 'home.html'