ircbot: specify IrcPlugin ordering
This commit is contained in:
parent
f9d12811b6
commit
53604c3184
|
@ -69,6 +69,9 @@ class IrcPlugin(models.Model):
|
|||
path = models.CharField(max_length=200, unique=True)
|
||||
autoload = models.BooleanField(default=False)
|
||||
|
||||
class Meta:
|
||||
ordering = ['path']
|
||||
|
||||
def __unicode__(self):
|
||||
"""String representation."""
|
||||
|
||||
|
|
Loading…
Reference in New Issue