Jo, tohle tedy nefunguje :(
This commit is contained in:
		
							parent
							
								
									894ba3128d
								
							
						
					
					
						commit
						a4ef28465f
					
				
					 1 changed files with 0 additions and 6 deletions
				
			
		|  | @ -369,12 +369,6 @@ class Deadline(SeminarModelBase): | |||
| 	def __str__(self): | ||||
| 		return self.CHOICES_MAP[self.typ] + " " + str(self.cislo) | ||||
| 
 | ||||
| 	def next(self): | ||||
| 		return Deadline.objects.filter(gt=self).first() | ||||
| 
 | ||||
| 	def previous(self): | ||||
| 		return Deadline.objects.filter(lt=self).last() | ||||
| 
 | ||||
| 
 | ||||
| 
 | ||||
| @reversion.register(ignore_duplicates=True) | ||||
|  |  | |||
		Loading…
	
		Reference in a new issue