mirror of
https://github.com/evennia/evennia.git
synced 2026-03-31 21:17:17 +02:00
Prevent editing of attributes which are not Python literals through the admin interface.
This commit is contained in:
parent
112e7c652d
commit
54bb593f5e
2 changed files with 11 additions and 1 deletions
|
|
@ -104,7 +104,8 @@ class Attribute(SharedMemoryModel):
|
|||
'value', null=True,
|
||||
help_text="The data returned when the attribute is accessed. Must be "
|
||||
"written as a Python literal if editing through the admin "
|
||||
"interface.")
|
||||
"interface. Attribute values which are not Python literals "
|
||||
"cannot be edited through the admin interface.")
|
||||
db_strvalue = models.TextField(
|
||||
'strvalue', null=True, blank=True,
|
||||
help_text="String-specific storage for quick look-up")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue