Remove default name from create_review_permssions
This was removed somewhere in 1.8, which means this results in a failure. If I understand correctly, this "name" is now derived from the model name's __str__ or something like that.
This commit is contained in:
		
							parent
							
								
									e668bf03c2
								
							
						
					
					
						commit
						31375f9e91
					
				
					 1 changed files with 0 additions and 1 deletions
				
			
		|  | @ -12,7 +12,6 @@ class Command(BaseCommand): | ||||||
|         ct, created = ContentType.objects.get_or_create( |         ct, created = ContentType.objects.get_or_create( | ||||||
|             model="", |             model="", | ||||||
|             app_label="reviews", |             app_label="reviews", | ||||||
|             defaults={"name": "reviews"} |  | ||||||
|         ) |         ) | ||||||
| 
 | 
 | ||||||
|         for ps in ProposalSection.objects.all(): |         for ps in ProposalSection.objects.all(): | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		
		Reference in a new issue
	
	 Sachi King
						Sachi King