-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Modificadas las tuplas por entidades propias
- Loading branch information
Showing
10 changed files
with
174 additions
and
40 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
# -*- coding: utf-8 -*- | ||
# Generated by Django 1.9 on 2016-01-05 21:10 | ||
from __future__ import unicode_literals | ||
|
||
from django.db import migrations, models | ||
import django.db.models.deletion | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
('activity', '0001_initial'), | ||
] | ||
|
||
operations = [ | ||
migrations.CreateModel( | ||
name='TalkLevel', | ||
fields=[ | ||
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), | ||
('description', models.CharField(help_text='Talk level i.e. Begginer, Expert', max_length=50, verbose_name='Description')), | ||
], | ||
options={ | ||
'verbose_name': 'Talk Level', | ||
'verbose_name_plural': 'Talk Levels', | ||
}, | ||
), | ||
migrations.AlterField( | ||
model_name='comment', | ||
name='created', | ||
field=models.DateTimeField(), | ||
), | ||
migrations.AlterField( | ||
model_name='talkproposal', | ||
name='level', | ||
field=models.ForeignKey(help_text="The talk's Technical level", on_delete=django.db.models.deletion.CASCADE, to='activity.TalkLevel', verbose_name='Level'), | ||
), | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
# -*- coding: utf-8 -*- | ||
# Generated by Django 1.9 on 2016-01-05 21:10 | ||
from __future__ import unicode_literals | ||
|
||
from django.db import migrations, models | ||
import django.db.models.deletion | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
('device', '0001_initial'), | ||
] | ||
|
||
operations = [ | ||
migrations.CreateModel( | ||
name='HardwareChoices', | ||
fields=[ | ||
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), | ||
('description', models.CharField(max_length=200, verbose_name='Description')), | ||
], | ||
options={ | ||
'verbose_name': 'Hardware Choice', | ||
'verbose_name_plural': 'Hardware Choices', | ||
}, | ||
), | ||
migrations.CreateModel( | ||
name='SoftwareChoices', | ||
fields=[ | ||
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), | ||
('description', models.CharField(max_length=200, verbose_name='Description')), | ||
], | ||
options={ | ||
'verbose_name': 'Software Choice', | ||
'verbose_name_plural': 'Software Choices', | ||
}, | ||
), | ||
migrations.AlterField( | ||
model_name='hardware', | ||
name='type', | ||
field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='device.HardwareChoices', verbose_name='Type'), | ||
), | ||
migrations.AlterField( | ||
model_name='software', | ||
name='type', | ||
field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='device.SoftwareChoices', verbose_name='Type'), | ||
), | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters