Skip to content

Instantly share code, notes, and snippets.

@parzibyte
Created July 30, 2019 23:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save parzibyte/c43431d2ca55beb74c7874c75601099c to your computer and use it in GitHub Desktop.
Save parzibyte/c43431d2ca55beb74c7874c75601099c to your computer and use it in GitHub Desktop.
# Generated by Django 2.2 on 2019-07-30 22:57
from django.db import migrations, models
class Migration(migrations.Migration):
initial = True
dependencies = [
]
operations = [
migrations.CreateModel(
name='Gasto',
fields=[
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
('fecha', models.DateField(auto_now_add=True)),
('descripcion', models.CharField(max_length=100)),
('monto', models.DecimalField(decimal_places=2, max_digits=12)),
],
),
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment