I have a form that is based on a ModelForm in my forms.py. I initially get the blank form as expected, however when filling out the form and hitting `submit` nothing happens. I am not sure where I am going wrong.

views.py

```
def add_customer(request):
    # print(customer_form)
    # print(customer_form.errors)
    print(request.method)
    print(request.POST)
    customer_form = CustomerForm(request.POST or None)
    if customer_form.is_valid() and request.method == 'POST':
        form = CustomerForm(request.POST)
        form.save()
        return redirect('AdminPortal:customers')
        print('posted')
    else:
        print('failing')
        context = {'customer_form': customer_form,}
        return render(request, 'add_customer.html', context=context)

```

urls.py

```
    path("customers/", views.customers, name="customers"),
    path("customers/customer/<int:id>/", views.customer, name="customer"),
    path("add_customer/", views.add_customer, name="add_customer"),

```

forms.py

```
class CustomerForm(forms.ModelForm):
    class Meta:
        model = AppCustomerCst
        fields = ('is_active_cst', 'name_cst', 'address_1_cst', 'address_2_cst', 'address_3_cst',
                  'city_cst', 'state_cst', 'zip_cst', 'country_cst', 'salesrep_cst', 'type_cst',
                  'is_allowed_flat_cst', 'iddef_cst', 'balance_notify_cst',  'receive_emails_cst',
                  'contact_domain_cst'
                  )

```

add\_customer.py [form portion]

```
    <form method="post" action='AdminPortal:add_customer'>
        {% csrf_token %}
        {{ customer_form }}
        <button type="button" value="submit">Submit</button>
        <button type="button" value="cancel">Cancel</button>

    </form>

```