('uid',models.CharField(db_index=True,max_length=44,validators=[django.core.validators.RegexValidator(message='Not a valid UID',regex='[a-zA-Z0-9]')])),
('uid',models.CharField(db_index=True,max_length=44,null=True,validators=[django.core.validators.RegexValidator(message='Not a valid UID',regex='[a-zA-Z0-9]')])),
('uid',models.CharField(db_index=True,max_length=44,validators=[django.core.validators.RegexValidator(message='Expected a 256bit base64url.',regex='^[a-zA-Z0-9\\-_]{43}$')])),
('uid',models.CharField(db_index=True,max_length=44,unique=True,validators=[django.core.validators.RegexValidator(message='Expected a 256bit base64url.',regex='^[a-zA-Z0-9\\-_]{43}$')])),
('uid',models.CharField(db_index=True,max_length=44,validators=[django.core.validators.RegexValidator(message='Expected a 256bit base64url.',regex='^[a-zA-Z0-9\\-_]{43}$')])),
@ -7,33 +7,67 @@ from django.db import migrations, models
classMigration(migrations.Migration):
dependencies=[
('django_etebase','0006_auto_20200526_1040'),
("django_etebase","0006_auto_20200526_1040"),
]
operations=[
migrations.AlterField(
model_name='collection',
name='uid',
field=models.CharField(db_index=True,max_length=43,validators=[django.core.validators.RegexValidator(message='Not a valid UID',regex='^[a-zA-Z0-9]*$')]),
model_name="collection",
name="uid",
field=models.CharField(
db_index=True,
max_length=43,
validators=[django.core.validators.RegexValidator(message="Not a valid UID",regex="^[a-zA-Z0-9]*$")],
),
),
migrations.AlterField(
model_name='collectioninvitation',
name='uid',
field=models.CharField(db_index=True,max_length=43,validators=[django.core.validators.RegexValidator(message='Expected a base64url.',regex='^[a-zA-Z0-9\\-_]{42,43}$')]),
model_name="collectioninvitation",
name="uid",
field=models.CharField(
db_index=True,
max_length=43,
validators=[
django.core.validators.RegexValidator(
message="Expected a base64url.",regex="^[a-zA-Z0-9\\-_]{42,43}$"
)
],
),
),
migrations.AlterField(
model_name='collectionitem',
name='uid',
field=models.CharField(db_index=True,max_length=43,null=True,validators=[django.core.validators.RegexValidator(message='Not a valid UID',regex='^[a-zA-Z0-9]*$')]),
model_name="collectionitem",
name="uid",
field=models.CharField(
db_index=True,
max_length=43,
null=True,
validators=[django.core.validators.RegexValidator(message="Not a valid UID",regex="^[a-zA-Z0-9]*$")],
),
),
migrations.AlterField(
model_name='collectionitemchunk',
name='uid',
field=models.CharField(db_index=True,max_length=43,validators=[django.core.validators.RegexValidator(message='Expected a base64url.',regex='^[a-zA-Z0-9\\-_]{42,43}$')]),
model_name="collectionitemchunk",
name="uid",
field=models.CharField(
db_index=True,
max_length=43,
validators=[
django.core.validators.RegexValidator(
message="Expected a base64url.",regex="^[a-zA-Z0-9\\-_]{42,43}$"
)
],
),
),
migrations.AlterField(
model_name='collectionitemrevision',
name='uid',
field=models.CharField(db_index=True,max_length=43,unique=True,validators=[django.core.validators.RegexValidator(message='Expected a base64url.',regex='^[a-zA-Z0-9\\-_]{42,43}$')]),
model_name="collectionitemrevision",
name="uid",
field=models.CharField(
db_index=True,
max_length=43,
unique=True,
validators=[
django.core.validators.RegexValidator(
message="Expected a base64url.",regex="^[a-zA-Z0-9\\-_]{42,43}$"
('uid',models.CharField(db_index=True,default=django_etebase.models.generate_stoken_uid,max_length=43,unique=True,validators=[django.core.validators.RegexValidator(message='Expected a base64url.',regex='^[a-zA-Z0-9\\-_]{42,43}$')])),
field=models.CharField(db_index=True,max_length=43,validators=[django.core.validators.RegexValidator(message='Not a valid UID',regex='^[a-zA-Z0-9]*$')]),
model_name="collectionitem",
name="uid",
field=models.CharField(
db_index=True,
max_length=43,
validators=[django.core.validators.RegexValidator(message="Not a valid UID",regex="^[a-zA-Z0-9]*$")],
@ -7,13 +7,19 @@ from django.db import migrations, models
classMigration(migrations.Migration):
dependencies=[
('django_etebase','0017_auto_20200623_0958'),
("django_etebase","0017_auto_20200623_0958"),
]
operations=[
migrations.AlterField(
model_name='collectionitem',
name='uid',
field=models.CharField(db_index=True,max_length=43,validators=[django.core.validators.RegexValidator(message='Not a valid UID',regex='^[a-zA-Z0-9\\-_]*$')]),
model_name="collectionitem",
name="uid",
field=models.CharField(
db_index=True,
max_length=43,
validators=[
django.core.validators.RegexValidator(message="Not a valid UID",regex="^[a-zA-Z0-9\\-_]*$")
@ -7,13 +7,19 @@ from django.db import migrations, models
classMigration(migrations.Migration):
dependencies=[
('django_etebase','0018_auto_20200624_0748'),
("django_etebase","0018_auto_20200624_0748"),
]
operations=[
migrations.AlterField(
model_name='collectionitemchunk',
name='uid',
field=models.CharField(db_index=True,max_length=60,validators=[django.core.validators.RegexValidator(message='Not a valid UID',regex='^[a-zA-Z0-9\\-_]*$')]),
model_name="collectionitemchunk",
name="uid",
field=models.CharField(
db_index=True,
max_length=60,
validators=[
django.core.validators.RegexValidator(message="Not a valid UID",regex="^[a-zA-Z0-9\\-_]*$")
field=models.CharField(db_index=True,max_length=43,validators=[django.core.validators.RegexValidator(message='Not a valid UID',regex='^[a-zA-Z0-9\\-_]{20,}$')]),
model_name="collectioninvitation",
name="uid",
field=models.CharField(
db_index=True,
max_length=43,
validators=[
django.core.validators.RegexValidator(message="Not a valid UID",regex="^[a-zA-Z0-9\\-_]{20,}$")
],
),
),
migrations.AlterField(
model_name='collectionitem',
name='uid',
field=models.CharField(db_index=True,max_length=43,validators=[django.core.validators.RegexValidator(message='Not a valid UID',regex='^[a-zA-Z0-9\\-_]{20,}$')]),
model_name="collectionitem",
name="uid",
field=models.CharField(
db_index=True,
max_length=43,
validators=[
django.core.validators.RegexValidator(message="Not a valid UID",regex="^[a-zA-Z0-9\\-_]{20,}$")
],
),
),
migrations.AlterField(
model_name='collectionitemchunk',
name='uid',
field=models.CharField(db_index=True,max_length=60,validators=[django.core.validators.RegexValidator(message='Not a valid UID',regex='^[a-zA-Z0-9\\-_]{20,}$')]),
model_name="collectionitemchunk",
name="uid",
field=models.CharField(
db_index=True,
max_length=60,
validators=[
django.core.validators.RegexValidator(message="Not a valid UID",regex="^[a-zA-Z0-9\\-_]{20,}$")
],
),
),
migrations.AlterField(
model_name='collectionitemrevision',
name='uid',
field=models.CharField(db_index=True,max_length=43,unique=True,validators=[django.core.validators.RegexValidator(message='Not a valid UID',regex='^[a-zA-Z0-9\\-_]{20,}$')]),
model_name="collectionitemrevision",
name="uid",
field=models.CharField(
db_index=True,
max_length=43,
unique=True,
validators=[
django.core.validators.RegexValidator(message="Not a valid UID",regex="^[a-zA-Z0-9\\-_]{20,}$")
],
),
),
migrations.AlterField(
model_name='stoken',
name='uid',
field=models.CharField(db_index=True,default=django_etebase.models.generate_stoken_uid,max_length=43,unique=True,validators=[django.core.validators.RegexValidator(message='Not a valid UID',regex='^[a-zA-Z0-9\\-_]{20,}$')]),
('is_superuser',models.BooleanField(default=False,help_text='Designates that this user has all permissions without explicitly assigning them.',verbose_name='superuser status')),
('username',models.CharField(error_messages={'unique':'A user with that username already exists.'},help_text='Required. 150 characters or fewer. Letters, digits and @/./+/-/_ only.',max_length=150,unique=True,validators=[django.contrib.auth.validators.UnicodeUsernameValidator()],verbose_name='username')),
('is_staff',models.BooleanField(default=False,help_text='Designates whether the user can log into this admin site.',verbose_name='staff status')),
('is_active',models.BooleanField(default=True,help_text='Designates whether this user should be treated as active. Unselect this instead of deleting accounts.',verbose_name='active')),
('groups',models.ManyToManyField(blank=True,help_text='The groups this user belongs to. A user will get all permissions granted to each of their groups.',related_name='user_set',related_query_name='user',to='auth.Group',verbose_name='groups')),
('user_permissions',models.ManyToManyField(blank=True,help_text='Specific permissions for this user.',related_name='user_set',related_query_name='user',to='auth.Permission',verbose_name='user permissions')),
field=models.CharField(error_messages={'unique':'A user with that username already exists.'},help_text='Required. 150 characters or fewer. Letters, digits and ./+/-/_ only.',max_length=150,unique=True,validators=[myauth.models.UnicodeUsernameValidator()],verbose_name='username'),
model_name="user",
name="username",
field=models.CharField(
error_messages={"unique":"A user with that username already exists."},
help_text="Required. 150 characters or fewer. Letters, digits and ./+/-/_ only.",