From b617195503d77c441f2f8e3984a3f24a25061a82 Mon Sep 17 00:00:00 2001 From: Andreas Kloeckner Date: Mon, 11 Jan 2016 15:51:10 -0600 Subject: [PATCH] Tweak a help text --- course/migrations/0078_help_tweak.py | 20 ++++++++++++++++++++ course/models.py | 6 ++++-- 2 files changed, 24 insertions(+), 2 deletions(-) create mode 100644 course/migrations/0078_help_tweak.py diff --git a/course/migrations/0078_help_tweak.py b/course/migrations/0078_help_tweak.py new file mode 100644 index 00000000..40c2fdaf --- /dev/null +++ b/course/migrations/0078_help_tweak.py @@ -0,0 +1,20 @@ +# -*- coding: utf-8 -*- +# Generated by Django 1.9 on 2016-01-11 21:50 +from __future__ import unicode_literals + +from django.db import migrations, models + + +class Migration(migrations.Migration): + + dependencies = [ + ('course', '0077_various_model_updates'), + ] + + operations = [ + migrations.AlterField( + model_name='userstatus', + name='editor_mode', + field=models.CharField(choices=[(b'default', 'Default'), (b'sublime', b'Sublime text'), (b'emacs', b'Emacs'), (b'vim', b'Vim')], default=b'default', help_text="Which key bindings you prefer when editing larger amounts of text or code. (If you do not understand what this means, leave it as 'Default'.)", max_length=20, verbose_name='Editor mode'), + ), + ] diff --git a/course/models.py b/course/models.py index 66bcad49..69c16dfc 100644 --- a/course/models.py +++ b/course/models.py @@ -87,8 +87,10 @@ class UserStatus(models.Model): verbose_name=_('Key time')) editor_mode = models.CharField(max_length=20, - help_text=_("Your favorite text editor mode for text " - "block or code block."), + help_text=_("Which key bindings you prefer when editing " + "larger amounts of text or code. " + "(If you do not understand what this means, " + "leave it as 'Default'.)"), choices=( ("default", _("Default")), ("sublime", "Sublime text"), -- GitLab