X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/349f8b311ecdf30a181b94a8c7747867bacca356..33af401eb4abe15a37d0147807d06a9b19eaa802:/src/catalogue/models/edition.py?ds=inline diff --git a/src/catalogue/models/edition.py b/src/catalogue/models/edition.py new file mode 100644 index 000000000..d04dd0aa9 --- /dev/null +++ b/src/catalogue/models/edition.py @@ -0,0 +1,10 @@ +from django.db import models + + +class Edition(models.Model): + book = models.ForeignKey('Book', models.CASCADE) + identifier = models.CharField(max_length=32) + created_at = models.DateTimeField(auto_now_add=True) + + +