Classification (#32)

* added some code cleanup for views.py

* added some code cleanup for views.py

* fixed comics not working in the base directory.
This commit is contained in:
2021-05-11 15:52:56 +01:00
committed by GitHub
parent 443e43e3f0
commit ce38340a22
21 changed files with 355 additions and 105 deletions

View File

@@ -0,0 +1,23 @@
# Generated by Django 3.2 on 2021-05-06 12:42
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('comic', '0024_auto_20210422_0855'),
]
operations = [
migrations.AddField(
model_name='directory',
name='classification',
field=models.PositiveSmallIntegerField(choices=[(0, 'G'), (1, 'PG'), (2, '12'), (3, '15'), (4, '18')], default=4),
),
migrations.AddField(
model_name='usermisc',
name='allowed_to_read',
field=models.PositiveSmallIntegerField(choices=[(0, 'G'), (1, 'PG'), (2, '12'), (3, '15'), (4, '18')], default=4),
),
]