have character status display strings lowercase for use mid-sentence
Signed-off-by: Brian S. Stephan <bss@incorporeal.org>
This commit is contained in:
parent
d322429157
commit
d0531bff53
|
@ -0,0 +1,18 @@
|
|||
# Generated by Django 5.0.5 on 2024-05-14 15:55
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('idlerpg', '0005_alter_character_status'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AlterField(
|
||||
model_name='character',
|
||||
name='status',
|
||||
field=models.CharField(choices=[('DISABLED', 'disabled'), ('LOGGEDIN', 'logged in'), ('OFFLINE', 'offline')], default='OFFLINE', max_length=8),
|
||||
),
|
||||
]
|
|
@ -80,9 +80,9 @@ class Character(models.Model):
|
|||
CHARACTER_STATUS_LOGGED_IN = 'LOGGEDIN'
|
||||
CHARACTER_STATUS_OFFLINE = 'OFFLINE'
|
||||
CHARACTER_STATUSES = {
|
||||
CHARACTER_STATUS_DISABLED: "Disabled",
|
||||
CHARACTER_STATUS_LOGGED_IN: "Logged in",
|
||||
CHARACTER_STATUS_OFFLINE: "Offline",
|
||||
CHARACTER_STATUS_DISABLED: "disabled",
|
||||
CHARACTER_STATUS_LOGGED_IN: "logged in",
|
||||
CHARACTER_STATUS_OFFLINE: "offline",
|
||||
}
|
||||
|
||||
NICK_CHANGE_P = 30
|
||||
|
|
Loading…
Reference in New Issue