mirror of
https://github.com/bookwyrm-social/bookwyrm.git
synced 2024-12-15 04:36:34 +00:00
Add a couple forgotten files
This commit is contained in:
parent
500f05266a
commit
a951f20ff6
2 changed files with 24 additions and 0 deletions
23
bookwyrm/migrations/0015_auto_20201128_0734.py
Normal file
23
bookwyrm/migrations/0015_auto_20201128_0734.py
Normal file
|
@ -0,0 +1,23 @@
|
||||||
|
# Generated by Django 3.0.7 on 2020-11-28 07:34
|
||||||
|
|
||||||
|
from django.db import migrations, models
|
||||||
|
|
||||||
|
|
||||||
|
class Migration(migrations.Migration):
|
||||||
|
|
||||||
|
dependencies = [
|
||||||
|
('bookwyrm', '0014_merge_20201128_0007'),
|
||||||
|
]
|
||||||
|
|
||||||
|
operations = [
|
||||||
|
migrations.RenameField(
|
||||||
|
model_name='readthrough',
|
||||||
|
old_name='pages_read',
|
||||||
|
new_name='progress',
|
||||||
|
),
|
||||||
|
migrations.AddField(
|
||||||
|
model_name='readthrough',
|
||||||
|
name='progress_mode',
|
||||||
|
field=models.CharField(choices=[('PG', 'page'), ('PCT', 'percent')], default='PG', max_length=3),
|
||||||
|
),
|
||||||
|
]
|
1
bookwyrm/tests/actions/__init__.py
Normal file
1
bookwyrm/tests/actions/__init__.py
Normal file
|
@ -0,0 +1 @@
|
||||||
|
from . import *
|
Loading…
Reference in a new issue