Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions .eggs/README.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
This directory contains eggs that were downloaded by setuptools to build, test, and run plug-ins.

This directory caches those eggs to prevent repeated downloads.

However, it is safe to delete this directory.

19 changes: 19 additions & 0 deletions src/cities_light/migrations/0014_alter_city_search_names.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# Generated by Django 6.0.2 on 2026-02-17 04:11

import cities_light.abstract_models
from django.db import migrations


class Migration(migrations.Migration):

dependencies = [
('cities_light', '0013_alter_city_alternate_names_alter_city_country_and_more'),
]

operations = [
migrations.AlterField(
model_name='city',
name='search_names',
field=cities_light.abstract_models.ToSearchTextField(blank=True, default='', max_length=4000, verbose_name='search names'),
),
]
35 changes: 0 additions & 35 deletions src/cities_light/tests/test_migrations.py

This file was deleted.

13 changes: 12 additions & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ envlist =
py{310,311,312}-django42-{sqlite,mysql,postgresql}
; mypy
pylint
makemigrations
docs
skip_missing_interpreters = True
sitepackages = False
Expand All @@ -13,7 +14,7 @@ sitepackages = False
python =
3.10: py310
3.11: py311
3.12: py312, docs, pylint, mypy
3.12: py312, docs, pylint, makemigrations
3.13: py313
3.14: py314
[base]
Expand Down Expand Up @@ -102,6 +103,16 @@ commands = pylint -j 4 --load-plugins pylint_django src/cities_light -E
deps =
{[test]deps}


[testenv:makemigrations]
basepython = python3.12
setenv =
PYTHONPATH={toxinidir}
DJANGO_SETTINGS_MODULE=test_project.settings
commands = python test_project/manage.py makemigrations --check --dry-run
deps =
{[test]deps}

[testenv:dev]
commands =
deps =
Expand Down
Loading