Setting up pyenv and show default value on confirm add (#7)
Co-authored-by: Thu Trang Pham <thu@joinmodernhealth.com>
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
# Generated by Django 3.1.6 on 2021-02-10 00:01
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('market', '0003_auto_20201108_1717'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AddField(
|
||||
model_name='inventory',
|
||||
name='notes',
|
||||
field=models.TextField(blank=True, default='This is the default', null=True),
|
||||
),
|
||||
]
|
||||
@@ -32,3 +32,4 @@ class Inventory(models.Model):
|
||||
)
|
||||
item = models.ForeignKey(to=Item, on_delete=models.CASCADE)
|
||||
quantity = models.PositiveIntegerField(default=0, null=True, blank=True)
|
||||
notes = models.TextField(default="This is the default", null=True, blank=True)
|
||||
|
||||
Reference in New Issue
Block a user