Commit 74a9cd03 authored by Daniel W Bond's avatar Daniel W Bond
Browse files

added city to address

parent 1fb7d3ed
......@@ -46,9 +46,11 @@ class Room(TimeStampedModel):
return self.building.__str__()+" "+self.number.__str__()
class Address(TimeStampedModel):
street = models.CharField(max_length=100)
zip_code = models.IntegerField(max_length=5)
street = models.CharField(max_length=120)
city = models.CharField(max_length=120)
state = USStateField()
zip_code = models.IntegerField(max_length=5)
class Meta:
verbose_name_plural = 'addresses'
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment