This is how my django admin has changed, how do i fix it? even when i login the entire admin page looks plain html with poor structure and layout
There are a couple different possibilities here, but we need a lot more information.
How are you running your project?
- Is this a development environment using runserver?
- Is this a production environment using a web server?
Is this project an upgrade from an earlier release?
Is the browser actually making a request to the server for the css files, or is it reading them from the cache? (Check the network tab of your browser’s developer tools to see the requests for the css files.)
If the browser is making the requests, what is the response code being received?
What are the response codes from the server for those requests?
It is a development environment using runserver
At first it was running well with the default django admin UI, now i use django 4.2.11 this happen, i tried to install django jer reboot just to get a more attractive UI, it was installed properly but again it just displays like a normal html page without any CSS files
I’m not familiar with this - what is it?
If you remove it and go back to the defaults, does it work?
No it doesn’t work, it actually stoped working before i installed django jet reboot theme.
you can find out more about django jet reboot here https://django-jet-reboot.readthedocs.io/en/latest/
Please post the log from the runserver console.
System check identified 8 issues (0 silenced).
March 14, 2024 - 00:39:18
Django version 4.2.11, using settings ‘banking_system.settings’
Starting development server at http://127.0.0.1:8000/
Quit the server with CONTROL-C.
[14/Mar/2024 00:39:29] “GET /admin/login/?next=/admin/ HTTP/1.1” 200 5525
[14/Mar/2024 00:39:30] “GET /static/admin/css/base.css HTTP/1.1” 404 179
[14/Mar/2024 00:39:30] “GET /static/jet/css/themes/default/base.css?v=1.3.7 HTTP/1.1” 404 179
[14/Mar/2024 00:39:30] “GET /static/jet/css/icons/style.css?v=1.3.7 HTTP/1.1” 404 179
[14/Mar/2024 00:39:30] “GET /static/admin/css/login.css HTTP/1.1” 404 179
[14/Mar/2024 00:39:30] “GET /static/admin/js/jquery.init.js HTTP/1.1” 404 179
[14/Mar/2024 00:39:30] “GET /static/admin/js/vendor/jquery/jquery.min.js HTTP/1.1” 404 179
[14/Mar/2024 00:39:30] “GET /static/jet/js/build/bundle.min.js?v=1.3.7 HTTP/1.1” 404 179
[14/Mar/2024 00:39:30] “GET /static/jet/js/i18n/select2/en.js?v=1.3.7 HTTP/1.1” 404 179
[14/Mar/2024 00:39:30] “GET /static/jet/css/vendor.css?v=1.3.7 HTTP/1.1” 404 179
[14/Mar/2024 00:39:30] “GET /static/jet/css/themes/default/jquery-ui.theme.css?v=1.3.7 HTTP/1.1” 404 179
[14/Mar/2024 00:39:30] “GET /static/jet/css/themes/default/select2.theme.css?v=1.3.7 HTTP/1.1” 404 179
[14/Mar/2024 00:39:30] “GET /jet/jsi18n/ HTTP/1.1” 200 3343
[14/Mar/2024 00:39:31] “GET /admin/login/?next=/admin/ HTTP/1.1” 200 5525
[14/Mar/2024 00:39:31] “GET /static/admin/css/base.css HTTP/1.1” 404 179
[14/Mar/2024 00:39:31] “GET /static/jet/css/vendor.css?v=1.3.7 HTTP/1.1” 404 179
[14/Mar/2024 00:39:31] “GET /static/jet/css/themes/default/base.css?v=1.3.7 HTTP/1.1” 404 179
[14/Mar/2024 00:39:31] “GET /static/jet/css/themes/default/select2.theme.css?v=1.3.7 HTTP/1.1” 404 179
[14/Mar/2024 00:39:31] “GET /static/admin/css/login.css HTTP/1.1” 404 179
[14/Mar/2024 00:39:31] “GET /static/admin/js/jquery.init.js HTTP/1.1” 404 179
[14/Mar/2024 00:39:31] “GET /static/jet/js/build/bundle.min.js?v=1.3.7 HTTP/1.1” 404 179
[14/Mar/2024 00:39:31] “GET /static/admin/js/vendor/jquery/jquery.min.js HTTP/1.1” 404 179
[14/Mar/2024 00:39:31] “GET /static/jet/css/icons/style.css?v=1.3.7 HTTP/1.1” 404 179
[14/Mar/2024 00:39:31] “GET /static/jet/css/themes/default/jquery-ui.theme.css?v=1.3.7 HTTP/1.1” 404 179
[14/Mar/2024 00:39:31] “GET /static/jet/js/i18n/select2/en.js?v=1.3.7 HTTP/1.1” 404 179
[14/Mar/2024 00:39:31] “GET /jet/jsi18n/ HTTP/1.1” 200 3343
[14/Mar/2024 00:39:32] “GET / HTTP/1.1” 200 4003
[14/Mar/2024 00:39:34] “GET / HTTP/1.1” 200 4003
[14/Mar/2024 00:39:36] “GET /admin/login/?next=/admin/ HTTP/1.1” 200 5525
[14/Mar/2024 00:39:38] “GET /admin/login/?next=/admin/ HTTP/1.1” 200 5525
[14/Mar/2024 00:39:38] “GET /static/admin/css/base.css HTTP/1.1” 404 179
[14/Mar/2024 00:39:38] “GET /static/jet/css/vendor.css?v=1.3.7 HTTP/1.1” 404 179
[14/Mar/2024 00:39:38] “GET /static/jet/css/icons/style.css?v=1.3.7 HTTP/1.1” 404 179
[14/Mar/2024 00:39:38] “GET /static/jet/css/themes/default/base.css?v=1.3.7 HTTP/1.1” 404 179
[14/Mar/2024 00:39:38] “GET /static/admin/css/login.css HTTP/1.1” 404 179
[14/Mar/2024 00:39:38] “GET /static/admin/js/vendor/jquery/jquery.min.js HTTP/1.1” 404 179
[14/Mar/2024 00:39:38] “GET /static/jet/js/build/bundle.min.js?v=1.3.7 HTTP/1.1” 404 179
[14/Mar/2024 00:39:38] “GET /static/jet/css/themes/default/jquery-ui.theme.css?v=1.3.7 HTTP/1.1” 404 179
[14/Mar/2024 00:39:38] “GET /static/jet/css/themes/default/select2.theme.css?v=1.3.7 HTTP/1.1” 404 179
[14/Mar/2024 00:39:38] “GET /static/admin/js/jquery.init.js HTTP/1.1” 404 179
[14/Mar/2024 00:39:38] “GET /static/jet/js/i18n/select2/en.js?v=1.3.7 HTTP/1.1” 404 179
[14/Mar/2024 00:39:38] “GET /jet/jsi18n/ HTTP/1.1” 200 3343
[14/Mar/2024 00:50:39] “GET /admin/login/?next=/admin/ HTTP/1.1” 200 5525
[14/Mar/2024 00:50:40] “GET /static/admin/css/base.css HTTP/1.1” 404 179
[14/Mar/2024 00:50:40] “GET /static/jet/css/themes/default/base.css?v=1.3.7 HTTP/1.1” 404 179
[14/Mar/2024 00:50:40] “GET /static/jet/css/themes/default/select2.theme.css?v=1.3.7 HTTP/1.1” 404 179
[14/Mar/2024 00:50:40] “GET /static/admin/css/login.css HTTP/1.1” 404 179
[14/Mar/2024 00:50:40] “GET /static/jet/css/vendor.css?v=1.3.7 HTTP/1.1” 404 179
[14/Mar/2024 00:50:40] “GET /static/admin/js/jquery.init.js HTTP/1.1” 404 179
[14/Mar/2024 00:50:40] “GET /static/jet/css/themes/default/jquery-ui.theme.css?v=1.3.7 HTTP/1.1” 404 179
[14/Mar/2024 00:50:40] “GET /static/jet/css/icons/style.css?v=1.3.7 HTTP/1.1” 404 179
[14/Mar/2024 00:50:40] “GET /static/jet/js/i18n/select2/en.js?v=1.3.7 HTTP/1.1” 404 179
[14/Mar/2024 00:50:40] “GET /static/admin/js/vendor/jquery/jquery.min.js HTTP/1.1” 404 179
[14/Mar/2024 00:50:40] “GET /static/jet/js/build/bundle.min.js?v=1.3.7 HTTP/1.1” 404 179
[14/Mar/2024 00:50:40] “GET /jet/jsi18n/ HTTP/1.1” 200 3343
[14/Mar/2024 00:50:40] “GET /favicon.ico HTTP/1.1” 404 179
[14/Mar/2024 00:50:51] “GET /admin/ HTTP/1.1” 302 0
[14/Mar/2024 00:50:51] “GET /admin/login/?next=/admin/ HTTP/1.1” 200 5525
[14/Mar/2024 00:50:51] “GET /static/jet/css/themes/default/base.css?v=1.3.7 HTTP/1.1” 404 179
[14/Mar/2024 00:50:51] “GET /static/jet/css/icons/style.css?v=1.3.7 HTTP/1.1” 404 179
[14/Mar/2024 00:50:51] “GET /static/jet/css/vendor.css?v=1.3.7 HTTP/1.1” 404 179
[14/Mar/2024 00:50:51] “GET /static/jet/css/themes/default/select2.theme.css?v=1.3.7 HTTP/1.1” 404 179
[14/Mar/2024 00:50:51] “GET /static/admin/css/base.css HTTP/1.1” 404 179
[14/Mar/2024 00:50:51] “GET /static/admin/css/login.css HTTP/1.1” 404 179
[14/Mar/2024 00:50:51] “GET /static/jet/css/themes/default/jquery-ui.theme.css?v=1.3.7 HTTP/1.1” 404 179
[14/Mar/2024 00:50:51] “GET /static/jet/js/build/bundle.min.js?v=1.3.7 HTTP/1.1” 404 179
[14/Mar/2024 00:50:51] “GET /static/admin/js/vendor/jquery/jquery.min.js HTTP/1.1” 404 179
[14/Mar/2024 00:50:51] “GET /static/admin/js/jquery.init.js HTTP/1.1” 404 179
[14/Mar/2024 00:50:51] “GET /static/jet/js/i18n/select2/en.js?v=1.3.7 HTTP/1.1” 404 179
[14/Mar/2024 00:50:51] “GET /jet/jsi18n/ HTTP/1.1” 200 3343
[14/Mar/2024 00:54:58] “GET / HTTP/1.1” 200 4003
[14/Mar/2024 00:55:03] “GET /accounts/login/ HTTP/1.1” 200 4254
[14/Mar/2024 00:55:04] “GET /accounts/register/ HTTP/1.1” 200 10467
[14/Mar/2024 00:55:06] “GET /accounts/login/ HTTP/1.1” 200 4254
[14/Mar/2024 00:55:13] “POST /accounts/login/ HTTP/1.1” 500 145
[14/Mar/2024 00:55:15] “GET /accounts/login/ HTTP/1.1” 200 4254
[14/Mar/2024 00:55:23] “GET /admin/ HTTP/1.1” 302 0
[14/Mar/2024 00:55:23] “GET /admin/login/?next=/admin/ HTTP/1.1” 200 5525
[14/Mar/2024 00:55:23] “GET /static/admin/css/base.css HTTP/1.1” 404 179
[14/Mar/2024 00:55:23] “GET /static/jet/css/vendor.css?v=1.3.7 HTTP/1.1” 404 179
[14/Mar/2024 00:55:23] “GET /static/jet/css/themes/default/base.css?v=1.3.7 HTTP/1.1” 404 179
[14/Mar/2024 00:55:23] “GET /static/jet/css/themes/default/jquery-ui.theme.css?v=1.3.7 HTTP/1.1” 404 179
[14/Mar/2024 00:55:23] “GET /static/admin/js/vendor/jquery/jquery.min.js HTTP/1.1” 404 179
[14/Mar/2024 00:55:23] “GET /static/jet/css/themes/default/select2.theme.css?v=1.3.7 HTTP/1.1” 404 179
[14/Mar/2024 00:55:23] “GET /static/jet/css/icons/style.css?v=1.3.7 HTTP/1.1” 404 179
[14/Mar/2024 00:55:23] “GET /static/jet/js/build/bundle.min.js?v=1.3.7 HTTP/1.1” 404 179
[14/Mar/2024 00:55:23] “GET /static/jet/js/i18n/select2/en.js?v=1.3.7 HTTP/1.1” 404 179
[14/Mar/2024 00:55:23] “GET /static/admin/js/jquery.init.js HTTP/1.1” 404 179
[14/Mar/2024 00:55:23] “GET /static/admin/css/login.css HTTP/1.1” 404 179
[14/Mar/2024 00:55:23] “GET /jet/jsi18n/ HTTP/1.1” 200 3343
[14/Mar/2024 00:55:27] “GET /admin/login/?next=/admin/ HTTP/1.1” 200 5525
[14/Mar/2024 00:55:27] “GET /static/admin/css/base.css HTTP/1.1” 404 179
[14/Mar/2024 00:55:27] “GET /static/jet/css/vendor.css?v=1.3.7 HTTP/1.1” 404 179
[14/Mar/2024 00:55:27] “GET /static/jet/css/icons/style.css?v=1.3.7 HTTP/1.1” 404 179
[14/Mar/2024 00:55:27] “GET /static/jet/css/themes/default/select2.theme.css?v=1.3.7 HTTP/1.1” 404 179
[14/Mar/2024 00:55:27] “GET /static/admin/js/vendor/jquery/jquery.min.js HTTP/1.1” 404 179
[14/Mar/2024 00:55:27] “GET /static/admin/css/login.css HTTP/1.1” 404 179
[14/Mar/2024 00:55:27] “GET /static/jet/css/themes/default/jquery-ui.theme.css?v=1.3.7 HTTP/1.1” 404 179
[14/Mar/2024 00:55:27] “GET /static/jet/css/themes/default/base.css?v=1.3.7 HTTP/1.1” 404 179
[14/Mar/2024 00:55:27] “GET /static/jet/js/i18n/select2/en.js?v=1.3.7 HTTP/1.1” 404 179
[14/Mar/2024 00:55:27] “GET /static/admin/js/jquery.init.js HTTP/1.1” 404 179
[14/Mar/2024 00:55:27] “GET /static/jet/js/build/bundle.min.js?v=1.3.7 HTTP/1.1” 404 179
[14/Mar/2024 00:55:27,498] - Broken pipe from (‘127.0.0.1’, 63540)
[14/Mar/2024 00:55:27] “GET /jet/jsi18n/ HTTP/1.1” 200 3343
[14/Mar/2024 00:55:28] “GET /admin/login/?next=/admin/ HTTP/1.1” 200 5525
[14/Mar/2024 00:55:28] “GET /static/admin/css/base.css HTTP/1.1” 404 179
[14/Mar/2024 00:55:28] “GET /static/jet/css/vendor.css?v=1.3.7 HTTP/1.1” 404 179
[14/Mar/2024 00:55:28] “GET /static/jet/css/icons/style.css?v=1.3.7 HTTP/1.1” 404 179
[14/Mar/2024 00:55:28] “GET /static/admin/css/login.css HTTP/1.1” 404 179
[14/Mar/2024 00:55:28] “GET /static/jet/css/themes/default/select2.theme.css?v=1.3.7 HTTP/1.1” 404 179
[14/Mar/2024 00:55:28,208] - Broken pipe from (‘127.0.0.1’, 63531)
[14/Mar/2024 00:55:28] “GET /static/jet/css/themes/default/jquery-ui.theme.css?v=1.3.7 HTTP/1.1” 404 179
[14/Mar/2024 00:55:28] “GET /static/jet/css/themes/default/base.css?v=1.3.7 HTTP/1.1” 404 179
[14/Mar/2024 00:55:28] “GET /static/admin/js/jquery.init.js HTTP/1.1” 404 179
[14/Mar/2024 00:55:28] “GET /static/jet/js/build/bundle.min.js?v=1.3.7 HTTP/1.1” 404 179
[14/Mar/2024 00:55:28,215] - Broken pipe from (‘127.0.0.1’, 63543)
[14/Mar/2024 00:55:28] “GET /static/admin/js/vendor/jquery/jquery.min.js HTTP/1.1” 404 179
[14/Mar/2024 00:55:28,220] - Broken pipe from (‘127.0.0.1’, 63539)
[14/Mar/2024 00:55:28] “GET /static/jet/js/i18n/select2/en.js?v=1.3.7 HTTP/1.1” 404 179
[14/Mar/2024 00:55:28,223] - Broken pipe from (‘127.0.0.1’, 63541)
[14/Mar/2024 00:55:28] “GET /jet/jsi18n/ HTTP/1.1” 200 3343
[14/Mar/2024 00:55:28] “GET /admin/login/?next=/admin/ HTTP/1.1” 200 5525
[14/Mar/2024 00:55:28] “GET /static/admin/css/base.css HTTP/1.1” 404 179
[14/Mar/2024 00:55:28] “GET /static/jet/css/icons/style.css?v=1.3.7 HTTP/1.1” 404 179
[14/Mar/2024 00:55:28] “GET /static/admin/js/vendor/jquery/jquery.min.js HTTP/1.1” 404 179
[14/Mar/2024 00:55:28] “GET /static/admin/css/login.css HTTP/1.1” 404 179
[14/Mar/2024 00:55:28] “GET /static/jet/css/themes/default/select2.theme.css?v=1.3.7 HTTP/1.1” 404 179
[14/Mar/2024 00:55:28] “GET /static/jet/css/themes/default/base.css?v=1.3.7 HTTP/1.1” 404 179
[14/Mar/2024 00:55:28] “GET /static/jet/css/themes/default/jquery-ui.theme.css?v=1.3.7 HTTP/1.1” 404 179
[14/Mar/2024 00:55:28] “GET /static/jet/css/vendor.css?v=1.3.7 HTTP/1.1” 404 179
[14/Mar/2024 00:55:28] “GET /static/admin/js/jquery.init.js HTTP/1.1” 404 179
[14/Mar/2024 00:55:28] “GET /static/jet/js/i18n/select2/en.js?v=1.3.7 HTTP/1.1” 404 179
[14/Mar/2024 00:55:28] “GET /static/jet/js/build/bundle.min.js?v=1.3.7 HTTP/1.1” 404 179
[14/Mar/2024 00:55:28] “GET /jet/jsi18n/ HTTP/1.1” 200 3343
[14/Mar/2024 00:55:28] “GET /admin/login/?next=/admin/ HTTP/1.1” 200 5525
[14/Mar/2024 00:55:28] “GET /static/admin/css/base.css HTTP/1.1” 404 179
[14/Mar/2024 00:55:28] “GET /static/jet/css/vendor.css?v=1.3.7 HTTP/1.1” 404 179
[14/Mar/2024 00:55:28] “GET /static/jet/css/icons/style.css?v=1.3.7 HTTP/1.1” 404 179
[14/Mar/2024 00:55:28] “GET /static/jet/css/themes/default/base.css?v=1.3.7 HTTP/1.1” 404 179
[14/Mar/2024 00:55:28] “GET /static/admin/js/vendor/jquery/jquery.min.js HTTP/1.1” 404 179
[14/Mar/2024 00:55:28,792] - Broken pipe from (‘127.0.0.1’, 63538)
[14/Mar/2024 00:55:28] “GET /static/jet/css/themes/default/jquery-ui.theme.css?v=1.3.7 HTTP/1.1” 404 179
[14/Mar/2024 00:55:28] “GET /static/admin/css/login.css HTTP/1.1” 404 179
[14/Mar/2024 00:55:28] “GET /static/jet/js/i18n/select2/en.js?v=1.3.7 HTTP/1.1” 404 179
[14/Mar/2024 00:55:28] “GET /static/admin/js/jquery.init.js HTTP/1.1” 404 179
[14/Mar/2024 00:55:28] “GET /static/jet/css/themes/default/select2.theme.css?v=1.3.7 HTTP/1.1” 404 179
[14/Mar/2024 00:55:28] “GET /static/jet/js/build/bundle.min.js?v=1.3.7 HTTP/1.1” 404 179
[14/Mar/2024 00:55:28,803] - Broken pipe from (‘127.0.0.1’, 63548)
[14/Mar/2024 00:55:28,804] - Broken pipe from (‘127.0.0.1’, 63542)
[14/Mar/2024 00:55:28] “GET /jet/jsi18n/ HTTP/1.1” 200 3343
[14/Mar/2024 00:55:37] “GET /admin/login/?next=/admin/ HTTP/1.1” 200 5525
[14/Mar/2024 00:55:37] “GET /static/jet/css/themes/default/jquery-ui.theme.css?v=1.3.7 HTTP/1.1” 404 179
[14/Mar/2024 00:55:37] “GET /static/jet/css/icons/style.css?v=1.3.7 HTTP/1.1” 404 179
[14/Mar/2024 00:55:37] “GET /static/jet/css/themes/default/base.css?v=1.3.7 HTTP/1.1” 404 179
[14/Mar/2024 00:55:37] “GET /static/jet/css/vendor.css?v=1.3.7 HTTP/1.1” 404 179
[14/Mar/2024 00:55:37,410] - Broken pipe from (‘127.0.0.1’, 63546)
[14/Mar/2024 00:55:37] “GET /static/admin/js/vendor/jquery/jquery.min.js HTTP/1.1” 404 179
[14/Mar/2024 00:55:37] “GET /static/admin/css/login.css HTTP/1.1” 404 179
[14/Mar/2024 00:55:37] “GET /static/admin/css/base.css HTTP/1.1” 404 179
[14/Mar/2024 00:55:37] “GET /static/admin/js/jquery.init.js HTTP/1.1” 404 179
[14/Mar/2024 00:55:37] “GET /static/jet/js/i18n/select2/en.js?v=1.3.7 HTTP/1.1” 404 179
[14/Mar/2024 00:55:37] “GET /static/jet/css/themes/default/select2.theme.css?v=1.3.7 HTTP/1.1” 404 179
[14/Mar/2024 00:55:37] “GET /static/jet/js/build/bundle.min.js?v=1.3.7 HTTP/1.1” 404 179
[14/Mar/2024 00:55:37] “GET /jet/jsi18n/ HTTP/1.1” 200 3343
[14/Mar/2024 00:56:08] “GET / HTTP/1.1” 200 4003
[14/Mar/2024 00:56:14] “GET /admin/ HTTP/1.1” 302 0
[14/Mar/2024 00:56:14] “GET /admin/login/?next=/admin/ HTTP/1.1” 200 5525
[14/Mar/2024 00:56:14] “GET /static/admin/css/base.css HTTP/1.1” 404 179
[14/Mar/2024 00:56:14] “GET /static/jet/css/vendor.css?v=1.3.7 HTTP/1.1” 404 179
[14/Mar/2024 00:56:14] “GET /static/jet/css/themes/default/base.css?v=1.3.7 HTTP/1.1” 404 179
[14/Mar/2024 00:56:14] “GET /static/jet/css/themes/default/jquery-ui.theme.css?v=1.3.7 HTTP/1.1” 404 179
[14/Mar/2024 00:56:14] “GET /static/admin/css/login.css HTTP/1.1” 404 179
[14/Mar/2024 00:56:14] “GET /static/jet/css/themes/default/select2.theme.css?v=1.3.7 HTTP/1.1” 404 179
[14/Mar/2024 00:56:14] “GET /static/jet/css/icons/style.css?v=1.3.7 HTTP/1.1” 404 179
[14/Mar/2024 00:56:14] “GET /static/admin/js/vendor/jquery/jquery.min.js HTTP/1.1” 404 179
[14/Mar/2024 00:56:14] “GET /static/jet/js/i18n/select2/en.js?v=1.3.7 HTTP/1.1” 404 179
[14/Mar/2024 00:56:14] “GET /static/jet/js/build/bundle.min.js?v=1.3.7 HTTP/1.1” 404 179
[14/Mar/2024 00:56:14] “GET /static/admin/js/jquery.init.js HTTP/1.1” 404 179
[14/Mar/2024 00:56:14] “GET /jet/jsi18n/ HTTP/1.1” 200 3343
[14/Mar/2024 01:03:27] “GET /admin/login/?next=/admin/ HTTP/1.1” 200 5525
[14/Mar/2024 01:03:27] “GET /static/admin/css/base.css HTTP/1.1” 404 179
[14/Mar/2024 01:03:27] “GET /static/jet/css/vendor.css?v=1.3.7 HTTP/1.1” 404 179
[14/Mar/2024 01:03:27] “GET /static/jet/css/themes/default/base.css?v=1.3.7 HTTP/1.1” 404 179
[14/Mar/2024 01:03:27] “GET /static/jet/css/icons/style.css?v=1.3.7 HTTP/1.1” 404 179
[14/Mar/2024 01:03:27] “GET /static/jet/css/themes/default/jquery-ui.theme.css?v=1.3.7 HTTP/1.1” 404 179
[14/Mar/2024 01:03:27] “GET /static/admin/css/login.css HTTP/1.1” 404 179
[14/Mar/2024 01:03:27] “GET /static/jet/css/themes/default/select2.theme.css?v=1.3.7 HTTP/1.1” 404 179
[14/Mar/2024 01:03:27] “GET /static/admin/js/vendor/jquery/jquery.min.js HTTP/1.1” 404 179
[14/Mar/2024 01:03:27] “GET /static/jet/js/build/bundle.min.js?v=1.3.7 HTTP/1.1” 404 179
[14/Mar/2024 01:03:27] “GET /static/admin/js/jquery.init.js HTTP/1.1” 404 179
[14/Mar/2024 01:03:27] “GET /static/jet/js/i18n/select2/en.js?v=1.3.7 HTTP/1.1” 404 179
[14/Mar/2024 01:03:27] “GET /jet/jsi18n/ HTTP/1.1” 200 3343
[14/Mar/2024 01:03:35] “GET / HTTP/1.1” 200 4003
[14/Mar/2024 01:03:39] “GET /accounts/login/ HTTP/1.1” 200 4254
[14/Mar/2024 01:03:40] “GET /accounts/register/ HTTP/1.1” 200 10467
[14/Mar/2024 01:03:41] “GET /accounts/login/ HTTP/1.1” 200 4254
[14/Mar/2024 01:03:46] “GET /accounts/login/ HTTP/1.1” 200 4254
[14/Mar/2024 01:03:47] “GET /admin/login/?next=/admin/ HTTP/1.1” 200 5525
[14/Mar/2024 01:03:47] “GET /static/admin/css/base.css HTTP/1.1” 404 179
[14/Mar/2024 01:03:47] “GET /static/jet/css/themes/default/base.css?v=1.3.7 HTTP/1.1” 404 179
[14/Mar/2024 01:03:47] “GET /static/jet/css/themes/default/jquery-ui.theme.css?v=1.3.7 HTTP/1.1” 404 179
[14/Mar/2024 01:03:47] “GET /static/jet/css/themes/default/select2.theme.css?v=1.3.7 HTTP/1.1” 404 179
[14/Mar/2024 01:03:47] “GET /static/jet/css/vendor.css?v=1.3.7 HTTP/1.1” 404 179
[14/Mar/2024 01:03:47] “GET /static/jet/css/icons/style.css?v=1.3.7 HTTP/1.1” 404 179
[14/Mar/2024 01:03:47] “GET /static/admin/js/vendor/jquery/jquery.min.js HTTP/1.1” 404 179
[14/Mar/2024 01:03:47] “GET /static/jet/js/i18n/select2/en.js?v=1.3.7 HTTP/1.1” 404 179
[14/Mar/2024 01:03:47] “GET /static/jet/js/build/bundle.min.js?v=1.3.7 HTTP/1.1” 404 179
[14/Mar/2024 01:03:47] “GET /static/admin/js/jquery.init.js HTTP/1.1” 404 179
[14/Mar/2024 01:03:47] “GET /static/admin/css/login.css HTTP/1.1” 404 179
[14/Mar/2024 01:03:47] “GET /jet/jsi18n/ HTTP/1.1” 200 3343
[14/Mar/2024 01:03:48] “GET / HTTP/1.1” 200 4003
[14/Mar/2024 01:03:49] “GET /admin/login/?next=/admin/ HTTP/1.1” 200 5525
[14/Mar/2024 01:03:49] “GET /static/jet/css/themes/default/select2.theme.css?v=1.3.7 HTTP/1.1” 404 179
[14/Mar/2024 01:03:49] “GET /static/admin/css/base.css HTTP/1.1” 404 179
[14/Mar/2024 01:03:49] “GET /static/jet/css/icons/style.css?v=1.3.7 HTTP/1.1” 404 179
[14/Mar/2024 01:03:49] “GET /static/jet/css/vendor.css?v=1.3.7 HTTP/1.1” 404 179
[14/Mar/2024 01:03:49] “GET /static/jet/css/themes/default/base.css?v=1.3.7 HTTP/1.1” 404 179
[14/Mar/2024 01:03:49] “GET /static/jet/css/themes/default/jquery-ui.theme.css?v=1.3.7 HTTP/1.1” 404 179
[14/Mar/2024 01:03:49] “GET /static/admin/css/login.css HTTP/1.1” 404 179
[14/Mar/2024 01:03:49] “GET /static/admin/js/jquery.init.js HTTP/1.1” 404 179
[14/Mar/2024 01:03:49] “GET /static/admin/js/vendor/jquery/jquery.min.js HTTP/1.1” 404 179
[14/Mar/2024 01:03:49] “GET /static/jet/js/i18n/select2/en.js?v=1.3.7 HTTP/1.1” 404 179
[14/Mar/2024 01:03:49] “GET /static/jet/js/build/bundle.min.js?v=1.3.7 HTTP/1.1” 404 179
[14/Mar/2024 01:03:49] “GET /jet/jsi18n/ HTTP/1.1” 200 3343
[14/Mar/2024 01:03:53] “GET /admin/ HTTP/1.1” 302 0
[14/Mar/2024 01:03:53] “GET /admin/login/?next=/admin/ HTTP/1.1” 200 5525
[14/Mar/2024 01:03:53] “GET /static/jet/css/themes/default/select2.theme.css?v=1.3.7 HTTP/1.1” 404 179
[14/Mar/2024 01:03:53] “GET /static/jet/css/themes/default/jquery-ui.theme.css?v=1.3.7 HTTP/1.1” 404 179
[14/Mar/2024 01:03:53] “GET /static/admin/css/base.css HTTP/1.1” 404 179
[14/Mar/2024 01:03:53] “GET /static/jet/css/icons/style.css?v=1.3.7 HTTP/1.1” 404 179
[14/Mar/2024 01:03:53] “GET /static/jet/css/vendor.css?v=1.3.7 HTTP/1.1” 404 179
[14/Mar/2024 01:03:53] “GET /static/jet/css/themes/default/base.css?v=1.3.7 HTTP/1.1” 404 179
[14/Mar/2024 01:03:53] “GET /static/admin/js/jquery.init.js HTTP/1.1” 404 179
[14/Mar/2024 01:03:53] “GET /static/admin/css/login.css HTTP/1.1” 404 179
[14/Mar/2024 01:03:53] “GET /static/admin/js/vendor/jquery/jquery.min.js HTTP/1.1” 404 179
[14/Mar/2024 01:03:53] “GET /static/jet/js/i18n/select2/en.js?v=1.3.7 HTTP/1.1” 404 179
[14/Mar/2024 01:03:53] “GET /static/jet/js/build/bundle.min.js?v=1.3.7 HTTP/1.1” 404 179
[14/Mar/2024 01:03:53] “GET /jet/jsi18n/ HTTP/1.1” 200 3343
user Nonelogged in through pagehttp://127.0.0.1:8000/admin/login/?next=/admin/
[14/Mar/2024 01:04:20] “POST /admin/login/?next=/admin/ HTTP/1.1” 302 0
[14/Mar/2024 01:04:20] “GET /admin/ HTTP/1.1” 200 55206
[14/Mar/2024 01:04:21] “GET /static/jet/css/themes/default/select2.theme.css?v=1.3.7 HTTP/1.1” 404 179
[14/Mar/2024 01:04:21] “GET /static/jet/css/vendor.css?v=1.3.7 HTTP/1.1” 404 179
[14/Mar/2024 01:04:21] “GET /static/jet/css/themes/default/jquery-ui.theme.css?v=1.3.7 HTTP/1.1” 404 179
[14/Mar/2024 01:04:21] “GET /static/jet/css/themes/default/base.css?v=1.3.7 HTTP/1.1” 404 179
[14/Mar/2024 01:04:21] “GET /static/admin/css/base.css HTTP/1.1” 404 179
[14/Mar/2024 01:04:21] “GET /static/jet/css/icons/style.css?v=1.3.7 HTTP/1.1” 404 179
[14/Mar/2024 01:04:21] “GET /static/admin/js/vendor/jquery/jquery.min.js HTTP/1.1” 404 179
[14/Mar/2024 01:04:21] “GET /static/admin/css/dashboard.css HTTP/1.1” 404 179
[14/Mar/2024 01:04:21] “GET /static/admin/js/jquery.init.js HTTP/1.1” 404 179
[14/Mar/2024 01:04:21] “GET /static/jet/js/i18n/select2/en.js?v=1.3.7 HTTP/1.1” 404 179
[14/Mar/2024 01:04:21] “GET /static/jet/js/build/bundle.min.js?v=1.3.7 HTTP/1.1” 404 179
[14/Mar/2024 01:04:21] “GET /jet/jsi18n/ HTTP/1.1” 200 3343
user Nonelogged out through pagehttp://127.0.0.1:8000/admin/
[14/Mar/2024 01:04:33] “GET /admin/logout/ HTTP/1.1” 200 4761
[14/Mar/2024 01:04:33] “GET /static/jet/css/themes/default/select2.theme.css?v=1.3.7 HTTP/1.1” 404 179
[14/Mar/2024 01:04:33] “GET /static/admin/css/base.css HTTP/1.1” 404 179
[14/Mar/2024 01:04:33] “GET /static/jet/css/vendor.css?v=1.3.7 HTTP/1.1” 404 179
[14/Mar/2024 01:04:33] “GET /static/jet/css/icons/style.css?v=1.3.7 HTTP/1.1” 404 179
[14/Mar/2024 01:04:33] “GET /static/jet/css/themes/default/base.css?v=1.3.7 HTTP/1.1” 404 179
[14/Mar/2024 01:04:33] “GET /static/jet/css/themes/default/jquery-ui.theme.css?v=1.3.7 HTTP/1.1” 404 179
[14/Mar/2024 01:04:33] “GET /static/admin/js/vendor/jquery/jquery.min.js HTTP/1.1” 404 179
[14/Mar/2024 01:04:33] “GET /static/admin/js/jquery.init.js HTTP/1.1” 404 179
[14/Mar/2024 01:04:33] “GET /static/jet/js/build/bundle.min.js?v=1.3.7 HTTP/1.1” 404 179
[14/Mar/2024 01:04:33] “GET /static/jet/js/i18n/select2/en.js?v=1.3.7 HTTP/1.1” 404 179
[14/Mar/2024 01:04:33] “GET /jet/jsi18n/ HTTP/1.1” 200 3343
^C**%** (myenv) ndalamafestusedward@ws19is083 banking-system % python manage.py collectstatic
You have requested to collect static files at the destination
location as specified in your settings.
This will overwrite existing files!
Are you sure you want to do this?
Type ‘yes’ to continue, or ‘no’ to cancel: yes
Traceback (most recent call last):
File “/Users/ndalamafestusedward/banking-system/manage.py”, line 22, in
main()
File “/Users/ndalamafestusedward/banking-system/manage.py”, line 18, in main
execute_from_command_line(sys.argv)
File “/Users/ndalamafestusedward/banking-system/myenv/lib/python3.11/site-packages/django/core/management/init.py”, line 442, in execute_from_command_line
utility.execute()
File “/Users/ndalamafestusedward/banking-system/myenv/lib/python3.11/site-packages/django/core/management/init.py”, line 436, in execute
self.fetch_command(subcommand).run_from_argv(self.argv)
File “/Users/ndalamafestusedward/banking-system/myenv/lib/python3.11/site-packages/django/core/management/base.py”, line 412, in run_from_argv
self.execute(*args, **cmd_options)
File “/Users/ndalamafestusedward/banking-system/myenv/lib/python3.11/site-packages/django/core/management/base.py”, line 458, in execute
output = self.handle(*args, **options)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/Users/ndalamafestusedward/banking-system/myenv/lib/python3.11/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py”, line 209, in handle
collected = self.collect()
^^^^^^^^^^^^^^
File “/Users/ndalamafestusedward/banking-system/myenv/lib/python3.11/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py”, line 135, in collect
handler(path, prefixed_path, storage)
File “/Users/ndalamafestusedward/banking-system/myenv/lib/python3.11/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py”, line 368, in copy_file
if not self.delete_file(path, prefixed_path, source_storage):
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/Users/ndalamafestusedward/banking-system/myenv/lib/python3.11/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py”, line 278, in delete_file
if self.storage.exists(prefixed_path):
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/Users/ndalamafestusedward/banking-system/myenv/lib/python3.11/site-packages/django/core/files/storage/filesystem.py”, line 165, in exists
return os.path.lexists(self.path(name))
^^^^^^^^^^^^^^^
File “/Users/ndalamafestusedward/banking-system/myenv/lib/python3.11/site-packages/django/contrib/staticfiles/storage.py”, line 39, in path
raise ImproperlyConfigured(
django.core.exceptions.ImproperlyConfigured: You’re using the staticfiles app without having set the STATIC_ROOT setting to a filesystem path.
First, collectstatic is not used with runserver. It doesn’t apply here.
Please post your INSTALLED_APPS setting and all settings containing the word STATIC from your settings.py file.
Also please post the contents of your project’s urls.py file.
Okay, i used collectstatic after stopping the server.
# Application definition
INSTALLED_APPS = [
'django.contrib.admin',
'django.contrib.auth',
'django.contrib.contenttypes',
'django.contrib.sessions',
'django.contrib.messages',
'django.contrib.staticfiles',
'django_celery_beat',
'login_history',
'accounts',
'core',
'transactions',
'celery',
]
# Static files (CSS, JavaScript, Images)
# https://docs.djangoproject.com/en/3.1/howto/static-files/
STATIC_URL = '/static/'
“”"banking_system URL Configuration
The urlpatterns
list routes URLs to views. For more information please see:
URL dispatcher | Django documentation | Django
Examples:
Function views
1. Add an import: from my_app import views
2. Add a URL to urlpatterns: path(‘’, views.home, name=‘home’)
Class-based views
1. Add an import: from other_app.views import Home
2. Add a URL to urlpatterns: path(‘’, Home.as_view(), name=‘home’)
Including another URLconf
1. Import the include() function: from django.urls import include, path
2. Add a URL to urlpatterns: path(‘blog/’, include(‘blog.urls’))
“”"
from django.contrib import admin
from django.urls import include, path
from core.views import HomeView
urlpatterns = [
path(‘’, HomeView.as_view(), name=‘home’),
path(‘accounts/’, include(‘accounts.urls’, namespace=‘accounts’)),
path(‘admin/’, admin.site.urls),
path(
‘transactions/’,
include(‘transactions.urls’, namespace=‘transactions’)
)
]
Side note: You need to use the backtick character - ` to fence off your code with ```, not the apostrophe - ' or the quote - " characters.
You’re missing the static file definitions on your urlpatterns. See the docs for Serving static files during development.
I get you on the side note: Understood
Missing the static file definitions in my urlpatterns, i don’t understand, can you clarify more?
What does that section of the docs tell you to add to your urlpatterns setting? (It’s in the example in that section.)
you mean like here below?
from django.conf import settings
from django.conf.urls.static import static
Actually, I just remembered one other thing I forgot to ask:
Do you have DEBUG=True or DEBUG=False?
(Yes, it makes a difference here.)
I have it DEBUG=True
i have added the following codes to my urls.py but nothing changed.
`
from django.conf import settings
from django.conf.urls.static import static
from django.contrib import admin
from django.urls import path
urlpatterns = [
path(‘admin/’, admin.site.urls),
# Other URL patterns for your project…
]
Serve static files during development
if settings.DEBUG:
urlpatterns += static(settings.STATIC_URL, document_root=settings.STATIC_ROOT)`
Yea, that’s not necessary when DEBUG=True - that what I forgot to check first.
I’m concerned about the fact that it’s still trying to load static files from “jet” according to those logs.
I’d be tempted at this point to either uninstall and reinstall Django, or just rebuild the virtual environment.
Beyond that, I think I may need to see the complete settings.py file. (I don’t need to see the secret key or database connection information.)
Side note: The standard default for STATIC_URL is ‘static/’, not ‘/static/’
Side note: Understood
Here is the complete settings.py file without secret key and database connection
from pathlib import Path
# Build paths inside the project like this: BASE_DIR / 'subdir'.
BASE_DIR = Path(__file__).resolve(strict=True).parent.parent
# SECURITY WARNING: don't run with debug turned on in production!
DEBUG = True
ALLOWED_HOSTS = []
# Application definition
INSTALLED_APPS = [
'django.contrib.admin',
'django.contrib.auth',
'django.contrib.contenttypes',
'django.contrib.sessions',
'django.contrib.messages',
'django.contrib.staticfiles',
'django_celery_beat',
'login_history',
'accounts',
'core',
'transactions',
'celery',
]
MIDDLEWARE = [
'django.middleware.security.SecurityMiddleware',
'django.contrib.sessions.middleware.SessionMiddleware',
'django.middleware.common.CommonMiddleware',
'django.middleware.csrf.CsrfViewMiddleware',
'django.contrib.auth.middleware.AuthenticationMiddleware',
'django.contrib.messages.middleware.MessageMiddleware',
'django.middleware.clickjacking.XFrameOptionsMiddleware',
]
ROOT_URLCONF = 'banking_system.urls'
AUTH_USER_MODEL = 'accounts.User'
TEMPLATES = [
{
'BACKEND': 'django.template.backends.django.DjangoTemplates',
'DIRS': [BASE_DIR / 'templates'],
'APP_DIRS': True,
'OPTIONS': {
'context_processors': [
'django.template.context_processors.debug',
'django.template.context_processors.request',
'django.contrib.auth.context_processors.auth',
'django.contrib.messages.context_processors.messages',
],
},
},
]
WSGI_APPLICATION = 'banking_system.wsgi.application'
AUTH_PASSWORD_VALIDATORS = [
{
'NAME': 'django.contrib.auth.password_validation.UserAttributeSimilarityValidator',
},
{
'NAME': 'django.contrib.auth.password_validation.MinimumLengthValidator',
},
{
'NAME': 'django.contrib.auth.password_validation.CommonPasswordValidator',
},
{
'NAME': 'django.contrib.auth.password_validation.NumericPasswordValidator',
},
]
LANGUAGE_CODE = 'en-us'
TIME_ZONE = 'UTC'
USE_I18N = True
USE_L10N = True
USE_TZ = True
STATIC_URL = 'static/'
ACCOUNT_NUMBER_START_FROM = 1000000000
MINIMUM_DEPOSIT_AMOUNT = 10
MINIMUM_WITHDRAWAL_AMOUNT = 10
# Login redirect
LOGIN_REDIRECT_URL = 'home'
# Celery Settings
CELERY_BROKER_URL = 'redis://localhost:6379'
CELERY_RESULT_BACKEND = 'redis://localhost:6379'
CELERY_ACCEPT_CONTENT = ['application/json']
CELERY_TASK_SERIALIZER = 'json'
CELERY_RESULT_SERIALIZER = 'json'
CELERY_TIMEZONE = TIME_ZONE