Merge pull request #69 from joeladdison/lca2017-ical
Generate ical description dynamically
This commit is contained in:
		
						commit
						c5c272f7d9
					
				
					 1 changed files with 2 additions and 1 deletions
				
			
		|  | @ -270,7 +270,8 @@ class EventFeed(ICalFeed): | ||||||
|     product_id = '-//linux.conf.au/schedule//EN' |     product_id = '-//linux.conf.au/schedule//EN' | ||||||
|     timezone = settings.TIME_ZONE |     timezone = settings.TIME_ZONE | ||||||
|     filename = 'conference.ics' |     filename = 'conference.ics' | ||||||
|     description = Conference.objects.all().first().title |     def description(self): | ||||||
|  |         return Conference.objects.all().first().title | ||||||
| 
 | 
 | ||||||
|     def items(self): |     def items(self): | ||||||
|         return Slot.objects.filter( |         return Slot.objects.filter( | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		
		Reference in a new issue
	
	 Scott Bragg
						Scott Bragg