-
-
Notifications
You must be signed in to change notification settings - Fork 51
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #16 from opengisch/allow_blank
Allow blank in profile settings
- Loading branch information
Showing
2 changed files
with
52 additions
and
4 deletions.
There are no files selected for viewing
48 changes: 48 additions & 0 deletions
48
docker-app/qfieldcloud/core/migrations/0035_auto_20210510_0635.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
# Generated by Django 3.2.2 on 2021-05-10 06:35 | ||
|
||
import django.core.validators | ||
from django.db import migrations, models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
("core", "0034_auto_20210508_1030"), | ||
] | ||
|
||
operations = [ | ||
migrations.AlterField( | ||
model_name="project", | ||
name="name", | ||
field=models.CharField( | ||
help_text="Only letters, numbers, underscores, hyphens and dots are allowed.", | ||
max_length=255, | ||
validators=[ | ||
django.core.validators.RegexValidator( | ||
"^[a-zA-Z0-9-_\\.]+$", | ||
"Only letters, numbers, underscores, hyphens and dots are allowed.", | ||
) | ||
], | ||
), | ||
), | ||
migrations.AlterField( | ||
model_name="useraccount", | ||
name="bio", | ||
field=models.CharField(blank=True, default="", max_length=255), | ||
), | ||
migrations.AlterField( | ||
model_name="useraccount", | ||
name="location", | ||
field=models.CharField(blank=True, default="", max_length=255), | ||
), | ||
migrations.AlterField( | ||
model_name="useraccount", | ||
name="twitter", | ||
field=models.CharField(blank=True, default="", max_length=255), | ||
), | ||
migrations.AlterField( | ||
model_name="useraccount", | ||
name="workplace", | ||
field=models.CharField(blank=True, default="", max_length=255), | ||
), | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters