api_particulier: enlarge _api_key field (fixes #30551)
This commit is contained in:
parent
81997da73c
commit
89a97579b6
|
@ -0,0 +1,20 @@
|
|||
# -*- coding: utf-8 -*-
|
||||
# Generated by Django 1.11.10 on 2019-02-12 10:26
|
||||
from __future__ import unicode_literals
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('api_particulier', '0002_auto_20181118_0807'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AlterField(
|
||||
model_name='apiparticulier',
|
||||
name='_api_key',
|
||||
field=models.CharField(blank=True, default=b'', max_length=256, verbose_name='API key'),
|
||||
),
|
||||
]
|
|
@ -52,7 +52,7 @@ class APIParticulier(BaseResource):
|
|||
choices=[(key, platform['label']) for key, platform in PLATFORMS.iteritems()])
|
||||
|
||||
_api_key = models.CharField(
|
||||
max_length=64,
|
||||
max_length=256,
|
||||
default='',
|
||||
blank=True,
|
||||
verbose_name=_('API key'))
|
||||
|
|
Loading…
Reference in New Issue