Skip to content

Commit

Permalink
Merge pull request #388 from 18F/office-name-display
Browse files Browse the repository at this point in the history
Add the office name to the Django admin.
  • Loading branch information
cmc333333 authored Jun 9, 2017
2 parents 3417783 + c0ed15f commit b0a9676
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions reqs/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,9 @@ class PolicyTypes(Enum):
class Office(models.Model):
name = models.CharField(max_length=256)

def __str__(self):
return self.name


class Policy(models.Model):
class Meta:
Expand Down

0 comments on commit b0a9676

Please sign in to comment.