<s> from django import VERSION <EOL> from django . forms import ModelForm <EOL> if VERSION < ( <NUM_LIT:1> , <NUM_LIT:4> ) : <EOL> from test . generic . models import DummyIPAddressFieldModel <EOL> class DummyIPAddressFieldForm ( ModelForm ) : <EOL> class Meta : <EOL> fields = ( '<STR_LIT>' , ) <EOL> model = DummyIPAddressFieldModel <EOL> else : <EOL> from test . generic . models import DummyGenericIPAddressFieldModel <EOL> class DummyGenericIPAddressFieldForm ( ModelForm ) : <EOL> class Meta : <EOL> fields = ( '<STR_LIT>' , '<STR_LIT>' , '<STR_LIT>' ) <EOL> model = DummyGenericIPAddressFieldModel </s>
