parent
d0cc1cdd3d
commit
d743ffeea0
2 changed files with 20 additions and 1 deletions
19
umap/migrations/0020_alter_tilelayer_url_template.py
Normal file
19
umap/migrations/0020_alter_tilelayer_url_template.py
Normal file
|
@ -0,0 +1,19 @@
|
|||
# Generated by Django 5.0.2 on 2024-04-17 09:18
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
dependencies = [
|
||||
("umap", "0019_migrate_internal_remote_datalayers"),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AlterField(
|
||||
model_name="tilelayer",
|
||||
name="url_template",
|
||||
field=models.CharField(
|
||||
help_text="URL template using OSM tile format", max_length=400
|
||||
),
|
||||
),
|
||||
]
|
|
@ -92,7 +92,7 @@ class Licence(NamedModel):
|
|||
|
||||
class TileLayer(NamedModel):
|
||||
url_template = models.CharField(
|
||||
max_length=200, help_text=_("URL template using OSM tile format")
|
||||
max_length=400, help_text=_("URL template using OSM tile format")
|
||||
)
|
||||
minZoom = models.IntegerField(default=0)
|
||||
maxZoom = models.IntegerField(default=18)
|
||||
|
|
Loading…
Reference in a new issue