mirror of
				https://gitlab.crans.org/bde/nk20
				synced 2025-11-04 01:12:08 +01:00 
			
		
		
		
	BooleanField -> CharField (a locale name is not a boolean)
This commit is contained in:
		@@ -92,10 +92,11 @@ class Profile(models.Model):
 | 
				
			|||||||
        default=False,
 | 
					        default=False,
 | 
				
			||||||
    )
 | 
					    )
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    ml_events_registration = models.BooleanField(
 | 
					    ml_events_registration = models.CharField(
 | 
				
			||||||
        blank=True,
 | 
					        blank=True,
 | 
				
			||||||
        null=True,
 | 
					        null=True,
 | 
				
			||||||
        default=None,
 | 
					        default=None,
 | 
				
			||||||
 | 
					        max_length=2,
 | 
				
			||||||
        choices=[
 | 
					        choices=[
 | 
				
			||||||
            (None, _("No")),
 | 
					            (None, _("No")),
 | 
				
			||||||
            ('fr', _("Yes (receive them in french)")),
 | 
					            ('fr', _("Yes (receive them in french)")),
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user