Posts Tagged with Models
26 Jan 2019, 14:58
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:
03 Jan 2019, 02:00
Every now and then I see some questions pop up in stackoverflow with title:
ValueError: Related model ‘app.User’ cannot be resolved
This is a very common issue and pops up when the user tries to run the migration. So, lets talk more about what is this problem and how can we solve it.