Mohamed Feddad

51%
Flag icon
You will need to copy base_site.html from the admin templates to admin/base_site.html in one of your template's directories. Then, add the following lines to the end: {% block extrastyle %}     <link href='http://fonts.googleapis.com/css?family=Special+Elite' rel='stylesheet' type='text/css'>     <style type="text/css">      body, td, th, input {        font-family: 'Special Elite', cursive;      }     </style> {% endblock %}
Mohamed Feddad
Adding a custom style to admin base template
Django Design Patterns and Best Practices: Industry-standard web development techniques and solutions using Python, 2nd Edition
Rate this book
Clear rating