diff --git a/trademark/models.py b/trademark/models.py index 1515341..fcf1ab4 100644 --- a/trademark/models.py +++ b/trademark/models.py @@ -38,6 +38,7 @@ class Nice(models.Model): class Meta: verbose_name = _('nice') verbose_name_plural = _('classes') + ordering = ('nice_id', ) def __unicode__(self): # Python 3: def __str__(self): return self.title diff --git a/trademark/templates/trademark/search_detail.html b/trademark/templates/trademark/search_detail.html index cdabda8..034e464 100644 --- a/trademark/templates/trademark/search_detail.html +++ b/trademark/templates/trademark/search_detail.html @@ -73,7 +73,7 @@ {% endif %} -