{"action":"opened","issue":{"url":"https://api.github.com/repos/jjbgf/eventbooking/issues/4","labels_url":"https://api.github.com/repos/jjbgf/eventbooking/issues/4/labels{/name}","comments_url":"https://api.github.com/repos/jjbgf/eventbooking/issues/4/comments","events_url":"https://api.github.com/repos/jjbgf/eventbooking/issues/4/events","html_url":"https://github.com/jjbgf/eventbooking/issues/4","id":56916518,"number":4,"title":"Add predefined choices for fields like \"Bundesland\", \"Jugendgruppe\", etc.","user":{"login":"numberpi","id":4451364,"avatar_url":"https://avatars.githubusercontent.com/u/4451364?v=3","gravatar_id":"","url":"https://api.github.com/users/numberpi","html_url":"https://github.com/numberpi","followers_url":"https://api.github.com/users/numberpi/followers","following_url":"https://api.github.com/users/numberpi/following{/other_user}","gists_url":"https://api.github.com/users/numberpi/gists{/gist_id}","starred_url":"https://api.github.com/users/numberpi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/numberpi/subscriptions","organizations_url":"https://api.github.com/users/numberpi/orgs","repos_url":"https://api.github.com/users/numberpi/repos","events_url":"https://api.github.com/users/numberpi/events{/privacy}","received_events_url":"https://api.github.com/users/numberpi/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/jjbgf/eventbooking/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-02-07T16:28:43Z","updated_at":"2015-02-07T16:28:43Z","closed_at":null,"body":"**Example:**\r\n\r\n```Python\r\nclass Student(models.Model):\r\n    FRESHMAN = 'FR'\r\n    SOPHOMORE = 'SO'\r\n    JUNIOR = 'JR'\r\n    SENIOR = 'SR'\r\n    YEAR_IN_SCHOOL_CHOICES = (\r\n        (FRESHMAN, 'Freshman'),\r\n        (SOPHOMORE, 'Sophomore'),\r\n        (JUNIOR, 'Junior'),\r\n        (SENIOR, 'Senior'),\r\n    )\r\n    year_in_school = models.CharField(max_length=2,\r\n                                      choices=YEAR_IN_SCHOOL_CHOICES,\r\n                                      default=FRESHMAN)\r\n```"}}