3.1 release notes

What’s new in 3.1

  • Fixing staging docker port issue. (Thanks to @mmontes11 for report)
  • Adding stable Radiocom API
  • Solving ticket #43
  • Upgrading libraries to last version
  • Small fixes to invoke scripts
  • Improving API (Outputting absolute urls and adding some fields)

How this affects you

If you’re starting with a new installation, you don’t need to worry about this. Don’t even bother reading this section; it’s for upgraders.

You need to replace your current source with the content of https://github.com/iago1460/django-radio. To setup your settings please read the configuration section.

You should be able to keep your current database but make sure to create a backup before start.

pip install -r radioco/configs/base/requirements.txt
python manage.py collectstatic
python manage.py migrate  # check the following note in case of error

Note

When migrating from version 3.0 to version 3.1 the following error will appear during the migration process django.db.utils.ProgrammingError: relation “recurrence_date” already exists to solve this please run the following command:

python manage.py migrate --fake-initial

Or if you are using our docker setup:

inv docker.clean -e staging
inv docker.setup -e staging  # check the following note in case of error

Note

If a migration error appear during the setup please run:

inv docker.manage -e staging -c "migrate --fake-initial"