Skip to content
Snippets Groups Projects
Commit c3384572 authored by Nik | Klampfradler's avatar Nik | Klampfradler
Browse files

Merge branch '16-unable-to-borrow-bookcopy' into 'master'

Resolve "Unable to borrow bookcopy"

Closes #16

See merge request AlekSIS/AlekSIS-App-Exlibris!21
parents 2749bb79 a3883a27
No related branches found
No related tags found
1 merge request!21Resolve "Unable to borrow bookcopy"
# Generated by Django 3.0.3 on 2020-02-05 15:55
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('exlibris', '0002_db_indexes'),
]
operations = [
migrations.AlterField(
model_name='bookcopy',
name='borrow_count',
field=models.PositiveSmallIntegerField(default=0, verbose_name='Number of borrowings'),
),
]
...@@ -67,7 +67,7 @@ class BookCopy(models.Model): ...@@ -67,7 +67,7 @@ class BookCopy(models.Model):
) )
borrow_count = models.PositiveSmallIntegerField( borrow_count = models.PositiveSmallIntegerField(
verbose_name=_("Number of borrowings"), blank=True, null=True verbose_name=_("Number of borrowings"), default=0
) )
condition = models.CharField( condition = models.CharField(
verbose_name=_("Condition"), choices=CONDITION_CHOICES, max_length=1, blank=True verbose_name=_("Condition"), choices=CONDITION_CHOICES, max_length=1, blank=True
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment