Arrange the lines in the correct order with the correct indentations to compose the model with its name field and a meta class with its option.
Meta class
Secure the order
Report a typo
Reorder lines using drag or arrows. Adjust indentation with left buttons
name = models.CharField(max_length=250)
Class Child(models.Model):
class Meta:
ordering = ['name']
___
By continuing, you agree to the JetBrains Academy Terms of Service as well as Hyperskill Terms of Service and Privacy Policy.
Create a free account to access the full topic
By continuing, you agree to the JetBrains Academy Terms of Service as well as Hyperskill Terms of Service and Privacy Policy.