Skip to content
This repository has been archived by the owner on Feb 26, 2024. It is now read-only.

Commit

Permalink
Alter help text for secondary category
Browse files Browse the repository at this point in the history
  • Loading branch information
Greg Turner committed Mar 17, 2017
1 parent f6d6d58 commit 8083d03
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 2 deletions.
19 changes: 19 additions & 0 deletions icekit_events/migrations/0020_auto_20170317_1341.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# -*- coding: utf-8 -*-
from __future__ import unicode_literals

from django.db import migrations, models


class Migration(migrations.Migration):

dependencies = [
('icekit_events', '0019_auto_20170310_1220'),
]

operations = [
migrations.AlterField(
model_name='eventbase',
name='secondary_types',
field=models.ManyToManyField(verbose_name=b'Secondary categories', help_text=b"Additional or internal types: Education or members events, for example. Events show in listings for <em>every</em> type they're associated with.", to='icekit_events.EventType', blank=True, related_name='secondary_events'),
),
]
4 changes: 2 additions & 2 deletions icekit_events/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -192,8 +192,8 @@ class EventBase(PolymorphicModel, AbstractBaseModel, ICEkitContentsMixin,
secondary_types = models.ManyToManyField(
EventType, blank=True,
verbose_name="Secondary categories",
help_text="Additional/internal types: Education or members events, "
"for example.",
help_text="Additional or internal types: Education or members events, "
"for example. Events show in listings for <em>every</em> type they're associated with.",
related_name="secondary_events"
) # use all_types to get the union of primary and secondary types

Expand Down

0 comments on commit 8083d03

Please sign in to comment.