Is there a way to add some external links and buttons on the django admin page? I am trying to add link of my web page on the django-admin login page and unable to do so.
First, install it: pip install django-object-actions . (Also add django-object-actions to your requirements file if you have one). Second, add django_object_actions to your INSTALLED_APPS . You should now see an Imports button in the admin, and when pressed, the imports function defined in ImportAdmin will be called.
If needed, run the Django app again with python manage.py runserver 0.0. 0.0:8000 and then navigate once more to the URL http:// your-server-ip :8000/admin/ to get to the admin login page. Then log in with the username and password and password you just created.
Overview. The Django admin application can use your models to automatically build a site area that you can use to create, view, update, and delete records. This can save you a lot of time during development, making it very easy to test your models and get a feel for whether you have the right data.
In order to override admin login page, you need to provide custom 'templates/admin/login.html' file
Check this answer to find the proper template file location and settings - https://stackoverflow.com/a/29997719/46548
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With