Commit 847a4d79 authored by Benjamin S Waters's avatar Benjamin S Waters
Browse files

fixed meta deta on categories

parent ac5198a3
...@@ -7,6 +7,13 @@ import datetime ...@@ -7,6 +7,13 @@ import datetime
class Category(TimeStampedModel): class Category(TimeStampedModel):
name = models.CharField(max_length=100) name = models.CharField(max_length=100)
class Meta:
verbose_name = "Categories"
ordering = ['name']
def __unicode__(self):
return '%s' % self.name
class Facility(TimeStampedModel): class Facility(TimeStampedModel):
"""Represents a facility location on campus.""" """Represents a facility location on campus."""
name = models.CharField(max_length=100) name = models.CharField(max_length=100)
......
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