Skip to content
Snippets Groups Projects
  1. Oct 31, 2023
  2. Mar 24, 2023
    • Benjamin Hättasch's avatar
      Improve virtual rooms · f894e1a8
      Benjamin Hättasch authored
      Use One2One relationship instead of inheritance
      This allows to add and also remove the virtual features of a room
      
      Introduce new model
      Create migrations to migrate from existing to new model + a squashed version knowing only about the new model for fresh installations
      Adapt admin views
      Add django-betterforms as dependency to simply create a form allowing to generate rooms with optionally a virtual component in a single view and create that form
      Add view to create rooms in that view and use instead of default django creation form
      Use the new name/structure in templates
      Move RoomForm to forms.py to make imports easier
      Update batch creation of rooms
      
      This resolves #150 and also resolves #179 since now rooms and virtual rooms (rooms with virtual features) are created using the same view
      f894e1a8
  3. Nov 12, 2020
  4. May 18, 2020
  5. Oct 13, 2019
Loading