0001-base_adresse-really-allow-more-than-one-zipcode-3045.patch
passerelle/apps/base_adresse/migrations/0014_auto_20190207_0456.py | ||
---|---|---|
1 |
# -*- coding: utf-8 -*- |
|
2 |
# Generated by Django 1.11.18 on 2019-02-07 10:56 |
|
3 |
from __future__ import unicode_literals |
|
4 | ||
5 |
from django.db import migrations, models |
|
6 | ||
7 | ||
8 |
class Migration(migrations.Migration): |
|
9 | ||
10 |
dependencies = [ |
|
11 |
('base_adresse', '0013_remove_baseadresse_log_level'), |
|
12 |
] |
|
13 | ||
14 |
operations = [ |
|
15 |
migrations.AlterField( |
|
16 |
model_name='baseadresse', |
|
17 |
name='zipcode', |
|
18 |
field=models.CharField(blank=True, max_length=600, verbose_name='Postal codes or county number to get streets, separated with commas'), |
|
19 |
), |
|
20 |
] |
passerelle/apps/base_adresse/models.py | ||
---|---|---|
24 | 24 | |
25 | 25 |
category = _('Geographic information system') |
26 | 26 | |
27 |
zipcode = models.CharField(max_length=5, blank=True,
|
|
28 |
verbose_name=_('Postal codes to get streets, separated with commas')) |
|
27 |
zipcode = models.CharField(max_length=600, blank=True,
|
|
28 |
verbose_name=_('Postal codes or county number to get streets, separated with commas'))
|
|
29 | 29 | |
30 | 30 |
class Meta: |
31 | 31 |
verbose_name = _('Base Adresse Web Service') |
32 |
- |