Merge branch 'master' of https://github.com/alazo/eds
This commit is contained in:
commit
3317da1ee5
28 changed files with 706 additions and 0 deletions
8
.gitignore
vendored
Normal file
8
.gitignore
vendored
Normal file
|
|
@ -0,0 +1,8 @@
|
||||||
|
*.pyc
|
||||||
|
common/local_settings.py
|
||||||
|
db.sqlite3
|
||||||
|
db.eds
|
||||||
|
db.*
|
||||||
|
*.sql
|
||||||
|
*.csv
|
||||||
|
.*
|
||||||
110
cms/migrations/0001_initial.py
Normal file
110
cms/migrations/0001_initial.py
Normal file
|
|
@ -0,0 +1,110 @@
|
||||||
|
# -*- coding: utf-8 -*-
|
||||||
|
# Generated by Django 1.10.4 on 2016-12-24 09:06
|
||||||
|
from __future__ import unicode_literals
|
||||||
|
|
||||||
|
from django.db import migrations, models
|
||||||
|
import django.db.models.deletion
|
||||||
|
|
||||||
|
|
||||||
|
class Migration(migrations.Migration):
|
||||||
|
|
||||||
|
initial = True
|
||||||
|
|
||||||
|
dependencies = [
|
||||||
|
]
|
||||||
|
|
||||||
|
operations = [
|
||||||
|
migrations.CreateModel(
|
||||||
|
name='Competence',
|
||||||
|
fields=[
|
||||||
|
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
|
||||||
|
('code', models.CharField(blank=True, max_length=20)),
|
||||||
|
('libelle', models.CharField(max_length=200)),
|
||||||
|
],
|
||||||
|
),
|
||||||
|
migrations.CreateModel(
|
||||||
|
name='Domaine',
|
||||||
|
fields=[
|
||||||
|
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
|
||||||
|
('code', models.CharField(blank=True, max_length=20)),
|
||||||
|
('libelle', models.CharField(max_length=200)),
|
||||||
|
],
|
||||||
|
),
|
||||||
|
migrations.CreateModel(
|
||||||
|
name='Enseignant',
|
||||||
|
fields=[
|
||||||
|
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
|
||||||
|
('sigle', models.CharField(blank=True, default='', max_length=5)),
|
||||||
|
('nom', models.CharField(blank=True, default='', max_length=20)),
|
||||||
|
('prenom', models.CharField(blank=True, default='', max_length=20)),
|
||||||
|
('email', models.EmailField(blank=True, default='', max_length=254)),
|
||||||
|
],
|
||||||
|
),
|
||||||
|
migrations.CreateModel(
|
||||||
|
name='Module',
|
||||||
|
fields=[
|
||||||
|
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
|
||||||
|
('code', models.CharField(default='Code', max_length=10)),
|
||||||
|
('nom', models.CharField(default='Nom du module', max_length=30)),
|
||||||
|
('type', models.CharField(choices=[('Spécifique', 'spécifique'), ('Transversal', 'transversal')], max_length=20)),
|
||||||
|
('situation', models.TextField()),
|
||||||
|
('evaluation', models.TextField()),
|
||||||
|
('contenu', models.TextField()),
|
||||||
|
('periode_presentiel', models.IntegerField()),
|
||||||
|
('travail_perso', models.IntegerField()),
|
||||||
|
('sem1', models.IntegerField(default=0)),
|
||||||
|
('sem2', models.IntegerField(default=0)),
|
||||||
|
('sem3', models.IntegerField(default=0)),
|
||||||
|
('sem4', models.IntegerField(default=0)),
|
||||||
|
('sem5', models.IntegerField(default=0)),
|
||||||
|
('sem6', models.IntegerField(default=0)),
|
||||||
|
('semestre', models.CharField(default='', max_length=15)),
|
||||||
|
('competences', models.ManyToManyField(to='cms.Competence')),
|
||||||
|
],
|
||||||
|
),
|
||||||
|
migrations.CreateModel(
|
||||||
|
name='Objectif',
|
||||||
|
fields=[
|
||||||
|
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
|
||||||
|
('libelle', models.CharField(max_length=200)),
|
||||||
|
('type', models.CharField(choices=[('Savoir', 'savoir'), ('Savoir méthodologique', 'savoir méthodologique'), ('Savoir relationnel', 'savoir relationnel')], max_length=30)),
|
||||||
|
('module', models.ForeignKey(default=None, null=True, on_delete=django.db.models.deletion.CASCADE, to='cms.Module')),
|
||||||
|
],
|
||||||
|
),
|
||||||
|
migrations.CreateModel(
|
||||||
|
name='Processus',
|
||||||
|
fields=[
|
||||||
|
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
|
||||||
|
('code', models.CharField(blank=True, max_length=20)),
|
||||||
|
('libelle', models.CharField(max_length=200)),
|
||||||
|
('domaine', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='cms.Domaine')),
|
||||||
|
],
|
||||||
|
),
|
||||||
|
migrations.CreateModel(
|
||||||
|
name='Ressource',
|
||||||
|
fields=[
|
||||||
|
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
|
||||||
|
('libelle', models.CharField(max_length=200)),
|
||||||
|
('module', models.ForeignKey(default=None, null=True, on_delete=django.db.models.deletion.CASCADE, to='cms.Module')),
|
||||||
|
],
|
||||||
|
),
|
||||||
|
migrations.CreateModel(
|
||||||
|
name='SousCompetence',
|
||||||
|
fields=[
|
||||||
|
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
|
||||||
|
('code', models.CharField(blank=True, max_length=20)),
|
||||||
|
('libelle', models.CharField(max_length=200)),
|
||||||
|
('competence', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='cms.Competence')),
|
||||||
|
],
|
||||||
|
),
|
||||||
|
migrations.AddField(
|
||||||
|
model_name='domaine',
|
||||||
|
name='responsable',
|
||||||
|
field=models.ForeignKey(default=None, null=True, on_delete=django.db.models.deletion.CASCADE, to='cms.Enseignant'),
|
||||||
|
),
|
||||||
|
migrations.AddField(
|
||||||
|
model_name='competence',
|
||||||
|
name='processus',
|
||||||
|
field=models.ForeignKey(default=None, null=True, on_delete=django.db.models.deletion.CASCADE, to='cms.Processus'),
|
||||||
|
),
|
||||||
|
]
|
||||||
32
cms/migrations/0002_auto_20161224_0929.py
Normal file
32
cms/migrations/0002_auto_20161224_0929.py
Normal file
|
|
@ -0,0 +1,32 @@
|
||||||
|
# -*- coding: utf-8 -*-
|
||||||
|
# Generated by Django 1.10.4 on 2016-12-24 09:29
|
||||||
|
from __future__ import unicode_literals
|
||||||
|
|
||||||
|
from django.db import migrations, models
|
||||||
|
|
||||||
|
|
||||||
|
class Migration(migrations.Migration):
|
||||||
|
|
||||||
|
dependencies = [
|
||||||
|
('cms', '0001_initial'),
|
||||||
|
]
|
||||||
|
|
||||||
|
operations = [
|
||||||
|
migrations.AlterModelOptions(
|
||||||
|
name='domaine',
|
||||||
|
options={'ordering': ('code',)},
|
||||||
|
),
|
||||||
|
migrations.AlterModelOptions(
|
||||||
|
name='enseignant',
|
||||||
|
options={'ordering': ('nom',)},
|
||||||
|
),
|
||||||
|
migrations.AlterModelOptions(
|
||||||
|
name='processus',
|
||||||
|
options={'ordering': ('code',)},
|
||||||
|
),
|
||||||
|
migrations.AddField(
|
||||||
|
model_name='competence',
|
||||||
|
name='tyoe',
|
||||||
|
field=models.CharField(blank=True, default='', max_length=35),
|
||||||
|
),
|
||||||
|
]
|
||||||
20
cms/migrations/0003_auto_20161224_0929.py
Normal file
20
cms/migrations/0003_auto_20161224_0929.py
Normal file
|
|
@ -0,0 +1,20 @@
|
||||||
|
# -*- coding: utf-8 -*-
|
||||||
|
# Generated by Django 1.10.4 on 2016-12-24 09:29
|
||||||
|
from __future__ import unicode_literals
|
||||||
|
|
||||||
|
from django.db import migrations
|
||||||
|
|
||||||
|
|
||||||
|
class Migration(migrations.Migration):
|
||||||
|
|
||||||
|
dependencies = [
|
||||||
|
('cms', '0002_auto_20161224_0929'),
|
||||||
|
]
|
||||||
|
|
||||||
|
operations = [
|
||||||
|
migrations.RenameField(
|
||||||
|
model_name='competence',
|
||||||
|
old_name='tyoe',
|
||||||
|
new_name='type',
|
||||||
|
),
|
||||||
|
]
|
||||||
23
cms/migrations/0004_auto_20161224_1234.py
Normal file
23
cms/migrations/0004_auto_20161224_1234.py
Normal file
|
|
@ -0,0 +1,23 @@
|
||||||
|
# -*- coding: utf-8 -*-
|
||||||
|
# Generated by Django 1.10.4 on 2016-12-24 12:34
|
||||||
|
from __future__ import unicode_literals
|
||||||
|
|
||||||
|
from django.db import migrations
|
||||||
|
|
||||||
|
|
||||||
|
class Migration(migrations.Migration):
|
||||||
|
|
||||||
|
dependencies = [
|
||||||
|
('cms', '0003_auto_20161224_0929'),
|
||||||
|
]
|
||||||
|
|
||||||
|
operations = [
|
||||||
|
migrations.AlterModelOptions(
|
||||||
|
name='competence',
|
||||||
|
options={'ordering': ('code',)},
|
||||||
|
),
|
||||||
|
migrations.AlterModelOptions(
|
||||||
|
name='souscompetence',
|
||||||
|
options={'ordering': ('code',)},
|
||||||
|
),
|
||||||
|
]
|
||||||
36
cms/migrations/0005_auto_20161224_1236.py
Normal file
36
cms/migrations/0005_auto_20161224_1236.py
Normal file
|
|
@ -0,0 +1,36 @@
|
||||||
|
# -*- coding: utf-8 -*-
|
||||||
|
# Generated by Django 1.10.4 on 2016-12-24 12:36
|
||||||
|
from __future__ import unicode_literals
|
||||||
|
|
||||||
|
from django.db import migrations, models
|
||||||
|
import django.db.models.deletion
|
||||||
|
|
||||||
|
|
||||||
|
class Migration(migrations.Migration):
|
||||||
|
|
||||||
|
dependencies = [
|
||||||
|
('cms', '0004_auto_20161224_1234'),
|
||||||
|
]
|
||||||
|
|
||||||
|
operations = [
|
||||||
|
migrations.AddField(
|
||||||
|
model_name='module',
|
||||||
|
name='didactique',
|
||||||
|
field=models.TextField(default=''),
|
||||||
|
),
|
||||||
|
migrations.AddField(
|
||||||
|
model_name='module',
|
||||||
|
name='pratique_prof',
|
||||||
|
field=models.IntegerField(default=0),
|
||||||
|
),
|
||||||
|
migrations.AddField(
|
||||||
|
model_name='module',
|
||||||
|
name='processus',
|
||||||
|
field=models.ForeignKey(default=None, on_delete=django.db.models.deletion.CASCADE, to='cms.Processus'),
|
||||||
|
),
|
||||||
|
migrations.AlterField(
|
||||||
|
model_name='module',
|
||||||
|
name='evaluation',
|
||||||
|
field=models.TextField(default=''),
|
||||||
|
),
|
||||||
|
]
|
||||||
24
cms/migrations/0006_auto_20161224_1339.py
Normal file
24
cms/migrations/0006_auto_20161224_1339.py
Normal file
|
|
@ -0,0 +1,24 @@
|
||||||
|
# -*- coding: utf-8 -*-
|
||||||
|
# Generated by Django 1.10.4 on 2016-12-24 13:39
|
||||||
|
from __future__ import unicode_literals
|
||||||
|
|
||||||
|
from django.db import migrations, models
|
||||||
|
|
||||||
|
|
||||||
|
class Migration(migrations.Migration):
|
||||||
|
|
||||||
|
dependencies = [
|
||||||
|
('cms', '0005_auto_20161224_1236'),
|
||||||
|
]
|
||||||
|
|
||||||
|
operations = [
|
||||||
|
migrations.AlterModelOptions(
|
||||||
|
name='module',
|
||||||
|
options={'ordering': ('code',)},
|
||||||
|
),
|
||||||
|
migrations.AlterField(
|
||||||
|
model_name='module',
|
||||||
|
name='nom',
|
||||||
|
field=models.CharField(default='Nom du module', max_length=100),
|
||||||
|
),
|
||||||
|
]
|
||||||
25
cms/migrations/0007_auto_20161225_1951.py
Normal file
25
cms/migrations/0007_auto_20161225_1951.py
Normal file
|
|
@ -0,0 +1,25 @@
|
||||||
|
# -*- coding: utf-8 -*-
|
||||||
|
# Generated by Django 1.10.4 on 2016-12-25 19:51
|
||||||
|
from __future__ import unicode_literals
|
||||||
|
|
||||||
|
from django.db import migrations, models
|
||||||
|
|
||||||
|
|
||||||
|
class Migration(migrations.Migration):
|
||||||
|
|
||||||
|
dependencies = [
|
||||||
|
('cms', '0006_auto_20161224_1339'),
|
||||||
|
]
|
||||||
|
|
||||||
|
operations = [
|
||||||
|
migrations.AlterField(
|
||||||
|
model_name='competence',
|
||||||
|
name='libelle',
|
||||||
|
field=models.CharField(max_length=250),
|
||||||
|
),
|
||||||
|
migrations.AlterField(
|
||||||
|
model_name='souscompetence',
|
||||||
|
name='libelle',
|
||||||
|
field=models.CharField(max_length=250),
|
||||||
|
),
|
||||||
|
]
|
||||||
22
cms/migrations/0008_document.py
Normal file
22
cms/migrations/0008_document.py
Normal file
|
|
@ -0,0 +1,22 @@
|
||||||
|
# -*- coding: utf-8 -*-
|
||||||
|
# Generated by Django 1.10.4 on 2016-12-26 08:47
|
||||||
|
from __future__ import unicode_literals
|
||||||
|
|
||||||
|
from django.db import migrations, models
|
||||||
|
|
||||||
|
|
||||||
|
class Migration(migrations.Migration):
|
||||||
|
|
||||||
|
dependencies = [
|
||||||
|
('cms', '0007_auto_20161225_1951'),
|
||||||
|
]
|
||||||
|
|
||||||
|
operations = [
|
||||||
|
migrations.CreateModel(
|
||||||
|
name='Document',
|
||||||
|
fields=[
|
||||||
|
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
|
||||||
|
('docfile', models.FileField(upload_to='media')),
|
||||||
|
],
|
||||||
|
),
|
||||||
|
]
|
||||||
20
cms/migrations/0009_module_description.py
Normal file
20
cms/migrations/0009_module_description.py
Normal file
|
|
@ -0,0 +1,20 @@
|
||||||
|
# -*- coding: utf-8 -*-
|
||||||
|
# Generated by Django 1.10.4 on 2017-01-04 12:47
|
||||||
|
from __future__ import unicode_literals
|
||||||
|
|
||||||
|
from django.db import migrations, models
|
||||||
|
|
||||||
|
|
||||||
|
class Migration(migrations.Migration):
|
||||||
|
|
||||||
|
dependencies = [
|
||||||
|
('cms', '0008_document'),
|
||||||
|
]
|
||||||
|
|
||||||
|
operations = [
|
||||||
|
migrations.AddField(
|
||||||
|
model_name='module',
|
||||||
|
name='description',
|
||||||
|
field=models.TextField(blank=True, default=''),
|
||||||
|
),
|
||||||
|
]
|
||||||
20
cms/migrations/0010_auto_20170104_1251.py
Normal file
20
cms/migrations/0010_auto_20170104_1251.py
Normal file
|
|
@ -0,0 +1,20 @@
|
||||||
|
# -*- coding: utf-8 -*-
|
||||||
|
# Generated by Django 1.10.4 on 2017-01-04 12:51
|
||||||
|
from __future__ import unicode_literals
|
||||||
|
|
||||||
|
from django.db import migrations, models
|
||||||
|
|
||||||
|
|
||||||
|
class Migration(migrations.Migration):
|
||||||
|
|
||||||
|
dependencies = [
|
||||||
|
('cms', '0009_module_description'),
|
||||||
|
]
|
||||||
|
|
||||||
|
operations = [
|
||||||
|
migrations.AlterField(
|
||||||
|
model_name='module',
|
||||||
|
name='description',
|
||||||
|
field=models.TextField(),
|
||||||
|
),
|
||||||
|
]
|
||||||
20
cms/migrations/0011_processus_description.py
Normal file
20
cms/migrations/0011_processus_description.py
Normal file
|
|
@ -0,0 +1,20 @@
|
||||||
|
# -*- coding: utf-8 -*-
|
||||||
|
# Generated by Django 1.10.4 on 2017-01-04 12:52
|
||||||
|
from __future__ import unicode_literals
|
||||||
|
|
||||||
|
from django.db import migrations, models
|
||||||
|
|
||||||
|
|
||||||
|
class Migration(migrations.Migration):
|
||||||
|
|
||||||
|
dependencies = [
|
||||||
|
('cms', '0010_auto_20170104_1251'),
|
||||||
|
]
|
||||||
|
|
||||||
|
operations = [
|
||||||
|
migrations.AddField(
|
||||||
|
model_name='processus',
|
||||||
|
name='description',
|
||||||
|
field=models.TextField(default=''),
|
||||||
|
),
|
||||||
|
]
|
||||||
24
cms/migrations/0012_auto_20170104_1347.py
Normal file
24
cms/migrations/0012_auto_20170104_1347.py
Normal file
|
|
@ -0,0 +1,24 @@
|
||||||
|
# -*- coding: utf-8 -*-
|
||||||
|
# Generated by Django 1.10.4 on 2017-01-04 13:47
|
||||||
|
from __future__ import unicode_literals
|
||||||
|
|
||||||
|
from django.db import migrations, models
|
||||||
|
|
||||||
|
|
||||||
|
class Migration(migrations.Migration):
|
||||||
|
|
||||||
|
dependencies = [
|
||||||
|
('cms', '0011_processus_description'),
|
||||||
|
]
|
||||||
|
|
||||||
|
operations = [
|
||||||
|
migrations.RemoveField(
|
||||||
|
model_name='objectif',
|
||||||
|
name='type',
|
||||||
|
),
|
||||||
|
migrations.AddField(
|
||||||
|
model_name='ressource',
|
||||||
|
name='type',
|
||||||
|
field=models.CharField(choices=[('Savoir', 'savoir'), ('Savoir méthodologique', 'savoir méthodologique'), ('Savoir relationnel', 'savoir relationnel')], default='Savoir', max_length=30),
|
||||||
|
),
|
||||||
|
]
|
||||||
27
cms/migrations/0013_auto_20170108_2119.py
Normal file
27
cms/migrations/0013_auto_20170108_2119.py
Normal file
|
|
@ -0,0 +1,27 @@
|
||||||
|
# -*- coding: utf-8 -*-
|
||||||
|
# Generated by Django 1.10.4 on 2017-01-08 21:19
|
||||||
|
from __future__ import unicode_literals
|
||||||
|
|
||||||
|
from django.db import migrations
|
||||||
|
|
||||||
|
|
||||||
|
class Migration(migrations.Migration):
|
||||||
|
|
||||||
|
dependencies = [
|
||||||
|
('cms', '0012_auto_20170104_1347'),
|
||||||
|
]
|
||||||
|
|
||||||
|
operations = [
|
||||||
|
migrations.AlterModelOptions(
|
||||||
|
name='competence',
|
||||||
|
options={'ordering': ('code',), 'verbose_name': 'compétence'},
|
||||||
|
),
|
||||||
|
migrations.AlterModelOptions(
|
||||||
|
name='processus',
|
||||||
|
options={'ordering': ('code',), 'verbose_name_plural': 'processus'},
|
||||||
|
),
|
||||||
|
migrations.AlterModelOptions(
|
||||||
|
name='souscompetence',
|
||||||
|
options={'ordering': ('code',), 'verbose_name': 'sous-compétence'},
|
||||||
|
),
|
||||||
|
]
|
||||||
64
cms/migrations/0014_auto_20170127_1444.py
Normal file
64
cms/migrations/0014_auto_20170127_1444.py
Normal file
|
|
@ -0,0 +1,64 @@
|
||||||
|
# -*- coding: utf-8 -*-
|
||||||
|
# Generated by Django 1.10.4 on 2017-01-27 14:44
|
||||||
|
from __future__ import unicode_literals
|
||||||
|
|
||||||
|
from django.db import migrations, models
|
||||||
|
import django.db.models.deletion
|
||||||
|
|
||||||
|
|
||||||
|
class Migration(migrations.Migration):
|
||||||
|
|
||||||
|
dependencies = [
|
||||||
|
('cms', '0013_auto_20170108_2119'),
|
||||||
|
]
|
||||||
|
|
||||||
|
operations = [
|
||||||
|
migrations.RenameField(
|
||||||
|
model_name='competence',
|
||||||
|
old_name='libelle',
|
||||||
|
new_name='nom',
|
||||||
|
),
|
||||||
|
migrations.RenameField(
|
||||||
|
model_name='domaine',
|
||||||
|
old_name='libelle',
|
||||||
|
new_name='nom',
|
||||||
|
),
|
||||||
|
migrations.RenameField(
|
||||||
|
model_name='processus',
|
||||||
|
old_name='libelle',
|
||||||
|
new_name='nom',
|
||||||
|
),
|
||||||
|
migrations.RenameField(
|
||||||
|
model_name='ressource',
|
||||||
|
old_name='libelle',
|
||||||
|
new_name='nom',
|
||||||
|
),
|
||||||
|
migrations.RenameField(
|
||||||
|
model_name='souscompetence',
|
||||||
|
old_name='libelle',
|
||||||
|
new_name='nom',
|
||||||
|
),
|
||||||
|
migrations.RemoveField(
|
||||||
|
model_name='competence',
|
||||||
|
name='processus',
|
||||||
|
),
|
||||||
|
migrations.RemoveField(
|
||||||
|
model_name='module',
|
||||||
|
name='competences',
|
||||||
|
),
|
||||||
|
migrations.AddField(
|
||||||
|
model_name='competence',
|
||||||
|
name='module',
|
||||||
|
field=models.ForeignKey(default=None, null=True, on_delete=django.db.models.deletion.CASCADE, to='cms.Module'),
|
||||||
|
),
|
||||||
|
migrations.AlterField(
|
||||||
|
model_name='module',
|
||||||
|
name='didactique',
|
||||||
|
field=models.TextField(),
|
||||||
|
),
|
||||||
|
migrations.AlterField(
|
||||||
|
model_name='module',
|
||||||
|
name='evaluation',
|
||||||
|
field=models.TextField(),
|
||||||
|
),
|
||||||
|
]
|
||||||
20
cms/migrations/0015_auto_20170129_0700.py
Normal file
20
cms/migrations/0015_auto_20170129_0700.py
Normal file
|
|
@ -0,0 +1,20 @@
|
||||||
|
# -*- coding: utf-8 -*-
|
||||||
|
# Generated by Django 1.10.4 on 2017-01-29 07:00
|
||||||
|
from __future__ import unicode_literals
|
||||||
|
|
||||||
|
from django.db import migrations
|
||||||
|
|
||||||
|
|
||||||
|
class Migration(migrations.Migration):
|
||||||
|
|
||||||
|
dependencies = [
|
||||||
|
('cms', '0014_auto_20170127_1444'),
|
||||||
|
]
|
||||||
|
|
||||||
|
operations = [
|
||||||
|
migrations.RenameField(
|
||||||
|
model_name='objectif',
|
||||||
|
old_name='libelle',
|
||||||
|
new_name='nom',
|
||||||
|
),
|
||||||
|
]
|
||||||
19
cms/migrations/0016_remove_module_description.py
Normal file
19
cms/migrations/0016_remove_module_description.py
Normal file
|
|
@ -0,0 +1,19 @@
|
||||||
|
# -*- coding: utf-8 -*-
|
||||||
|
# Generated by Django 1.10.4 on 2017-01-29 19:24
|
||||||
|
from __future__ import unicode_literals
|
||||||
|
|
||||||
|
from django.db import migrations
|
||||||
|
|
||||||
|
|
||||||
|
class Migration(migrations.Migration):
|
||||||
|
|
||||||
|
dependencies = [
|
||||||
|
('cms', '0015_auto_20170129_0700'),
|
||||||
|
]
|
||||||
|
|
||||||
|
operations = [
|
||||||
|
migrations.RemoveField(
|
||||||
|
model_name='module',
|
||||||
|
name='description',
|
||||||
|
),
|
||||||
|
]
|
||||||
30
cms/migrations/0017_auto_20170308_0437.py
Normal file
30
cms/migrations/0017_auto_20170308_0437.py
Normal file
|
|
@ -0,0 +1,30 @@
|
||||||
|
# -*- coding: utf-8 -*-
|
||||||
|
# Generated by Django 1.10.4 on 2017-03-08 03:37
|
||||||
|
from __future__ import unicode_literals
|
||||||
|
|
||||||
|
from django.db import migrations, models
|
||||||
|
|
||||||
|
|
||||||
|
class Migration(migrations.Migration):
|
||||||
|
|
||||||
|
dependencies = [
|
||||||
|
('cms', '0016_remove_module_description'),
|
||||||
|
]
|
||||||
|
|
||||||
|
operations = [
|
||||||
|
migrations.AlterField(
|
||||||
|
model_name='module',
|
||||||
|
name='periode_presentiel',
|
||||||
|
field=models.IntegerField(verbose_name='Période en présentiel'),
|
||||||
|
),
|
||||||
|
migrations.AlterField(
|
||||||
|
model_name='module',
|
||||||
|
name='pratique_prof',
|
||||||
|
field=models.IntegerField(default=0, verbose_name='Pratique professionnelle'),
|
||||||
|
),
|
||||||
|
migrations.AlterField(
|
||||||
|
model_name='module',
|
||||||
|
name='travail_perso',
|
||||||
|
field=models.IntegerField(verbose_name='Travail personnel'),
|
||||||
|
),
|
||||||
|
]
|
||||||
21
cms/migrations/0017_document_module.py
Normal file
21
cms/migrations/0017_document_module.py
Normal file
|
|
@ -0,0 +1,21 @@
|
||||||
|
# -*- coding: utf-8 -*-
|
||||||
|
# Generated by Django 1.10.1 on 2017-02-24 10:43
|
||||||
|
from __future__ import unicode_literals
|
||||||
|
|
||||||
|
from django.db import migrations, models
|
||||||
|
import django.db.models.deletion
|
||||||
|
|
||||||
|
|
||||||
|
class Migration(migrations.Migration):
|
||||||
|
|
||||||
|
dependencies = [
|
||||||
|
('cms', '0016_remove_module_description'),
|
||||||
|
]
|
||||||
|
|
||||||
|
operations = [
|
||||||
|
migrations.AddField(
|
||||||
|
model_name='document',
|
||||||
|
name='module',
|
||||||
|
field=models.ForeignKey(default=None, null=True, on_delete=django.db.models.deletion.CASCADE, to='cms.Module'),
|
||||||
|
),
|
||||||
|
]
|
||||||
21
cms/migrations/0018_competence_processus_eval.py
Normal file
21
cms/migrations/0018_competence_processus_eval.py
Normal file
|
|
@ -0,0 +1,21 @@
|
||||||
|
# -*- coding: utf-8 -*-
|
||||||
|
# Generated by Django 1.10.1 on 2017-03-08 10:51
|
||||||
|
from __future__ import unicode_literals
|
||||||
|
|
||||||
|
from django.db import migrations, models
|
||||||
|
import django.db.models.deletion
|
||||||
|
|
||||||
|
|
||||||
|
class Migration(migrations.Migration):
|
||||||
|
|
||||||
|
dependencies = [
|
||||||
|
('cms', '0017_document_module'),
|
||||||
|
]
|
||||||
|
|
||||||
|
operations = [
|
||||||
|
migrations.AddField(
|
||||||
|
model_name='competence',
|
||||||
|
name='processus_eval',
|
||||||
|
field=models.ForeignKey(default=None, null=True, on_delete=django.db.models.deletion.CASCADE, to='cms.Processus'),
|
||||||
|
),
|
||||||
|
]
|
||||||
16
cms/migrations/0019_merge_20170308_1159.py
Normal file
16
cms/migrations/0019_merge_20170308_1159.py
Normal file
|
|
@ -0,0 +1,16 @@
|
||||||
|
# -*- coding: utf-8 -*-
|
||||||
|
# Generated by Django 1.10.1 on 2017-03-08 10:59
|
||||||
|
from __future__ import unicode_literals
|
||||||
|
|
||||||
|
from django.db import migrations
|
||||||
|
|
||||||
|
|
||||||
|
class Migration(migrations.Migration):
|
||||||
|
|
||||||
|
dependencies = [
|
||||||
|
('cms', '0018_competence_processus_eval'),
|
||||||
|
('cms', '0017_auto_20170308_0437'),
|
||||||
|
]
|
||||||
|
|
||||||
|
operations = [
|
||||||
|
]
|
||||||
29
cms/migrations/0020_auto_20170308_2018.py
Normal file
29
cms/migrations/0020_auto_20170308_2018.py
Normal file
|
|
@ -0,0 +1,29 @@
|
||||||
|
# -*- coding: utf-8 -*-
|
||||||
|
# Generated by Django 1.10.4 on 2017-03-08 19:18
|
||||||
|
from __future__ import unicode_literals
|
||||||
|
|
||||||
|
from django.db import migrations, models
|
||||||
|
import django.db.models.deletion
|
||||||
|
|
||||||
|
|
||||||
|
class Migration(migrations.Migration):
|
||||||
|
|
||||||
|
dependencies = [
|
||||||
|
('cms', '0019_merge_20170308_1159'),
|
||||||
|
]
|
||||||
|
|
||||||
|
operations = [
|
||||||
|
migrations.RemoveField(
|
||||||
|
model_name='competence',
|
||||||
|
name='processus_eval',
|
||||||
|
),
|
||||||
|
migrations.RemoveField(
|
||||||
|
model_name='document',
|
||||||
|
name='module',
|
||||||
|
),
|
||||||
|
migrations.AddField(
|
||||||
|
model_name='competence',
|
||||||
|
name='proces_eval',
|
||||||
|
field=models.ForeignKey(default=True, null=True, on_delete=django.db.models.deletion.CASCADE, to='cms.Processus'),
|
||||||
|
),
|
||||||
|
]
|
||||||
25
cms/migrations/0021_auto_20170406_1641.py
Normal file
25
cms/migrations/0021_auto_20170406_1641.py
Normal file
|
|
@ -0,0 +1,25 @@
|
||||||
|
# -*- coding: utf-8 -*-
|
||||||
|
# Generated by Django 1.10.4 on 2017-04-06 14:41
|
||||||
|
from __future__ import unicode_literals
|
||||||
|
|
||||||
|
from django.db import migrations, models
|
||||||
|
|
||||||
|
|
||||||
|
class Migration(migrations.Migration):
|
||||||
|
|
||||||
|
dependencies = [
|
||||||
|
('cms', '0020_auto_20170308_2018'),
|
||||||
|
]
|
||||||
|
|
||||||
|
operations = [
|
||||||
|
migrations.AddField(
|
||||||
|
model_name='document',
|
||||||
|
name='texte',
|
||||||
|
field=models.TextField(blank=True),
|
||||||
|
),
|
||||||
|
migrations.AddField(
|
||||||
|
model_name='document',
|
||||||
|
name='titre',
|
||||||
|
field=models.CharField(blank=True, max_length=128),
|
||||||
|
),
|
||||||
|
]
|
||||||
20
cms/migrations/0022_auto_20170406_1643.py
Normal file
20
cms/migrations/0022_auto_20170406_1643.py
Normal file
|
|
@ -0,0 +1,20 @@
|
||||||
|
# -*- coding: utf-8 -*-
|
||||||
|
# Generated by Django 1.10.4 on 2017-04-06 14:43
|
||||||
|
from __future__ import unicode_literals
|
||||||
|
|
||||||
|
from django.db import migrations, models
|
||||||
|
|
||||||
|
|
||||||
|
class Migration(migrations.Migration):
|
||||||
|
|
||||||
|
dependencies = [
|
||||||
|
('cms', '0021_auto_20170406_1641'),
|
||||||
|
]
|
||||||
|
|
||||||
|
operations = [
|
||||||
|
migrations.AlterField(
|
||||||
|
model_name='document',
|
||||||
|
name='docfile',
|
||||||
|
field=models.FileField(blank=True, upload_to='media'),
|
||||||
|
),
|
||||||
|
]
|
||||||
26
cms/migrations/0023_auto_20170406_1823.py
Normal file
26
cms/migrations/0023_auto_20170406_1823.py
Normal file
|
|
@ -0,0 +1,26 @@
|
||||||
|
# -*- coding: utf-8 -*-
|
||||||
|
# Generated by Django 1.10.4 on 2017-04-06 16:23
|
||||||
|
from __future__ import unicode_literals
|
||||||
|
|
||||||
|
from django.db import migrations, models
|
||||||
|
import tinymce.models
|
||||||
|
|
||||||
|
|
||||||
|
class Migration(migrations.Migration):
|
||||||
|
|
||||||
|
dependencies = [
|
||||||
|
('cms', '0022_auto_20170406_1643'),
|
||||||
|
]
|
||||||
|
|
||||||
|
operations = [
|
||||||
|
migrations.AddField(
|
||||||
|
model_name='document',
|
||||||
|
name='published',
|
||||||
|
field=models.BooleanField(default=False),
|
||||||
|
),
|
||||||
|
migrations.AlterField(
|
||||||
|
model_name='document',
|
||||||
|
name='texte',
|
||||||
|
field=tinymce.models.HTMLField(blank=True),
|
||||||
|
),
|
||||||
|
]
|
||||||
0
cms/migrations/__init__.py
Normal file
0
cms/migrations/__init__.py
Normal file
|
|
@ -22,7 +22,9 @@
|
||||||
<li><a href="{% url 'processus-list' %}">Processus</a> </li>
|
<li><a href="{% url 'processus-list' %}">Processus</a> </li>
|
||||||
<li><a href="{% url 'module-list' %}">Modules</a> </li>
|
<li><a href="{% url 'module-list' %}">Modules</a> </li>
|
||||||
<li><a href="{% url 'periodes' %}">Périodes</a> </li>
|
<li><a href="{% url 'periodes' %}">Périodes</a> </li>
|
||||||
|
|
||||||
<!-- <li><a href="{% url 'evaluation' %}">Evaluation</a> </li> -->
|
<!-- <li><a href="{% url 'evaluation' %}">Evaluation</a> </li> -->
|
||||||
|
|
||||||
<li><a href="{% url 'document-list' %}">Documents</a> </li>
|
<li><a href="{% url 'document-list' %}">Documents</a> </li>
|
||||||
<!-- <li><a href="{% url 'pdf-view' %}">Calendrier</a> </li>-->
|
<!-- <li><a href="{% url 'pdf-view' %}">Calendrier</a> </li>-->
|
||||||
{% if has_permission %}
|
{% if has_permission %}
|
||||||
|
|
|
||||||
|
|
@ -14,11 +14,13 @@
|
||||||
<h1>Liste des documents</h1>
|
<h1>Liste des documents</h1>
|
||||||
<ol>
|
<ol>
|
||||||
{% for doc in object_list %}
|
{% for doc in object_list %}
|
||||||
|
|
||||||
{% if doc.published %}
|
{% if doc.published %}
|
||||||
<li><a href="{% url 'document-detail' doc.id %}">{{doc}}</a></li>
|
<li><a href="{% url 'document-detail' doc.id %}">{{doc}}</a></li>
|
||||||
{% else %}
|
{% else %}
|
||||||
<li>{{doc}} (en travail)</li>
|
<li>{{doc}} (en travail)</li>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
{% empty %}
|
{% empty %}
|
||||||
<li>Aucun document disponible</li>
|
<li>Aucun document disponible</li>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue