aircox/website
2016-07-18 16:27:09 +02:00
..
templates/aircox/website rewrite a bit how views and sections work; section's prepare function; website interfaces; section.as_view returns a view containing it and usable as it 2016-07-18 02:40:11 +02:00
__init__.py add website application 2016-06-02 01:32:58 +02:00
actions.py remove get_content() function in sections; add is_empty() and message_empty() for all sections + hiding if needed; adapt; section Content is now child of Image; remove print() 2016-07-09 00:05:11 +02:00
admin.py cms.actions + website.actions; Sounds section; player: bug fix (ask for restart on live stream), actions; remove website.Sound (not really used): move chmod/public into programs.Sound 2016-07-08 01:17:02 +02:00
autocomplete_light_registry.py admin; section.get -> section.render; templates fix; menu are now per view; doc 2016-06-07 14:50:51 +02:00
forms.py playlist import -- fixes and integration into the sound monitor 2016-07-16 23:51:53 +02:00
models.py add DiffusionManager, use it 2016-07-18 16:27:09 +02:00
README.md add 'parts' system + script; work on player; create list_item.html template; update on_air 2016-06-14 03:33:26 +02:00
sections.py add DiffusionManager, use it 2016-07-18 16:27:09 +02:00
utils.py cms.actions + website.actions; Sounds section; player: bug fix (ask for restart on live stream), actions; remove website.Sound (not really used): move chmod/public into programs.Sound 2016-07-08 01:17:02 +02:00

Website

Application that propose a set of different tools that might be common to different radio projects. This application has been started to avoid to pollute aircox.cms with aircox specific code and models that might not be used in other cases.

We define here different models and sections that can be used to construct a website in a fast and simple manner.

Dependencies

  • django-suit: admin interface;
  • django-autocomplete-light: autocompletion in the admin interface;
  • aircox.cms, aircox.programs

Features

Models

  • Program: publication related to a program;
  • Diffusion: publication related to an initial Diffusion;

Sections

  • Player: player widget
  • Diffusions: generic section list to retrieve diffusions by date, related or not to a specific Program. If wanted, can show schedule in the header of the section (with indication of reruns).
  • Playlist: playlist of a given Diffusion

Admin

Register all models declared upper, uses django-suit features in order to manage some fields and autocompletion.