EuroPython / djep

EuroPython 2014 conference software
https://ep2014.europython.eu/
BSD 3-Clause "New" or "Revised" License
36 stars 18 forks source link

Fix #172 -- Add dietary preferences to ticket model #193

Closed zerok closed 10 years ago

zerok commented 10 years ago

@Markush2010: how should the dietary preferences be exported?

zerok commented 10 years ago

@Markush2010 Something like that?

[
 {
  "profile": null, 
  "status": null, 
  "trainings": null, 
  "uid": null, 
  "tags": null, 
  "tshirt": null, 
  "sponsor": null, 
  "id": 71, 
  "name": "Horst Gutmann", 
  "days": null, 
  "dietary_preferences": [
   "vegan", 
   "gluten-free"
  ], 
  "organization": null
 }, 
 {
  "profile": null, 
  "status": null, 
  "trainings": null, 
  "uid": null, 
  "tags": null, 
  "tshirt": null, 
  "sponsor": null, 
  "id": 74, 
  "name": "Horst Gutmann", 
  "days": null, 
  "dietary_preferences": [
   "vegan", 
   "halal"
  ], 
  "organization": null
 }
]
MarkusH commented 10 years ago

I don't think it needs to be exported at all. If it's needed, we can add it later.