I started using django framework just a few days ago and i desperately need some help with my application.
It consists of client,project,admin,and admin payment clas
Displaying the contents of ManyToMany
field isn't supported by default by django, because the database will be queried for each row of the results. You can display it yourself by adding a method to your Project-model:
class Project(models.Model):
....
def admin_names(self):
return ', '.join([a.admin_name for a in self.admins.all()])
admin_names.short_description = "Admin Names"
and put admin_names
in your list_display
fields!