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:
19
InvenTree/company/migrations/0050_alter_company_website.py
Normal file
19
InvenTree/company/migrations/0050_alter_company_website.py
Normal 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'),
|
||||
),
|
||||
]
|
Reference in New Issue
Block a user