Fakultas Ilmu Komputer UI

Commit c4a1d810 authored by Yumna Pratista's avatar Yumna Pratista
Browse files

Use Bootstrap to improve layout

parent 418f75de
# Generated by Django 2.2.1 on 2019-09-25 09:10
# Generated by Django 2.2.1 on 2019-10-10 08:11
from django.db import migrations, models
import django.db.models.deletion
class Migration(migrations.Migration):
......@@ -11,10 +12,18 @@ class Migration(migrations.Migration):
]
operations = [
migrations.CreateModel(
name='List',
fields=[
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
],
),
migrations.CreateModel(
name='Item',
fields=[
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
('text', models.TextField(default='')),
('list', models.ForeignKey(default=None, on_delete=django.db.models.deletion.CASCADE, to='app_homepage.List')),
],
),
]
# Generated by Django 2.2.1 on 2019-09-25 09:17
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('app_homepage', '0001_initial'),
]
operations = [
migrations.AddField(
model_name='item',
name='text',
field=models.TextField(default=''),
),
]
# Generated by Django 2.2.1 on 2019-10-10 03:32
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('app_homepage', '0002_item_text'),
]
operations = [
migrations.CreateModel(
name='List',
fields=[
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
],
),
]
# Generated by Django 2.2.1 on 2019-10-10 04:09
from django.db import migrations, models
import django.db.models.deletion
class Migration(migrations.Migration):
dependencies = [
('app_homepage', '0003_list'),
]
operations = [
migrations.AddField(
model_name='item',
name='list',
field=models.ForeignKey(default=None, on_delete=django.db.models.deletion.CASCADE, to='app_homepage.List'),
),
]
from django.db import models
class List(models.Model):
pass
pass
class Item(models.Model):
text = models.TextField(default = '')
list = models.ForeignKey(List, default = None, on_delete = models.CASCADE)
list = models.ForeignKey(List, default = None, on_delete = models.CASCADE)
\ No newline at end of file
#id_new_item {
margin-top: 2ex;
}
\ No newline at end of file
Supports Markdown
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