Skip to content
Advertisement

Paginator for inline models in django admin

I have this simple django model consisting of an sensor and values for the specific sensor. The number of values per Pyranometer is high (>30k). Is it somehow possible to paginate PyranometerValues by a specific day or generell apply a paginator to the admin inline view?

JavaScript

Advertisement

Answer

Have you checked raw_id_fields attribute? I think you might find it useful.

User contributions licensed under: CC BY-SA
5 People found this is helpful
Advertisement