Select Git revision
0004_auto_20200915_1827.py
Seon82
authored and
GitHub
committed
* Password reset feature (#8) * Add Django Rest auth module * Try to make the send reset password email work * Modified template mail for reset * Add Django Rest auth module * Try to make the send reset password email work * Modified template mail for reset * test * Ajouté API student * API GET sans authentification * Added POST support * POST API fix * Fixed charfields length in wiki * loosen security * simplify API serialized data * Implemented partial_update * Added special teaching and nationality to serializer * dependantsNumber to int * Fixed factory imports * Added write auth and minor serializer fix * Added read permissions * Read permissions that work? * Actually added read permissions? * Updated tests to pass travis * Updated tests * Fixed all factory tests * Adapté les tests à la nouvelle structure de Student * Created StaffUserFactory and finished fixing tests * Update README.md * Added classType * Fixed migrations * Added last modified year & filters in admin interface Co-authored-by:chiahetcho <44137047+chiahetcho@users.noreply.github.com> Co-authored-by:
florimondmanca <florimond.manca@gmail.com> Co-authored-by:
Dylan Sechet <dylan.sechet@student-cs.fr> Co-authored-by:
Arthur Guédon <arthur.guedon@student-cs.fr>
0004_auto_20200915_1827.py 1.45 KiB
# Generated by Django 2.2 on 2020-09-15 16:27
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('profiles', '0003_auto_20200914_0057'),
]
operations = [
migrations.AlterField(
model_name='student',
name='dependantsNumber',
field=models.CharField(blank=True, max_length=12, null=True, verbose_name="numéro d'urgence"),
),
migrations.AlterField(
model_name='student',
name='fatherActivity',
field=models.CharField(blank=True, max_length=70, null=True, verbose_name='métier du père'),
),
migrations.AlterField(
model_name='student',
name='grade',
field=models.CharField(blank=True, max_length=20, null=True, verbose_name='niveau de la classe'),
),
migrations.AlterField(
model_name='student',
name='motherActivity',
field=models.CharField(blank=True, max_length=70, null=True, verbose_name='métier de la mère'),
),
migrations.AlterField(
model_name='student',
name='scholarship',
field=models.NullBooleanField(verbose_name='boursier'),
),
migrations.AlterField(
model_name='student',
name='school',
field=models.CharField(blank=True, max_length=70, null=True, verbose_name="nom de l'école"),
),
]