Initial commit
This commit is contained in:
30
social/migrations/0001_initial.py
Normal file
30
social/migrations/0001_initial.py
Normal file
@@ -0,0 +1,30 @@
|
||||
# Generated by Django 2.1.2 on 2018-10-04 21:04
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
initial = True
|
||||
|
||||
dependencies = [
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.CreateModel(
|
||||
name='Link',
|
||||
fields=[
|
||||
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
|
||||
('key', models.SlugField(max_length=100, unique=True, verbose_name='Nombre clave')),
|
||||
('name', models.CharField(max_length=200, verbose_name='Red social')),
|
||||
('url', models.URLField(blank=True, null=True, verbose_name='Enlace')),
|
||||
('created', models.DateTimeField(auto_now_add=True, verbose_name='Fecha de creación')),
|
||||
('updated', models.DateTimeField(auto_now=True, verbose_name='Fecha de modificación')),
|
||||
],
|
||||
options={
|
||||
'verbose_name': 'enlace',
|
||||
'verbose_name_plural': 'enlaces',
|
||||
'ordering': ['name'],
|
||||
},
|
||||
),
|
||||
]
|
||||
0
social/migrations/__init__.py
Normal file
0
social/migrations/__init__.py
Normal file
Reference in New Issue
Block a user