('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(help_text='Required. 30 characters or fewer. Letters, digits and @/./+/-/_ only.',unique=True,max_length=30,verbose_name='username',validators=[validators.RegexValidator('^[\\w.@+-]+$','Enter a valid username.','invalid')])),
('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(
help_text='Required. 30 characters or fewer. Letters, digits and @/./+/-/_ only.',unique=True,
max_length=30,verbose_name='username',
validators=[validators.RegexValidator('^[\\w.@+-]+$','Enter a valid username.','invalid')]
('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')),
('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,verbose_name='active',help_text=(
'Designates whether this user should be treated as active. Unselect this instead of deleting '
('groups',models.ManyToManyField(to='auth.Group',verbose_name='groups',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')),
('user_permissions',models.ManyToManyField(to='auth.Permission',verbose_name='user permissions',blank=True,help_text='Specific permissions for this user.',related_name='user_set',related_query_name='user')),
@@ -16,6 +16,15 @@ class Migration(migrations.Migration):
migrations.AlterField(
model_name='user',
name='username',
field=models.CharField(error_messages={'unique':'A user with that username already exists.'},max_length=30,validators=[django.core.validators.RegexValidator('^[\\w.@+-]+$','Enter a valid username. This value may contain only letters, numbers and @/./+/-/_ characters.','invalid')],help_text='Required. 30 characters or fewer. Letters, digits and @/./+/-/_ only.',unique=True,verbose_name='username'),
field=models.CharField(
error_messages={'unique':'A user with that username already exists.'},max_length=30,
('template_name',models.CharField(help_text="Example: 'flatpages/contact_page.html'. If this isn't provided, the system will use 'flatpages/default.html'.",max_length=70,verbose_name='template name',blank=True)),
('registration_required',models.BooleanField(default=False,help_text='If this is checked, only logged-in users will be able to view the page.',verbose_name='registration required')),
('template_name',models.CharField(
help_text=(
"Example: 'flatpages/contact_page.html'. If this isn't provided, the system will use "
@@ -21,8 +21,15 @@ class Migration(migrations.Migration):
on_delete=models.CASCADE,
verbose_name='site',
)),
('old_path',models.CharField(help_text="This should be an absolute path, excluding the domain name. Example: '/events/search/'.",max_length=200,verbose_name='redirect from',db_index=True)),
('new_path',models.CharField(help_text="This can be either an absolute path (as above) or a full URL starting with 'http://'.",max_length=200,verbose_name='redirect to',blank=True)),
('old_path',models.CharField(
help_text=(
"This should be an absolute path, excluding the domain name. Example: '/events/search/'."