Extra Square Brackets "[]" in Django Admin Login Page Rendering

please help me.

I am using Django 5.0.2 and Python 3.12 with Apache 2.4 and mod_wsgi 5.0.0. When I run the development server, everything looks fine. However, when I run it on production over Apache, I encounter an issue where extra square brackets "[]" appear, as shown in the picture below:

image1 : https://ibb.co/m6JXXDN

This issue also appears in my forms:

image2: https://ibb.co/ZV0Q3xN

I have tried several solutions, but none have resolved the problem. Please help me.

I checked the dependencies and the Apache configuration for static files. I also rechecked my forms and views. The app works perfectly on the local machine with the development server

Back to Top