Closed dejmail closed 4 years ago
The example above is not dynamic, so it only loads everytime that models is loaded. I think we need a JS/Ajax solution, which then means we need to override/extend the template.
Used javascript in the end and an extension of an existing template.
Push https://github.com/dejmail/begrepptjanst/commit/296d2c9693b24e2746ec62c9617a5e5f7235f6fc
http://brunorocha.org/python/django/add-a-counter-on-django-admin-home-page.html
Something like attached.