mirror of
https://github.com/django/django.git
synced 2025-10-24 06:06:09 +00:00
Fixed various tests on MySQL with MyISAM storage engine.
This commit is contained in:
@@ -21,6 +21,9 @@ class Category(models.Model):
|
||||
slug = models.SlugField(max_length=20)
|
||||
url = models.CharField("The URL", max_length=40)
|
||||
|
||||
class Meta:
|
||||
ordering = ("pk",)
|
||||
|
||||
def __str__(self):
|
||||
return self.name
|
||||
|
||||
|
||||
Reference in New Issue
Block a user