{% extends 'base.html' %} {% block title %} Model4 {% endblock title %} {% block content %}

Model4 - View

Add object

{% if countries %} {% for country in countries %} {% endfor %} {% endif %}
Model1 objects (generic_inlineformset_factory)
{{ country.title }}


{% for brand in brands %} {% endfor %}
Model4 Objects
{{ brand.title }}
{% endblock content %}