Posts Tagged with Linkedlist

26 Jan 2019, 14:58

Django: Custom Ordering/Grouping for Model Instances Using Linked List
Linked list is a data structure where each object has points to next. In django, linked list can provide an interesting solution when it comes to custom ordering/grouping issues. Lets think of an example like this: you are making a blog site, and you have made a Post Model like this: