MCPcopy Create free account
hub / github.com/codemistic/Web-Development / Meta

Class Meta

locallibrary/catalog/models.py:55–56  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

53 status = models.CharField(max_length=20, choices=LOAN_STATUS, blank=True, default='Maintenance', help_text='Book availability',)
54
55 class Meta:
56 ordering = ['due_back']
57
58 def __str__(self):
59 return f'{self.id} ({self.book.title})'

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected