Functional

This commit is contained in:
Antoine Martin 2022-05-13 05:11:35 +02:00
parent 7a053983a7
commit c924918387
15 changed files with 281 additions and 19 deletions

View file

@ -1,6 +1,7 @@
# Generated by Django 4.0.4 on 2022-05-13 00:55
# Generated by Django 4.0.4 on 2022-05-13 05:27
import datetime
import django.core.validators
from django.db import migrations, models
import django.db.models.deletion
@ -28,7 +29,7 @@ class Migration(migrations.Migration):
('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
('name', models.CharField(max_length=128, verbose_name='Nom du projet')),
('author_name', models.CharField(max_length=128, verbose_name='Auteur')),
('project_id', models.PositiveBigIntegerField(unique=True, verbose_name='Scratch project id')),
('project_url', models.URLField(validators=[django.core.validators.RegexValidator(regex='https?://scratch\\.mit\\.edu/projects/([0-9]+)/?')], verbose_name='Scratch project url')),
('event', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='scratch_show.event')),
],
),