diff options
Diffstat (limited to 'app')
-rw-r--r-- | app/books/migrations/0009_book_afflink.py | 18 | ||||
-rw-r--r-- | app/books/models.py | 1 |
2 files changed, 19 insertions, 0 deletions
diff --git a/app/books/migrations/0009_book_afflink.py b/app/books/migrations/0009_book_afflink.py new file mode 100644 index 0000000..6130807 --- /dev/null +++ b/app/books/migrations/0009_book_afflink.py @@ -0,0 +1,18 @@ +# Generated by Django 2.1.5 on 2019-02-22 21:51 + +from django.db import migrations, models + + +class Migration(migrations.Migration): + + dependencies = [ + ('books', '0008_auto_20190222_2140'), + ] + + operations = [ + migrations.AddField( + model_name='book', + name='afflink', + field=models.CharField(blank=True, max_length=400, null=True), + ), + ] diff --git a/app/books/models.py b/app/books/models.py index 5df74f1..00c0bdf 100644 --- a/app/books/models.py +++ b/app/books/models.py @@ -32,6 +32,7 @@ class Book(models.Model): publish_date = models.CharField(max_length=40, blank=True, null=True) publish_place = models.CharField(max_length=100, blank=True, null=True) openlib_url = models.CharField(max_length=400, blank=True, null=True) + afflink = models.CharField(max_length=400, blank=True, null=True) RATINGS = ( ('1', "1 Star"), ('2', "2 Stars"), |