Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class National_ID_Card(models.Model):
- name = *************
- ID = *************
- address = *************
- state = *************
- nation = **********
- def __str__(self):
- return self.name
- class Driving_Licence(models.Model):
- name = *************
- ID = *************
- vehicle_type = **********
- callahan = ***********
- def __str__(self):
- return self.name
- class NationalIDForm(forms.ModelForm):
- class Meta:
- model = National_ID_Card
- fields = ('__all__')
- class DrivingLicenceForm(forms.ModelForm):
- class Meta:
- model = Driving_Licence
- fields = ('__all__')
Add Comment
Please, Sign In to add comment