forked from naman2807/NewCartZone.github.io
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path0001_initial.py
More file actions
26 lines (20 loc) · 810 Bytes
/
0001_initial.py
File metadata and controls
26 lines (20 loc) · 810 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# Generated by Django 3.0.6 on 2020-06-02 06:22
from django.db import migrations, models
class Migration(migrations.Migration):
initial = True
dependencies = [
]
operations = [
migrations.CreateModel(
name='Blogpost',
fields=[
('post_id', models.AutoField(primary_key=True, serialize=False)),
('title', models.CharField(max_length=20)),
('head', models.CharField(default='', max_length=500)),
('head1', models.CharField(default='', max_length=500)),
('head2', models.CharField(default='', max_length=500)),
('pub_date', models.DateField()),
('thumbnail', models.ImageField(default='', upload_to='shop/images')),
],
),
]