# django imports
from django import forms

# lfs_order_numbers imports
from lfs_order_numbers.models import OrderNumberGenerator


class OrderNumberGeneratorForm(forms.ModelForm):
    """Form to edit order number generator.
    """
    class Meta:
        model = OrderNumberGenerator
        fields = ("format", "last")

@@ -290,32 +290,23 @@
     
-fields = (%22format%22, %22last%22
+exclude = (%22id%22, 
 )%0A

Exclude id from form.