Use Linux Australia for release and not pycon

Update the recording and materials release to say Linux Australia, not
Pycon Australia. This generates a migration because the model text has
change - but also because in the 0001_initial migration it appears that
this help text is stored as a byte string.

This is a bit weird, but realistically running this migration is not
going to cause us any problems so just add it so we don't end up
fighting django along the way.
This commit is contained in:
Jamie Lennox 2017-07-02 11:43:23 +10:00
parent 52737d4c05
commit 4847f13de0
2 changed files with 47 additions and 2 deletions

View file

@ -0,0 +1,45 @@
# -*- coding: utf-8 -*-
# Generated by Django 1.11.3 on 2017-07-02 01:40
from __future__ import unicode_literals
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('proposals', '0001_initial'),
]
operations = [
migrations.AlterField(
model_name='talkproposal',
name='materials_release',
field=models.BooleanField(default=True, help_text="I allow Linux Australia to release any other material (such as slides) from presentations covered by this proposal, under the <a href='https://creativecommons.org/licenses/by-sa/3.0/au/deed.en'> Creative Commons Attribution-Share Alike Australia 3.0 Licence</a>"),
),
migrations.AlterField(
model_name='talkproposal',
name='recording_release',
field=models.BooleanField(default=True, help_text="I allow Linux Australia to release any recordings of presentations covered by this proposal, under the <a href='https://creativecommons.org/licenses/by-sa/3.0/au/deed.en'> Creative Commons Attribution-Share Alike Australia 3.0 Licence</a>"),
),
migrations.AlterField(
model_name='talkproposal',
name='target_audience',
field=models.IntegerField(choices=[(1, 'User'), (2, 'Business'), (3, 'Community'), (4, 'Developer')]),
),
migrations.AlterField(
model_name='tutorialproposal',
name='materials_release',
field=models.BooleanField(default=True, help_text="I allow Linux Australia to release any other material (such as slides) from presentations covered by this proposal, under the <a href='https://creativecommons.org/licenses/by-sa/3.0/au/deed.en'> Creative Commons Attribution-Share Alike Australia 3.0 Licence</a>"),
),
migrations.AlterField(
model_name='tutorialproposal',
name='recording_release',
field=models.BooleanField(default=True, help_text="I allow Linux Australia to release any recordings of presentations covered by this proposal, under the <a href='https://creativecommons.org/licenses/by-sa/3.0/au/deed.en'> Creative Commons Attribution-Share Alike Australia 3.0 Licence</a>"),
),
migrations.AlterField(
model_name='tutorialproposal',
name='target_audience',
field=models.IntegerField(choices=[(1, 'User'), (2, 'Business'), (3, 'Community'), (4, 'Developer')]),
),
]

View file

@ -21,7 +21,7 @@ class Proposal(ProposalBase):
recording_release = models.BooleanField( recording_release = models.BooleanField(
default=True, default=True,
help_text="I allow PyCon Australia to release any recordings of " help_text="I allow Linux Australia to release any recordings of "
"presentations covered by this proposal, under the <a " "presentations covered by this proposal, under the <a "
"href='https://creativecommons.org/licenses/by-sa/3.0/au/deed.en'> " "href='https://creativecommons.org/licenses/by-sa/3.0/au/deed.en'> "
"Creative Commons Attribution-Share Alike Australia 3.0 Licence</a>" "Creative Commons Attribution-Share Alike Australia 3.0 Licence</a>"
@ -29,7 +29,7 @@ class Proposal(ProposalBase):
materials_release = models.BooleanField( materials_release = models.BooleanField(
default=True, default=True,
help_text="I allow PyCon Australia to release any other material " help_text="I allow Linux Australia to release any other material "
"(such as slides) from presentations covered by this proposal, under " "(such as slides) from presentations covered by this proposal, under "
"the <a " "the <a "
"href='https://creativecommons.org/licenses/by-sa/3.0/au/deed.en'> " "href='https://creativecommons.org/licenses/by-sa/3.0/au/deed.en'> "