Skip to content
Snippets Groups Projects
Forked from KIF / AKPlanning
Source project has a limited visibility.
  • Benjamin Hättasch's avatar
    38cd2ce3
    Fix API detail views · 38cd2ce3
    Benjamin Hättasch authored
    Previously, the event from the url was not parsed correctly for API endpoints for individual AKs, AKRooms, etc. This led to self.event being None and the queryset being empty, hence the AK, AKRoom etc. could not be found by the API. This fix makes sure, the event is loaded as part of the API initialization for all endpoints and methods.
    38cd2ce3
    History
    Fix API detail views
    Benjamin Hättasch authored
    Previously, the event from the url was not parsed correctly for API endpoints for individual AKs, AKRooms, etc. This led to self.event being None and the queryset being empty, hence the AK, AKRoom etc. could not be found by the API. This fix makes sure, the event is loaded as part of the API initialization for all endpoints and methods.
Code owners
Assign users and groups as approvers for specific file changes. Learn more.