Merge branch 'develop' of github.com:evennia/evennia into develop

This commit is contained in:
Griatch 2019-10-27 20:37:42 +01:00
commit a6f5cccdfa
5 changed files with 85 additions and 0 deletions

View file

@ -0,0 +1,23 @@
# Generated by Django 2.2.6 on 2019-10-25 12:31
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('accounts', '0008_auto_20190128_1820'),
]
operations = [
migrations.AlterField(
model_name='accountdb',
name='db_typeclass_path',
field=models.CharField(db_index=True, help_text="this defines what 'type' of entity this is. This variable holds a Python path to a module with a valid Evennia Typeclass.", max_length=255, null=True, verbose_name='typeclass'),
),
migrations.AlterField(
model_name='accountdb',
name='last_name',
field=models.CharField(blank=True, max_length=150, verbose_name='last name'),
),
]

View file

@ -0,0 +1,18 @@
# Generated by Django 2.2.6 on 2019-10-25 12:31
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('comms', '0017_auto_20190128_1820'),
]
operations = [
migrations.AlterField(
model_name='channeldb',
name='db_typeclass_path',
field=models.CharField(db_index=True, help_text="this defines what 'type' of entity this is. This variable holds a Python path to a module with a valid Evennia Typeclass.", max_length=255, null=True, verbose_name='typeclass'),
),
]

View file

@ -0,0 +1,25 @@
# Generated by Django 2.2.6 on 2019-10-25 12:31
import django.core.validators
from django.db import migrations, models
import re
class Migration(migrations.Migration):
dependencies = [
('objects', '0010_auto_20190128_1820'),
]
operations = [
migrations.AlterField(
model_name='objectdb',
name='db_sessid',
field=models.CharField(help_text='csv list of session ids of connected Account, if any.', max_length=32, null=True, validators=[django.core.validators.RegexValidator(re.compile('^\\d+(?:,\\d+)*\\Z'), code='invalid', message='Enter only digits separated by commas.')], verbose_name='session id'),
),
migrations.AlterField(
model_name='objectdb',
name='db_typeclass_path',
field=models.CharField(db_index=True, help_text="this defines what 'type' of entity this is. This variable holds a Python path to a module with a valid Evennia Typeclass.", max_length=255, null=True, verbose_name='typeclass'),
),
]

View file

@ -0,0 +1,18 @@
# Generated by Django 2.2.6 on 2019-10-25 12:31
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('scripts', '0012_auto_20190128_1820'),
]
operations = [
migrations.AlterField(
model_name='scriptdb',
name='db_typeclass_path',
field=models.CharField(db_index=True, help_text="this defines what 'type' of entity this is. This variable holds a Python path to a module with a valid Evennia Typeclass.", max_length=255, null=True, verbose_name='typeclass'),
),
]

View file

@ -191,6 +191,7 @@ class TypedObject(SharedMemoryModel):
max_length=255,
null=True,
help_text="this defines what 'type' of entity this is. This variable holds a Python path to a module with a valid Evennia Typeclass.",
db_index=True,
)
# Creation date. This is not changed once the object is created.
db_date_created = models.DateTimeField("creation date", editable=False, auto_now_add=True)