add help text for icon field

This commit is contained in:
Thomas Steen Rasmussen 2017-03-14 23:25:37 +01:00
parent 9632cc3ec7
commit 3d5c9a9508
2 changed files with 22 additions and 1 deletions

View file

@ -0,0 +1,20 @@
# -*- coding: utf-8 -*-
# Generated by Django 1.10.5 on 2017-03-14 22:25
from __future__ import unicode_literals
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('program', '0034_auto_20170314_2012'),
]
operations = [
migrations.AlterField(
model_name='eventlocation',
name='icon',
field=models.CharField(help_text="hex for the unicode character in the fontawesome icon set to use, like 'f000' for 'fa-glass'", max_length=100),
),
]

View file

@ -205,7 +205,8 @@ class EventLocation(CampRelatedModel):
slug = models.SlugField()
icon = models.CharField(
max_length=100
max_length=100,
help_text="hex for the unicode character in the fontawesome icon set to use, like 'f000' for 'fa-glass'"
)
camp = models.ForeignKey(