mirror of
				https://gitlab.com/animath/si/plateforme.git
				synced 2025-10-31 16:20:00 +01:00 
			
		
		
		
	Add country field in registration
Signed-off-by: Emmy D'Anello <emmy.danello@animath.fr>
This commit is contained in:
		
							
								
								
									
										27
									
								
								draw/migrations/0004_alter_round_number.py
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										27
									
								
								draw/migrations/0004_alter_round_number.py
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,27 @@ | ||||
| # Generated by Django 5.0.6 on 2024-06-07 12:46 | ||||
|  | ||||
| import django.core.validators | ||||
| from django.db import migrations, models | ||||
|  | ||||
|  | ||||
| class Migration(migrations.Migration): | ||||
|  | ||||
|     dependencies = [ | ||||
|         ("draw", "0003_alter_teamdraw_options"), | ||||
|     ] | ||||
|  | ||||
|     operations = [ | ||||
|         migrations.AlterField( | ||||
|             model_name="round", | ||||
|             name="number", | ||||
|             field=models.PositiveSmallIntegerField( | ||||
|                 choices=[(1, "Round 1"), (2, "Round 2")], | ||||
|                 help_text="The number of the round, 1 or 2 (or 3 for ETEAM)", | ||||
|                 validators=[ | ||||
|                     django.core.validators.MinValueValidator(1), | ||||
|                     django.core.validators.MaxValueValidator(2), | ||||
|                 ], | ||||
|                 verbose_name="number", | ||||
|             ), | ||||
|         ), | ||||
|     ] | ||||
		Reference in New Issue
	
	Block a user