From 0e82886b02d69d84df911b2adc417e8923f0fac2 Mon Sep 17 00:00:00 2001 From: Flavio Tarsetti <flavio.tarsetti@idiap.ch> Date: Sat, 2 May 2020 03:04:39 +0200 Subject: [PATCH] [accounts][models/migration] typo correction --- ...ccounts_tempoary_url.py => 0012_accounts_temporary_url.py} | 4 ++-- beat/web/accounts/models.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) rename beat/web/accounts/migrations/{0012_accounts_tempoary_url.py => 0012_accounts_temporary_url.py} (92%) diff --git a/beat/web/accounts/migrations/0012_accounts_tempoary_url.py b/beat/web/accounts/migrations/0012_accounts_temporary_url.py similarity index 92% rename from beat/web/accounts/migrations/0012_accounts_tempoary_url.py rename to beat/web/accounts/migrations/0012_accounts_temporary_url.py index b7fc41743..2febd0aca 100644 --- a/beat/web/accounts/migrations/0012_accounts_tempoary_url.py +++ b/beat/web/accounts/migrations/0012_accounts_temporary_url.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Generated by Django 1.11.26 on 2020-04-27 23:41 +# Generated by Django 1.11.26 on 2020-05-02 03:02 from __future__ import unicode_literals from django.db import migrations, models @@ -17,7 +17,7 @@ class Migration(migrations.Migration): name='TemporaryUrl', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), - ('status', models.CharField(choices=[('V', 'Supervisor validates supervisee'), ('Y', 'Self yearly revalidation from sueprvisee')], default='V', max_length=1)), + ('status', models.CharField(choices=[('V', 'Supervisor validates supervisee'), ('Y', 'Self yearly revalidation from supervisee')], default='V', max_length=1)), ('url_hash', models.CharField(max_length=32, unique=True, verbose_name='Url')), ('expires', models.DateTimeField(verbose_name='Expires')), ('supervision_track', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='supervisees', to='accounts.SupervisionTrack')), diff --git a/beat/web/accounts/models.py b/beat/web/accounts/models.py index a67f3364b..500597da2 100644 --- a/beat/web/accounts/models.py +++ b/beat/web/accounts/models.py @@ -163,7 +163,7 @@ class TemporaryUrl(models.Model): URL_STATUS = ( (VALIDATION, "Supervisor validates supervisee"), - (YEARREVALIDATION, "Self yearly revalidation from sueprvisee"), + (YEARREVALIDATION, "Self yearly revalidation from supervisee"), ) # _____ Fields __________ -- GitLab