Allow intern to be null
This commit is contained in:
		
							parent
							
								
									4dda40f65c
								
							
						
					
					
						commit
						adb2081131
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
					@ -20,7 +20,7 @@ class Association(models.Model):
 | 
				
			||||||
    name = models.CharField(max_length=255)
 | 
					    name = models.CharField(max_length=255)
 | 
				
			||||||
    short_name = models.CharField(max_length=255)
 | 
					    short_name = models.CharField(max_length=255)
 | 
				
			||||||
    slug = models.CharField(max_length=255)
 | 
					    slug = models.CharField(max_length=255)
 | 
				
			||||||
    intern = models.CharField(max_length=255)
 | 
					    intern = models.CharField(max_length=255, blank=True, null=True)
 | 
				
			||||||
    state = models.CharField(choices=STATES, max_length=255)
 | 
					    state = models.CharField(choices=STATES, max_length=255)
 | 
				
			||||||
    city = models.ForeignKey(to=City, on_delete=models.SET_NULL, blank=True, null=True)
 | 
					    city = models.ForeignKey(to=City, on_delete=models.SET_NULL, blank=True, null=True)
 | 
				
			||||||
    has_intern = models.BooleanField()
 | 
					    has_intern = models.BooleanField()
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue