2👍
✅
You can do this by using the regroup tag http://docs.djangoproject.com/en/dev/ref/templates/builtins/?from=olddocs#regroup
3👍
{% for p in c.project_set.all %}
Look in the Django documentation for following relationships backwards.
- [Django]-Django formset is not valid- why not?
- [Django]-Django(Python) AttributeError: 'NoneType' object has no attribute 'split'
Source:stackexchange.com