Commit 8b91d64c authored by Star Neptune R. Sy's avatar Star Neptune R. Sy

data has been populated

parent 73418642
# Generated by Django 3.2 on 2023-03-28 13:53
import datetime
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('bookshelf', '0001_initial'),
]
operations = [
migrations.AlterField(
model_name='book',
name='year_published',
field=models.DateField(default=datetime.datetime(2023, 3, 28, 21, 53, 0, 569351)),
),
]
......@@ -19,7 +19,7 @@ class Book(models.Model):
on_delete=models.CASCADE,
)
publisher = models.CharField(max_length=50, blank=True)
year_published = models.DateField(datetime.datetime.today())
year_published = models.DateField(default=datetime.datetime.today())
ISBN = models.CharField(max_length=50, unique=True, blank=False, default="0000000000000")
blurb = models.TextField(blank=True,)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment