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

Class Genre

locallibrary/catalog/models.py:8–12  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

6
7
8class Genre(models.Model):
9 name = models.CharField( max_length=200, help_text='Enter a book genre (e.g. Science Fiction)')
10
11 def __str__(self):
12 return self.name
13
14
15class Book(models.Model):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected