Related ManyToManyField in Django admin site - continued

Published on Oct. 5, 2014, 6:50 p.m.

A few weeks ago, I posted an article about displaying related ManyToManyFields in the Django admin site. The trick presented in that article works and was tested in Django 1.5.8 and 1.6.5 (the latest releases at the time). In the mean time, as you probably know, Django 1.7 was released as well as a security update. Using any one of those releases (1.5.9, 1.5.10, 1.6.6, 1.6.7, 1.7), the trick presented in that article doesn't work as-is anymore. It requires a bit more code.

In this article, I'll give out that code and explain why it is now needed.

Tutorial Snippet Django Read more...

Related ManyToManyField in Django admin site

Published on Aug. 19, 2014, 10:18 p.m.

Hello everyone. There is something quite common people are trying to do in Django which is accessing a ManyToMany relationship from both ends in Django admin.

Since this is something I am going to have to explain to someone tomorow, I thought I'd take the opportunity to write a short tutorial about it.

Tutorial Snippet Django Read more...