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

Class Meta

locallibrary/catalog/models.py:22–23  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

20 genre = models.ManyToManyField( Genre, help_text='Select a genre for this book')
21
22 class Meta:
23 ordering = ['title', 'author']
24
25 def __str__(self):
26 return self.title

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected