Skip to content
Snippets Groups Projects
  1. Apr 29, 2021
    • Benjamin Hättasch's avatar
      Fix API detail views · fd0b8982
      Benjamin Hättasch authored and Nadja Geisler's avatar Nadja Geisler committed
      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.
      fd0b8982
  2. Nov 03, 2020
  3. May 20, 2020
  4. May 19, 2020
  5. May 18, 2020
  6. May 17, 2020
    • Benjamin Hättasch's avatar
      Introduce custom admin · aca81a1f
      Benjamin Hättasch authored
      This is the base for custom admin views (with admin design and permission checking)
      Replace default admin site with custom admin site in AKModel
      Use custom admin index template & apply first basic change
      Introduce custom admin base template (including bootstrap loading)
      Introduce Mixin for AdminViews
      aca81a1f
  7. May 14, 2020
  8. May 11, 2020
    • Nadja Geisler's avatar
      introduce REST API · a93d0d59
      Nadja Geisler authored and Benjamin Hättasch's avatar Benjamin Hättasch committed
      add djangorestframework
      add serializers for select models
      create api urls
      extend EventSlugMixin to work for list and create methods
      create list and retrieve viewsets for select models
      include AKModel URLS into main app
      a93d0d59
  9. Oct 24, 2019
    • Benjamin Hättasch's avatar
      Improve submission and update forms for AKs as well as underlying model · 19ff8e5a
      Benjamin Hättasch authored
      Improve blank and unique constraints of model:
      - allow blank starting times of slotes to store durations before scheduling and adapt string representation
      - change unique constraint from name and shortname of AK to unique for each event only
      Implement handling of tags for submission and update (auto-creation) by using a semicolon-separated text file instead of multiple choice field
      Implement handling of durations for submission
      Automatically generate short name
      Use different forms for submission and update
      Use special adapted template for AK updates instead of submission template
      Fix EventSlugMixin for POST requests
      19ff8e5a
  10. Oct 19, 2019
  11. Oct 17, 2019
  12. Oct 09, 2019
Loading