Commit 028d314d authored by Alberto Jiménez's avatar Alberto Jiménez

Archivos de iCora

parent c6065378

Too many changes to show.

To preserve performance only 1000 of 1000+ files are displayed.

File added
db.sqlite3
*.pyc
from django.contrib import admin
# Register your models here.
from django.apps import AppConfig
class AdminConfig(AppConfig):
name = 'admin'
# Generated by Django 3.0 on 2020-06-19 23:36
from django.db import migrations, models
class Migration(migrations.Migration):
initial = True
dependencies = [
]
operations = [
migrations.CreateModel(
name='configuracion',
fields=[
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
('matricula', models.CharField(max_length=100)),
('prediction_mode', models.IntegerField()),
('language', models.CharField(max_length=5)),
('malla', models.IntegerField()),
('done', models.BooleanField()),
],
),
]
# Generated by Django 3.0 on 2020-06-19 23:39
from django.db import migrations
class Migration(migrations.Migration):
dependencies = [
('admin', '0001_initial'),
]
operations = [
]
# Generated by Django 3.0 on 2020-06-19 23:39
from django.db import migrations, models
class Migration(migrations.Migration):
initial = True
dependencies = [
('admin', '0002_delete_configuracion'),
]
operations = [
migrations.CreateModel(
name='Configuracion',
fields=[
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
('matricula', models.CharField(max_length=100)),
('prediction_mode', models.IntegerField()),
('language', models.CharField(max_length=5)),
('malla', models.IntegerField()),
('done', models.BooleanField()),
],
),
]
# Generated by Django 3.0 on 2020-06-20 00:03
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('admin', '0003_configuracion'),
]
operations = [
migrations.AddField(
model_name='configuracion',
name='delete_mode',
field=models.IntegerField(default='0'),
preserve_default=False,
),
]
# Generated by Django 3.0 on 2020-06-22 15:31
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('admin', '0004_configuracion_delete_mode'),
]
operations = [
migrations.AddField(
model_name='configuracion',
name='orden',
field=models.IntegerField(default=1),
preserve_default=False,
),
]
# Generated by Django 3.0 on 2020-06-23 17:51
from django.db import migrations
class Migration(migrations.Migration):
dependencies = [
('admin', '0005_configuracion_orden'),
]
operations = [
migrations.RemoveField(
model_name='configuracion',
name='malla',
),
]
# Generated by Django 3.0 on 2020-07-06 17:25
from django.db import migrations, models
import django.db.models.deletion
class Migration(migrations.Migration):
dependencies = [
('admin', '0006_remove_configuracion_malla'),
]
operations = [
migrations.CreateModel(
name='Formulario',
fields=[
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
('nombre', models.CharField(max_length=100)),
],
),
migrations.CreateModel(
name='Malla',
fields=[
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
('prediction_mode', models.IntegerField()),
('language', models.CharField(max_length=5)),
('delete_mode', models.IntegerField()),
],
),
migrations.CreateModel(
name='Opcion',
fields=[
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
('texto', models.CharField(max_length=100)),
],
),
migrations.CreateModel(
name='Pregunta',
fields=[
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
('texto', models.CharField(max_length=2000)),
('tipo', models.IntegerField()),
('forumario', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='admin.Formulario')),
],
),
migrations.DeleteModel(
name='Configuracion',
),
migrations.AddField(
model_name='opcion',
name='pregunta',
field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='admin.Pregunta'),
),
]
# Generated by Django 3.0 on 2020-07-06 17:25
from django.db import migrations, models
import django.db.models.deletion
class Migration(migrations.Migration):
dependencies = [
('admin', '0007_auto_20200706_1725'),
]
operations = [
migrations.CreateModel(
name='Configuracion',
fields=[
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
('orden', models.IntegerField()),
('usuario', models.CharField(max_length=100)),