added description and allow_anonymous_ideas fields
This commit is contained in:
		
							parent
							
								
									b7c87e12b0
								
							
						
					
					
						commit
						09a0b5da5d
					
				
					 1 changed files with 3 additions and 1 deletions
				
			
		|  | @ -8,10 +8,12 @@ import secretballot | |||
| class Subsite(models.Model): | ||||
|     slug = models.SlugField(max_length=50, primary_key=True) | ||||
|     name = models.CharField(max_length=50) | ||||
|     description = models.TextField() | ||||
| 
 | ||||
|     theme = models.CharField(max_length=100) | ||||
|     theme = models.CharField(help_text='name of base theme template', max_length=100) | ||||
| 
 | ||||
|     ideas_per_page = models.IntegerField(default=10) | ||||
|     allow_anonymous_ideas = models.BooleanField(default=False) | ||||
| 
 | ||||
|     def __unicode__(self): | ||||
|         return self.name | ||||
|  |  | |||
		Loading…
	
		Reference in a new issue
	
	 James Turk
						James Turk