Skip to content
Snippets Groups Projects
  • Ernesto Rico Schmidt's avatar
    a6af6efe
    Clean-up code · a6af6efe
    Ernesto Rico Schmidt authored
    - Make `Host.is_editable`, `Show.is_editable`, `Note.is_editable`, and
      `Note.get_audio_url` static methods,
    - Make `Schedule.instantiate_upcoming`, `Schedule.generate_timeslots`,
      `Schedule.get_collisions`, `Schedule.generate_conflicts`,
      `Schedule.make_conflicts` and `Schedule.resolve_conflicts` static
      methods. Most of these methods do not belong here.
    - Fix signatures of methods for subclasses of `viewsets.ModelViewSet`
    - Fix doctrins for subclasses of `viewsets.ModelViewSet`
    - Fix comparisons with None (replace '==' and '!=' with 'is' and 'is not')
    a6af6efe
    History
    Clean-up code
    Ernesto Rico Schmidt authored
    - Make `Host.is_editable`, `Show.is_editable`, `Note.is_editable`, and
      `Note.get_audio_url` static methods,
    - Make `Schedule.instantiate_upcoming`, `Schedule.generate_timeslots`,
      `Schedule.get_collisions`, `Schedule.generate_conflicts`,
      `Schedule.make_conflicts` and `Schedule.resolve_conflicts` static
      methods. Most of these methods do not belong here.
    - Fix signatures of methods for subclasses of `viewsets.ModelViewSet`
    - Fix doctrins for subclasses of `viewsets.ModelViewSet`
    - Fix comparisons with None (replace '==' and '!=' with 'is' and 'is not')