mirror of
https://github.com/django/django.git
synced 2025-10-31 09:41:08 +00:00
Used model's Options.label/label_lower where applicable.
This commit is contained in:
@@ -307,7 +307,7 @@ class Options:
|
||||
return '<Options for %s>' % self.object_name
|
||||
|
||||
def __str__(self):
|
||||
return "%s.%s" % (self.app_label, self.model_name)
|
||||
return self.label_lower
|
||||
|
||||
def can_migrate(self, connection):
|
||||
"""
|
||||
|
||||
Reference in New Issue
Block a user