Skip to content

Commit

Permalink
Merge pull request #1014 from opengisch/QF-4683-minioffliner
Browse files Browse the repository at this point in the history
Make the new minioffliner the default packager
  • Loading branch information
suricactus authored Sep 4, 2024
2 parents d6b49e8 + 6306825 commit dd61af6
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
# Generated by Django 3.2.25 on 2024-09-03 16:21

from django.db import migrations, models


class Migration(migrations.Migration):
dependencies = [
("core", "0077_alter_user_username"),
]

operations = [
migrations.AlterField(
model_name="project",
name="packaging_offliner",
field=models.CharField(
choices=[
("qgiscore", "QGIS Core Offline Editing (deprecated)"),
("pythonmini", "Optimized Packager"),
],
default="pythonmini",
help_text='The Packaging Offliner packages data for offline use with QField. The new "Optimized Packager" should be preferred over the deprecated "QGIS Core Offline Editing" for new projects.',
max_length=100,
verbose_name="Packaging Offliner",
),
),
]
2 changes: 1 addition & 1 deletion docker-app/qfieldcloud/core/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -1062,7 +1062,7 @@ class Meta:
'The Packaging Offliner packages data for offline use with QField. The new "Optimized Packager" should be preferred over the deprecated "QGIS Core Offline Editing" for new projects.'
),
max_length=100,
default=PackagingOffliner.QGISCORE,
default=PackagingOffliner.PYTHONMINI,
choices=PackagingOffliner.choices,
)

Expand Down

0 comments on commit dd61af6

Please sign in to comment.