2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-07-04 20:51:00 +00:00

Remove client-side length validation in form inputs (#3911)

* Remove client-side length validation in form inputs

- Let the server throw an error (so the user sees it)

* Update instances of models.URLField to InvenTreeURLField
This commit is contained in:
Oliver
2022-11-10 12:51:15 +11:00
committed by GitHub
parent fb77158496
commit 57a20be5c3
8 changed files with 57 additions and 20 deletions

View File

@ -0,0 +1,19 @@
# Generated by Django 3.2.16 on 2022-11-10 01:08
import InvenTree.fields
from django.db import migrations
class Migration(migrations.Migration):
dependencies = [
('company', '0049_company_metadata'),
]
operations = [
migrations.AlterField(
model_name='company',
name='website',
field=InvenTree.fields.InvenTreeURLField(blank=True, help_text='Company website URL', verbose_name='Website'),
),
]