Skip to content
Snippets Groups Projects

Compare revisions

Changes are shown as if the source revision was being merged into the target revision. Learn more about comparing revisions.

Source

Select target project
No results found

Target

Select target project
  • AlekSIS/onboarding/AlekSIS-App-Exlibris
1 result
Show changes
Commits on Source (2)
......@@ -7,6 +7,8 @@ from biscuit.core.mixins import SchoolRelated
class Book(SchoolRelated):
"""A book that is available for borrowing by persons."""
title = models.CharField(verbose_name=_('Book title'), max_length=50)
author = models.CharField(verbose_name=_(
'Author name'), max_length=50, blank=True)
......@@ -38,6 +40,10 @@ class Book(SchoolRelated):
class BookCopy(models.Model):
"""A single copy of a book. This is the item that will be associated with
a person who borrowed it.
"""
CONDITION_CHOICES = [
('U', _('New, unused')),
('N', _('New, used')),
......
Models of the Exlibris app
==========================
.. automodule:: biscuit.app.exlibris.models
:members: