Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
yaghoubi committed Feb 21, 2025
1 parent 8761dd4 commit 105bcbd
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions django_daisy/admin.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
from django.db import models
from django.shortcuts import render
from django.urls import reverse

from django_daisy.module_settings import DAISY_SETTINGS

# Remove default form fields for specific date and time fields
Expand Down Expand Up @@ -46,9 +47,7 @@ def index(self, request, extra_context=None):
request.current_app = self.name

return render(
request, [
"admin/index.html"
], context
request, "admin/index.html", context
)

# Overriding the get_app_list method to sort apps and exclude hidden ones
Expand Down

0 comments on commit 105bcbd

Please sign in to comment.