Let grids be paginated even when they have no model class
This commit is contained in:
		
							parent
							
								
									582aabc1a3
								
							
						
					
					
						commit
						50d6f1f95a
					
				
					 1 changed files with 0 additions and 3 deletions
				
			
		|  | @ -813,9 +813,6 @@ class Grid(object): | |||
|         Paginate the given data set according to current settings, and return | ||||
|         the result. | ||||
|         """ | ||||
|         if not self.model_class: | ||||
|             return data | ||||
| 
 | ||||
|         # we of course assume our current page is correct, at first | ||||
|         pager = self.make_pager(data) | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Lance Edgar
						Lance Edgar