MCPcopy
hub / github.com/django/django / Author

Class Author

tests/lookup/models.py:19–25  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

17
18
19class Author(models.Model):
20 name = models.CharField(max_length=100)
21 alias = models.CharField(max_length=50, null=True, blank=True)
22 bio = models.TextField(null=True)
23
24 class Meta:
25 ordering = ("name",)
26
27
28class Article(models.Model):

Callers 1

Calls

no outgoing calls

Tested by 1