Moved the connect screen to the connect_screen config directive. Made the conf_value field on the configvalue model a TextField so we're not getting truncated at 255 as with a CharField. This means you'll need to delete your config tables and re-sync.
This commit is contained in:
parent
f3b4422990
commit
4d94132c54
4 changed files with 17 additions and 11 deletions
|
|
@ -20,7 +20,7 @@ class ConfigValue(models.Model):
|
|||
Experimental new config model.
|
||||
"""
|
||||
conf_key = models.CharField(maxlength=100)
|
||||
conf_value = models.CharField(maxlength=255 )
|
||||
conf_value = models.TextField()
|
||||
|
||||
class Admin:
|
||||
list_display = ('conf_key', 'conf_value',)
|
||||
|
|
|
|||
|
|
@ -5,3 +5,13 @@ INSERT INTO config_configvalue VALUES(4,'money_name_singular','Credit');
|
|||
INSERT INTO config_configvalue VALUES(5,'game_firstrun','1');
|
||||
INSERT INTO config_configvalue VALUES(6,'idle_timeout','1800');
|
||||
INSERT INTO config_configvalue VALUES(7,'default_home','2');
|
||||
INSERT INTO config_configvalue VALUES(8,'connect_screen','
|
||||
%%ch%%cb==================================================================%%cn
|
||||
Welcome to Evennia! Please type one of the following to begin:
|
||||
|
||||
If you have an existing account, connect to it by typing:
|
||||
%%chconnect <email> <password2>%%cn
|
||||
If you need to create an account, type (without the <>''s):
|
||||
%%chcreate "<username>" <email> <password>%%cn
|
||||
%%ch%%cb==================================================================%%cn
|
||||
');
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue