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)
|
path = models.CharField(max_length=200, unique=True)
|
||||||
autoload = models.BooleanField(default=False)
|
autoload = models.BooleanField(default=False)
|
||||||
|
|
||||||
|
class Meta:
|
||||||
|
ordering = ['path']
|
||||||
|
|
||||||
def __unicode__(self):
|
def __unicode__(self):
|
||||||
"""String representation."""
|
"""String representation."""
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user