added missing migrations
This commit is contained in:
parent
b3e6644d0b
commit
ddc473cac2
1 changed files with 39 additions and 0 deletions
|
|
@ -0,0 +1,39 @@
|
||||||
|
# Generated by Django 6.0.3 on 2026-04-06 19:51
|
||||||
|
|
||||||
|
import django.core.validators
|
||||||
|
from django.db import migrations, models
|
||||||
|
|
||||||
|
|
||||||
|
class Migration(migrations.Migration):
|
||||||
|
|
||||||
|
dependencies = [
|
||||||
|
("webui", "0003_voucher"),
|
||||||
|
]
|
||||||
|
|
||||||
|
operations = [
|
||||||
|
migrations.AlterField(
|
||||||
|
model_name="borgrepository",
|
||||||
|
name="key",
|
||||||
|
field=models.TextField(
|
||||||
|
validators=[
|
||||||
|
django.core.validators.RegexValidator(
|
||||||
|
"(ssh\\-rsa|ecdsa\\-sha2\\-nistp256|ssh\\-ed25519) ([a-zA-Z0-9\\+/=]+) (\\S*)",
|
||||||
|
message="not a valid SSH public key.",
|
||||||
|
)
|
||||||
|
]
|
||||||
|
),
|
||||||
|
),
|
||||||
|
migrations.AlterField(
|
||||||
|
model_name="borgrepository",
|
||||||
|
name="name",
|
||||||
|
field=models.CharField(
|
||||||
|
max_length=100,
|
||||||
|
validators=[
|
||||||
|
django.core.validators.RegexValidator(
|
||||||
|
"[a-zA-Z0-9\\-_]+",
|
||||||
|
message="Only a-z, A-Z, 0-9, - and _ are allowed.",
|
||||||
|
)
|
||||||
|
],
|
||||||
|
),
|
||||||
|
),
|
||||||
|
]
|
||||||
Loading…
Add table
Add a link
Reference in a new issue