mirror of
https://github.com/evennia/evennia.git
synced 2026-03-19 22:36:31 +01:00
Fixes #2461
This commit is contained in:
parent
fce3023bae
commit
ed7bccf4b3
3 changed files with 3 additions and 3 deletions
|
|
@ -58,7 +58,7 @@ class AccountChangeForm(UserChangeForm):
|
|||
label="Typeclass",
|
||||
help_text="This is the Python-path to the class implementing the actual account functionality. "
|
||||
"You usually don't need to change this from the default.<BR>"
|
||||
"If your custom class is not found here, it may not be imported as part of Evennia's startup.",
|
||||
"If your custom class is not found here, it may not be imported into Evennia yet.",
|
||||
choices=lambda: adminutils.get_and_load_typeclasses(parent=AccountDB),
|
||||
)
|
||||
|
||||
|
|
|
|||
|
|
@ -63,7 +63,7 @@ class ObjectCreateForm(forms.ModelForm):
|
|||
help_text="This is the Python-path to the class implementing the actual functionality. "
|
||||
f"<BR>If you are creating a Character you usually need <B>{settings.BASE_CHARACTER_TYPECLASS}</B> "
|
||||
"or a subclass of that. <BR>If your custom class is not found in the list, it may not be imported "
|
||||
"as part of Evennia's startup.",
|
||||
"into Evennia yet.",
|
||||
choices=lambda: adminutils.get_and_load_typeclasses(parent=ObjectDB))
|
||||
|
||||
db_lock_storage = forms.CharField( label="Locks",
|
||||
|
|
|
|||
|
|
@ -22,7 +22,7 @@ class ScriptForm(forms.ModelForm):
|
|||
db_typeclass_path = forms.ChoiceField(
|
||||
label="Typeclass",
|
||||
help_text="This is the Python-path to the class implementing the actual script functionality. "
|
||||
"<BR>If your custom class is not found here, it may not be imported as part of Evennia's startup.",
|
||||
"<BR>If your custom class is not found here, it may not be imported into Evennia yet.",
|
||||
choices=lambda: adminutils.get_and_load_typeclasses(
|
||||
parent=ScriptDB, excluded_parents=["evennia.prototypes.prototypes.DbPrototype"])
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue