from django.db import models


class Device(models.Model):
    """Model for FfxOS devices data."""

    model = models.CharField(max_length=120)
    manufacturer = models.CharField(max_length=120)

    def __unicode__(self):
        return '{0}, {1}'.format(self.manufacturer, self.model)

@@ -282,8 +282,70 @@
 .model)%0A
+%0A    class Meta:%0A        ordering = %5B'manufacturer', 'model'%5D%0A

Order devices by manufacturer and model.