ecommerce/products/migrations/0001_initial.py
2018-09-10 23:16:35 +03:00

26 lines
698 B
Python

# -*- coding: utf-8 -*-
# Generated by Django 1.11.4 on 2018-07-29 08:17
from __future__ import unicode_literals
from django.db import migrations, models
class Migration(migrations.Migration):
initial = True
dependencies = [
]
operations = [
migrations.CreateModel(
name='Product',
fields=[
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
('title', models.CharField(max_length=120)),
('description', models.TextField()),
('price', models.DecimalField(decimal_places=2, default=0, max_digits=10)),
],
),
]