mirror of
				https://github.com/paperless-ngx/paperless-ngx.git
				synced 2025-11-03 19:17:13 -05:00 
			
		
		
		
	Removed unused function many_to_list
This commit is contained in:
		
							parent
							
								
									e70d0c53c8
								
							
						
					
					
						commit
						26b20cf62e
					
				@ -283,12 +283,6 @@ class Document(models.Model):
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
        return self.filename
 | 
					        return self.filename
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    def many_to_list(self, field):
 | 
					 | 
				
			||||||
        mylist = []
 | 
					 | 
				
			||||||
        for t in field.all():
 | 
					 | 
				
			||||||
            mylist.append(t.name)
 | 
					 | 
				
			||||||
        return mylist
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
    def many_to_dictionary(self, field):
 | 
					    def many_to_dictionary(self, field):
 | 
				
			||||||
        mydictionary = dict()
 | 
					        mydictionary = dict()
 | 
				
			||||||
        for t in field.all():
 | 
					        for t in field.all():
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user