bb307d34d2
- Adds django rest framework to requirements - Adds basic plant model with id and name fields - Adds CRUD endpoints to interact with plant objects
21 lines
474 B
Python
21 lines
474 B
Python
# Generated by Django 3.2.8 on 2021-10-06 18:32
|
|
|
|
from django.db import migrations, models
|
|
|
|
|
|
class Migration(migrations.Migration):
|
|
|
|
initial = True
|
|
|
|
dependencies = [
|
|
]
|
|
|
|
operations = [
|
|
migrations.CreateModel(
|
|
name='Plant',
|
|
fields=[
|
|
('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
|
|
('name', models.TextField()),
|
|
],
|
|
),
|
|
]
|