Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use swapper for reference to AlternativeName #203

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

leibowitz
Copy link

Fix for #165

@emilepetrone
Copy link

emilepetrone commented Oct 17, 2018

I'm getting this when I override Cities. Could this be required for all the BaseModels?

locations.CityModel.alt_names: (fields.E300) Field defines a relation with model 'AlternativeName', which is either not installed, or is abstract.
locations.CityModel.alt_names: (fields.E307) The field locations.CityModel.alt_names was declared with a lazy reference to 'locations.alternativename', but app 'locations' doesn't provide model 'alternativename'.
locations.CityModel_alt_names.alternativename: (fields.E307) The field locations.CityModel_alt_names.alternativename was declared with a lazy reference to 'locations.alternativename', but app 'locations' doesn't provide model 'alternativename'.

@blag
Copy link
Collaborator

blag commented Feb 13, 2019

Can you remove Python 3.3 from the tested versions and fix the issues with Python 3.5 and 3.6?

@leibowitz
Copy link
Author

Are you saying you think this change affects the failing test?

AttributeError: /usr/lib/libgdal.so.1: undefined symbol: GDALGetMetadataDomainList

Doesn't sound like this failing error has anything to do with this change

@blag
Copy link
Collaborator

blag commented Feb 13, 2019

No, I am saying I don't really have time to troubleshoot this. I'm trying to handoff maintaining this project to somebody else. Sorry I don't have better news for you. 😞

@blag
Copy link
Collaborator

blag commented Feb 13, 2019

Oh, I see that the failed tests are for Django master - nevermind don't worry about those.

Please fix or remove the tests for Python 3.3 though, since that is EOL I don't think we need to continue supporting it.

@leibowitz
Copy link
Author

#209
Is that it?

@zvolsky
Copy link

zvolsky commented Aug 28, 2020

I cannot start after this change.
makemigrations run well for both cities and custom_cities applications,
but migrate ends with CircularDependencyError like
django.db.migrations.exceptions.CircularDependencyError: cities.0008_add_code_to_district, cities.0009_add_slug_fields_to_models, cities.0010_adjust_unique_attributes, cities.0011_auto_20180108_0706, cities.0012_auto_20200828_1518, mz_cities.0001_initial, cities.0001_initial, cities.0002_continent_models_and_foreign_keys, cities.0003_add_verbose_name_and_related_names, cities.0004_rename_languages_to_language_codes, cities.0005_add_foreignkeys_to_postalcode, cities.0006_typify_alt_names_and_add_is_historic, cities.0007_add_currency_and_postal_code_fields_to_country_model

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants