From 8d6589bc567acd7f692fc6a314dc5ff68a06b041 Mon Sep 17 00:00:00 2001 From: Raphael Odini Date: Tue, 14 Nov 2023 11:37:27 +0100 Subject: [PATCH] Run black on all files --- lemarche/api/migrations/0001_initial.py | 1 - lemarche/api/migrations/0002_auto_20210602_0928.py | 1 - lemarche/api/migrations/0003_alter_siae_options.py | 1 - lemarche/api/migrations/0004_alter_siae_options.py | 1 - lemarche/api/migrations/0005_siae_sectors.py | 1 - lemarche/api/migrations/0006_auto_20210902_1724.py | 3 +-- .../api/migrations/0007_migrate_siae_model_to_siae_app.py | 1 - lemarche/api/migrations/0008_delete_models.py | 1 - lemarche/api/utils.py | 2 +- lemarche/cms/migrations/0001_initial.py | 1 - lemarche/cms/migrations/0002_articlepage_with_cta_tender.py | 1 - lemarche/cms/migrations/0003_advert.py | 1 - lemarche/cms/migrations/0004_homepage.py | 1 - lemarche/cms/migrations/0005_alter_homepage_content.py | 1 - lemarche/cms/migrations/0006_alter_homepage_content.py | 1 - lemarche/cms/migrations/0007_alter_homepage_content.py | 1 - lemarche/companies/migrations/0001_initial.py | 1 - .../companies/migrations/0002_company_email_domain_list.py | 1 - lemarche/conversations/migrations/0001_initial.py | 1 - ...conversation_options_conversation_email_sender_and_more.py | 1 - .../migrations/0004_conversation_initial_body_message.py | 1 - .../0006_rename_email_sender_conversation_sender_email.py | 1 - lemarche/cpv/migrations/0001_initial.py | 1 - lemarche/cpv/migrations/0002_code_sectors.py | 1 - lemarche/favorites/migrations/0001_initial.py | 1 - lemarche/favorites/migrations/0002_favoriteitem.py | 1 - lemarche/favorites/migrations/0003_favoritelist_siaes.py | 1 - lemarche/labels/migrations/0001_initial.py | 1 - lemarche/labels/migrations/0002_label_data_fields.py | 1 - lemarche/networks/migrations/0001_initial.py | 3 +-- lemarche/networks/migrations/0002_network_slug.py | 1 - lemarche/networks/migrations/0003_auto_20210908_1632.py | 1 - lemarche/networks/migrations/0004_alter_network_slug.py | 1 - lemarche/networks/migrations/0005_network_logo_url.py | 1 - lemarche/notes/migrations/0001_initial.py | 1 - lemarche/notes/migrations/0002_note_author.py | 1 - .../notes/migrations/0003_note_content_type_note_object_id.py | 1 - lemarche/pages/migrations/0001_initial.py | 1 - lemarche/pages/migrations/0002_pagefragment.py | 1 - lemarche/perimeters/management/commands/generate_communes.py | 1 - .../perimeters/management/commands/generate_departements.py | 1 - lemarche/perimeters/management/commands/generate_regions.py | 1 - lemarche/perimeters/management/commands/import_communes.py | 2 -- .../perimeters/management/commands/import_departements.py | 2 -- lemarche/perimeters/management/commands/import_regions.py | 2 -- lemarche/perimeters/migrations/0001_initial.py | 1 - .../perimeters/migrations/0002_perimeter_name_gin_index.py | 1 - .../perimeters/migrations/0003_avoid_null_on_charfields.py | 1 - .../perimeters/migrations/0004_alter_perimeter_post_codes.py | 1 - .../perimeters/migrations/0005_alter_perimeter_post_codes.py | 1 - lemarche/sectors/migrations/0001_initial.py | 3 +-- lemarche/sectors/migrations/0002_sector.py | 3 +-- .../sectors/migrations/0003_sector_sectorgroup_ordering.py | 1 - lemarche/siaes/management/commands/import_sep.py | 1 - lemarche/siaes/management/commands/import_siae_groups.py | 1 - lemarche/siaes/migrations/0001_initial.py | 4 ++-- lemarche/siaes/migrations/0002_rename_sequence_and_indexes.py | 1 - .../migrations/0003_siae_add_missing_fields_update_others.py | 2 +- lemarche/siaes/migrations/0004_siae_networks.py | 1 - lemarche/siaes/migrations/0005_alter_siae_sectors.py | 1 - lemarche/siaes/migrations/0006_rename_siae_timestamps.py | 1 - lemarche/siaes/migrations/0007_siaeoffer.py | 3 +-- lemarche/siaes/migrations/0008_siaelabel.py | 3 +-- lemarche/siaes/migrations/0009_siaeclientreference.py | 3 +-- lemarche/siaes/migrations/0010_siae_users.py | 1 - lemarche/siaes/migrations/0011_auto_20210924_1528.py | 1 - lemarche/siaes/migrations/0012_alter_siae_nature.py | 1 - lemarche/siaes/migrations/0013_siae_geo_range.py | 1 - .../siaes/migrations/0014_update_siae_perimeter_choices.py | 1 - .../siaes/migrations/0015_siae_replace_latlng_with_coords.py | 1 - lemarche/siaes/migrations/0016_siae_contact_fields.py | 1 - lemarche/siaes/migrations/0017_siae_slug.py | 1 - lemarche/siaes/migrations/0018_alter_siae_slug.py | 1 - lemarche/siaes/migrations/0019_auto_20211017_1955.py | 1 - .../migrations/0020_siae_siaeclientreference_logo_url.py | 1 - lemarche/siaes/migrations/0021_siae_image_name.py | 1 - lemarche/siaes/migrations/0022_siae_users_m2m_add_through.py | 1 - .../migrations/0023_siae_users_through_add_timestamps.py | 1 - lemarche/siaes/migrations/0024_auto_20211021_1110.py | 1 - lemarche/siaes/migrations/0025_alter_siae_kind_with_extra.py | 1 - .../siaes/migrations/0026_rename_c1_source_siae_source.py | 1 - .../siaes/migrations/0027_alter_siae_kind_source_choices.py | 1 - lemarche/siaes/migrations/0028_siae_import_raw_object.py | 1 - lemarche/siaes/migrations/0029_siae_count_fields.py | 1 - lemarche/siaes/migrations/0030_alter_siae_nature.py | 1 - lemarche/siaes/migrations/0031_siae_add_verbose_names.py | 1 - lemarche/siaes/migrations/0032_avoid_null_on_charfields.py | 1 - lemarche/siaes/migrations/0033_alter_siae_contact_email.py | 1 - lemarche/siaes/migrations/0034_siae_c1_sync_rename_fields.py | 1 - .../migrations/0035_siae_update_api_entreprise_fields.py | 1 - .../0036_alter_siae_api_entreprise_date_constitution.py | 1 - lemarche/siaes/migrations/0037_siaeimage.py | 1 - lemarche/siaes/migrations/0038_siae_image_count.py | 1 - ..._siae_api_qpv_last_sync_date_alter_siae_is_qpv_and_more.py | 1 - .../0040_siae_api_zrr_last_sync_date_siae_is_zrr_and_more.py | 1 - .../migrations/0041_alter_siae_kind_alter_siae_source.py | 1 - lemarche/siaes/migrations/0042_siae_asp_id.py | 1 - ...iae_c2_etp_count_siae_c2_etp_count_date_saisie_and_more.py | 1 - .../siaes/migrations/0044_siae_content_filled_basic_date.py | 1 - lemarche/siaes/migrations/0045_siae_signup_date.py | 1 - lemarche/siaes/migrations/0046_siaeuserrequest.py | 1 - lemarche/siaes/migrations/0047_alter_siae_source.py | 1 - .../migrations/0048_siae_ca_siae_ca_last_updated_and_more.py | 1 - lemarche/siaes/migrations/0049_siaegroup.py | 1 - lemarche/siaes/migrations/0050_siae_groups.py | 1 - lemarche/siaes/migrations/0051_siaegroup_sectors.py | 1 - lemarche/siaes/migrations/0052_alter_siae_options.py | 1 - .../migrations/0053_siae_contact_social_website_and_more.py | 1 - lemarche/siaes/migrations/0054_alter_siae_presta_type.py | 1 - ...55_alter_siae_is_active_alter_siae_is_delisted_and_more.py | 1 - lemarche/siaes/migrations/0056_alter_siae_contact_email.py | 1 - lemarche/siaes/migrations/0057_siae_logs.py | 1 - lemarche/siaes/migrations/0058_siaelabel_old.py | 1 - lemarche/siaes/migrations/0059_siae_label_through_model.py | 1 - lemarche/siaes/migrations/0060_siae_labels_m2m.py | 1 - ...0061_alter_siae_geo_range_alter_siae_is_active_and_more.py | 1 - lemarche/siaes/migrations/0062_siae_group_count.py | 1 - .../migrations/0063_siae_api_entreprise_forme_juridique.py | 1 - ...064_alter_siae_api_entreprise_ca_alter_siae_ca_and_more.py | 1 - lemarche/siaes/migrations/0065_siae_legal_form.py | 1 - lemarche/stats/migrations/0001_initial.py | 1 - lemarche/stats/migrations/0002_statsuser.py | 1 - lemarche/stats/migrations/0003_remove_tracker_session_id.py | 1 - lemarche/stats/migrations/0004_remove_tracker_send_order.py | 1 - .../migrations/0005_tracker_user_id_tracker_user_kind.py | 1 - lemarche/stats/migrations/0006_tracker_siae_id.py | 1 - .../migrations/0007_tracker_siae_kind_and_contact_email.py | 1 - lemarche/tenders/migrations/0001_initial.py | 1 - .../0002_tender_nb_siaes_found_alter_tender_kind.py | 1 - ..._rename_nb_siaes_found_tender_siae_found_count_and_more.py | 1 - .../migrations/0004_tendersiae_tender_siaes_and_more.py | 1 - .../tenders/migrations/0005_remove_tender_siae_found_count.py | 1 - lemarche/tenders/migrations/0007_alter_tender_kind.py | 1 - .../0008_alter_tender_author_alter_tender_response_kind.py | 1 - lemarche/tenders/migrations/0009_tender_validated_at.py | 1 - .../tenders/migrations/0010_alter_tender_choice_plural_fix.py | 1 - .../0010_tender_is_country_area_alter_tender_perimeters.py | 1 - lemarche/tenders/migrations/0011_merge_20220512_1802.py | 1 - .../0012_tender_siae_interested_list_last_seen_date.py | 1 - lemarche/tenders/migrations/0013_partnersharetender.py | 1 - .../tenders/migrations/0014_partnersharetender_timestamps.py | 1 - .../migrations/0015_alter_partnersharetender_arrayfield.py | 1 - lemarche/tenders/migrations/0016_tender_presta_type.py | 1 - lemarche/tenders/migrations/0017_tender_logs.py | 1 - lemarche/tenders/migrations/0018_partnersharetender_logs.py | 1 - lemarche/tenders/migrations/0019_tender_source.py | 1 - lemarche/tenders/migrations/0020_add_help_text.py | 1 - lemarche/tenders/migrations/0021_tender_amount_choices_v2.py | 1 - .../tenders/migrations/0022_tender_accept_share_amount.py | 1 - .../0023_alter_partnersharetender_amount_in_and_more.py | 1 - .../tenders/migrations/0024_tender_accept_cocontracting.py | 1 - lemarche/tenders/migrations/0025_alter_tender_source.py | 1 - .../0026_tender_is_marche_useful_tender_marche_benefits.py | 1 - .../tenders/migrations/0027_alter_tender_marche_benefits.py | 1 - .../tenders/migrations/0028_alter_tender_options_ordering.py | 1 - lemarche/tenders/migrations/0029_alter_tendersiae_source.py | 1 - .../0030_tender_siae_kind_alter_tender_presta_type.py | 1 - .../0031_alter_tender_accept_cocontracting_and_more.py | 1 - lemarche/tenders/migrations/0032_tender_extra_data.py | 1 - .../tenders/migrations/0033_tender_include_country_area.py | 1 - lemarche/tenders/migrations/0034_tender_siae_transactioned.py | 1 - lemarche/tenders/migrations/0035_tender_is_marche_useful_2.py | 1 - lemarche/tenders/migrations/0036_tender_status.py | 1 - ...37_alter_tender_accept_share_amount_alter_tender_amount.py | 1 - .../tenders/migrations/0038_tender_intervention_location.py | 1 - .../migrations/0039_tender_siae_rename_contact_click_date.py | 1 - .../migrations/0040_tendersiae_email_link_click_date.py | 1 - lemarche/tenders/migrations/0041_alter_tender_status.py | 1 - .../tenders/migrations/0042_tender_why_amount_is_blank.py | 1 - .../0043_rename_tender_siae_interested_list_last_seen_date.py | 1 - lemarche/tenders/migrations/0044_alter_tender_source.py | 1 - ...5_alter_tender_deadline_date_response_kind_not_required.py | 1 - lemarche/tenders/migrations/0046_tendersiae_logs.py | 1 - lemarche/tenders/migrations/0047_tender_import_raw_object.py | 1 - lemarche/tenders/migrations/0048_tender_questions.py | 1 - lemarche/tenders/migrations/0049_tender_amount_exact.py | 1 - lemarche/tenders/migrations/0050_alter_tender_source.py | 1 - lemarche/tenders/migrations/0051_tender_published_at.py | 1 - lemarche/tenders/migrations/0052_tender_incremental_custom.py | 1 - lemarche/users/migrations/0001_initial.py | 1 - lemarche/users/migrations/0002_auto_20210607_1456.py | 1 - lemarche/users/migrations/0003_alter_user_api_key.py | 1 - lemarche/users/migrations/0004_auto_20210607_1604.py | 1 - lemarche/users/migrations/0005_alter_user_options.py | 1 - lemarche/users/migrations/0006_update_user.py | 1 - lemarche/users/migrations/0007_auto_20210930_2317.py | 1 - lemarche/users/migrations/0008_alter_user_kind.py | 1 - lemarche/users/migrations/0009_rename_c4_fields.py | 1 - lemarche/users/migrations/0010_user_image_fields.py | 1 - lemarche/users/migrations/0011_user_position.py | 1 - lemarche/users/migrations/0012_avoid_null_on_charfields.py | 1 - lemarche/users/migrations/0013_user_partner_kind.py | 1 - lemarche/users/migrations/0015_user_api_key_last_updated.py | 1 - .../0016_user_accept_share_contact_to_external_partners.py | 1 - .../users/migrations/0017_user_dashboard_last_seen_date.py | 1 - .../users/migrations/0018_user_tender_list_last_seen_date.py | 1 - lemarche/users/migrations/0019_user_source.py | 1 - lemarche/users/migrations/0020_user_extra_data.py | 1 - .../0021_user_can_display_tender_contact_details.py | 1 - lemarche/users/migrations/0022_user_buyer_kind.py | 1 - lemarche/users/migrations/0023_user_buyer_kind_detail.py | 1 - lemarche/users/migrations/0024_user_partner_network.py | 1 - .../users/migrations/0025_user_user_email_ci_uniqueness.py | 1 - lemarche/users/migrations/0026_user_company.py | 1 - lemarche/users/migrations/0027_alter_user_source.py | 1 - lemarche/utils/admin/actions.py | 2 +- lemarche/utils/apis/geocoding.py | 1 - lemarche/utils/password_validation.py | 1 - lemarche/utils/urls.py | 2 -- 209 files changed, 12 insertions(+), 221 deletions(-) diff --git a/lemarche/api/migrations/0001_initial.py b/lemarche/api/migrations/0001_initial.py index bf7053f06..05f9d4697 100644 --- a/lemarche/api/migrations/0001_initial.py +++ b/lemarche/api/migrations/0001_initial.py @@ -7,7 +7,6 @@ class Migration(migrations.Migration): - initial = True dependencies = [] diff --git a/lemarche/api/migrations/0002_auto_20210602_0928.py b/lemarche/api/migrations/0002_auto_20210602_0928.py index 49cf7aaca..27b8c2afc 100644 --- a/lemarche/api/migrations/0002_auto_20210602_0928.py +++ b/lemarche/api/migrations/0002_auto_20210602_0928.py @@ -5,7 +5,6 @@ class Migration(migrations.Migration): - dependencies = [ ("api", "0001_initial"), ] diff --git a/lemarche/api/migrations/0003_alter_siae_options.py b/lemarche/api/migrations/0003_alter_siae_options.py index addefb8db..a653fd91a 100644 --- a/lemarche/api/migrations/0003_alter_siae_options.py +++ b/lemarche/api/migrations/0003_alter_siae_options.py @@ -4,7 +4,6 @@ class Migration(migrations.Migration): - dependencies = [ ("api", "0002_auto_20210602_0928"), ] diff --git a/lemarche/api/migrations/0004_alter_siae_options.py b/lemarche/api/migrations/0004_alter_siae_options.py index 13b833a60..387d9f825 100644 --- a/lemarche/api/migrations/0004_alter_siae_options.py +++ b/lemarche/api/migrations/0004_alter_siae_options.py @@ -4,7 +4,6 @@ class Migration(migrations.Migration): - dependencies = [ ("api", "0003_alter_siae_options"), ] diff --git a/lemarche/api/migrations/0005_siae_sectors.py b/lemarche/api/migrations/0005_siae_sectors.py index 0855d0f97..58400ff2e 100644 --- a/lemarche/api/migrations/0005_siae_sectors.py +++ b/lemarche/api/migrations/0005_siae_sectors.py @@ -4,7 +4,6 @@ class Migration(migrations.Migration): - dependencies = [ ("api", "0004_alter_siae_options"), ] diff --git a/lemarche/api/migrations/0006_auto_20210902_1724.py b/lemarche/api/migrations/0006_auto_20210902_1724.py index e65dfe7c1..180266f20 100644 --- a/lemarche/api/migrations/0006_auto_20210902_1724.py +++ b/lemarche/api/migrations/0006_auto_20210902_1724.py @@ -1,11 +1,10 @@ # Generated by Django 3.2.4 on 2021-09-02 15:24 -from django.db import migrations, models import django.utils.timezone +from django.db import migrations, models class Migration(migrations.Migration): - dependencies = [ ("api", "0005_siae_sectors"), ] diff --git a/lemarche/api/migrations/0007_migrate_siae_model_to_siae_app.py b/lemarche/api/migrations/0007_migrate_siae_model_to_siae_app.py index d928eeb0a..f1dd51d9e 100644 --- a/lemarche/api/migrations/0007_migrate_siae_model_to_siae_app.py +++ b/lemarche/api/migrations/0007_migrate_siae_model_to_siae_app.py @@ -4,7 +4,6 @@ class Migration(migrations.Migration): - dependencies = [ ("api", "0006_auto_20210902_1724"), ] diff --git a/lemarche/api/migrations/0008_delete_models.py b/lemarche/api/migrations/0008_delete_models.py index b2a753b55..757b1e33d 100644 --- a/lemarche/api/migrations/0008_delete_models.py +++ b/lemarche/api/migrations/0008_delete_models.py @@ -4,7 +4,6 @@ class Migration(migrations.Migration): - dependencies = [ ("api", "0007_migrate_siae_model_to_siae_app"), ("siaes", "0005_alter_siae_sectors"), diff --git a/lemarche/api/utils.py b/lemarche/api/utils.py index 1e1fdd457..0a1074a4d 100644 --- a/lemarche/api/utils.py +++ b/lemarche/api/utils.py @@ -30,7 +30,7 @@ def custom_preprocessing_hook(endpoints): https://github.com/tfranzel/drf-spectacular/issues/655 """ filtered = [] - for (path, path_regex, method, callback) in endpoints: + for path, path_regex, method, callback in endpoints: if path.startswith("/api/"): filtered.append((path, path_regex, method, callback)) return filtered diff --git a/lemarche/cms/migrations/0001_initial.py b/lemarche/cms/migrations/0001_initial.py index 9e9488049..5480d4da9 100644 --- a/lemarche/cms/migrations/0001_initial.py +++ b/lemarche/cms/migrations/0001_initial.py @@ -8,7 +8,6 @@ class Migration(migrations.Migration): - initial = True dependencies = [ diff --git a/lemarche/cms/migrations/0002_articlepage_with_cta_tender.py b/lemarche/cms/migrations/0002_articlepage_with_cta_tender.py index 7803999c7..092517821 100644 --- a/lemarche/cms/migrations/0002_articlepage_with_cta_tender.py +++ b/lemarche/cms/migrations/0002_articlepage_with_cta_tender.py @@ -4,7 +4,6 @@ class Migration(migrations.Migration): - dependencies = [ ("cms", "0001_initial"), ] diff --git a/lemarche/cms/migrations/0003_advert.py b/lemarche/cms/migrations/0003_advert.py index 4ab929df3..86da3bc57 100644 --- a/lemarche/cms/migrations/0003_advert.py +++ b/lemarche/cms/migrations/0003_advert.py @@ -5,7 +5,6 @@ class Migration(migrations.Migration): - dependencies = [ ("wagtailimages", "0025_alter_image_file_alter_rendition_file"), ("cms", "0002_articlepage_with_cta_tender"), diff --git a/lemarche/cms/migrations/0004_homepage.py b/lemarche/cms/migrations/0004_homepage.py index fd0e737f9..d00a9c571 100644 --- a/lemarche/cms/migrations/0004_homepage.py +++ b/lemarche/cms/migrations/0004_homepage.py @@ -19,7 +19,6 @@ def create_homepage(apps, schema_editor): class Migration(migrations.Migration): - dependencies = [ ("wagtailcore", "0083_workflowcontenttype"), ("cms", "0003_advert"), diff --git a/lemarche/cms/migrations/0005_alter_homepage_content.py b/lemarche/cms/migrations/0005_alter_homepage_content.py index 50de2639b..5c6c4ad0d 100644 --- a/lemarche/cms/migrations/0005_alter_homepage_content.py +++ b/lemarche/cms/migrations/0005_alter_homepage_content.py @@ -6,7 +6,6 @@ class Migration(migrations.Migration): - dependencies = [ ("cms", "0004_homepage"), ] diff --git a/lemarche/cms/migrations/0006_alter_homepage_content.py b/lemarche/cms/migrations/0006_alter_homepage_content.py index f385bd2ae..388cf6837 100644 --- a/lemarche/cms/migrations/0006_alter_homepage_content.py +++ b/lemarche/cms/migrations/0006_alter_homepage_content.py @@ -7,7 +7,6 @@ class Migration(migrations.Migration): - dependencies = [ ("cms", "0005_alter_homepage_content"), ] diff --git a/lemarche/cms/migrations/0007_alter_homepage_content.py b/lemarche/cms/migrations/0007_alter_homepage_content.py index e0e5e7fc8..88c8c1831 100644 --- a/lemarche/cms/migrations/0007_alter_homepage_content.py +++ b/lemarche/cms/migrations/0007_alter_homepage_content.py @@ -7,7 +7,6 @@ class Migration(migrations.Migration): - dependencies = [ ("cms", "0006_alter_homepage_content"), ] diff --git a/lemarche/companies/migrations/0001_initial.py b/lemarche/companies/migrations/0001_initial.py index c8f369db7..17c20ec86 100644 --- a/lemarche/companies/migrations/0001_initial.py +++ b/lemarche/companies/migrations/0001_initial.py @@ -5,7 +5,6 @@ class Migration(migrations.Migration): - initial = True dependencies = [] diff --git a/lemarche/companies/migrations/0002_company_email_domain_list.py b/lemarche/companies/migrations/0002_company_email_domain_list.py index 784e72a16..34c27fbdb 100644 --- a/lemarche/companies/migrations/0002_company_email_domain_list.py +++ b/lemarche/companies/migrations/0002_company_email_domain_list.py @@ -5,7 +5,6 @@ class Migration(migrations.Migration): - dependencies = [ ("companies", "0001_initial"), ] diff --git a/lemarche/conversations/migrations/0001_initial.py b/lemarche/conversations/migrations/0001_initial.py index 7466979fa..6c2c59db5 100644 --- a/lemarche/conversations/migrations/0001_initial.py +++ b/lemarche/conversations/migrations/0001_initial.py @@ -7,7 +7,6 @@ class Migration(migrations.Migration): - initial = True dependencies = [] diff --git a/lemarche/conversations/migrations/0003_alter_conversation_options_conversation_email_sender_and_more.py b/lemarche/conversations/migrations/0003_alter_conversation_options_conversation_email_sender_and_more.py index 665dc06cc..256997e16 100644 --- a/lemarche/conversations/migrations/0003_alter_conversation_options_conversation_email_sender_and_more.py +++ b/lemarche/conversations/migrations/0003_alter_conversation_options_conversation_email_sender_and_more.py @@ -4,7 +4,6 @@ class Migration(migrations.Migration): - dependencies = [ ("conversations", "0002_conversation_kind_conversation_siae_and_more"), ] diff --git a/lemarche/conversations/migrations/0004_conversation_initial_body_message.py b/lemarche/conversations/migrations/0004_conversation_initial_body_message.py index 2586e59ae..a60fe8627 100644 --- a/lemarche/conversations/migrations/0004_conversation_initial_body_message.py +++ b/lemarche/conversations/migrations/0004_conversation_initial_body_message.py @@ -4,7 +4,6 @@ class Migration(migrations.Migration): - dependencies = [ ("conversations", "0003_alter_conversation_options_conversation_email_sender_and_more"), ] diff --git a/lemarche/conversations/migrations/0006_rename_email_sender_conversation_sender_email.py b/lemarche/conversations/migrations/0006_rename_email_sender_conversation_sender_email.py index 8e044a1a8..50e1bd51d 100644 --- a/lemarche/conversations/migrations/0006_rename_email_sender_conversation_sender_email.py +++ b/lemarche/conversations/migrations/0006_rename_email_sender_conversation_sender_email.py @@ -4,7 +4,6 @@ class Migration(migrations.Migration): - dependencies = [ ("conversations", "0005_remove_conversation_uuid"), ] diff --git a/lemarche/cpv/migrations/0001_initial.py b/lemarche/cpv/migrations/0001_initial.py index d4cca16c6..ca6a7e3ed 100644 --- a/lemarche/cpv/migrations/0001_initial.py +++ b/lemarche/cpv/migrations/0001_initial.py @@ -6,7 +6,6 @@ class Migration(migrations.Migration): - initial = True dependencies = [] diff --git a/lemarche/cpv/migrations/0002_code_sectors.py b/lemarche/cpv/migrations/0002_code_sectors.py index daf6d2958..d908e5f53 100644 --- a/lemarche/cpv/migrations/0002_code_sectors.py +++ b/lemarche/cpv/migrations/0002_code_sectors.py @@ -4,7 +4,6 @@ class Migration(migrations.Migration): - dependencies = [ ("sectors", "0003_sector_sectorgroup_ordering"), ("cpv", "0001_initial"), diff --git a/lemarche/favorites/migrations/0001_initial.py b/lemarche/favorites/migrations/0001_initial.py index 9eabe48cc..af40cae37 100644 --- a/lemarche/favorites/migrations/0001_initial.py +++ b/lemarche/favorites/migrations/0001_initial.py @@ -7,7 +7,6 @@ class Migration(migrations.Migration): - initial = True dependencies = [ diff --git a/lemarche/favorites/migrations/0002_favoriteitem.py b/lemarche/favorites/migrations/0002_favoriteitem.py index 9c4764c81..61b7c07e2 100644 --- a/lemarche/favorites/migrations/0002_favoriteitem.py +++ b/lemarche/favorites/migrations/0002_favoriteitem.py @@ -6,7 +6,6 @@ class Migration(migrations.Migration): - dependencies = [ ("siaes", "0038_siae_image_count"), ("favorites", "0001_initial"), diff --git a/lemarche/favorites/migrations/0003_favoritelist_siaes.py b/lemarche/favorites/migrations/0003_favoritelist_siaes.py index 0a79838e2..4e0072d37 100644 --- a/lemarche/favorites/migrations/0003_favoritelist_siaes.py +++ b/lemarche/favorites/migrations/0003_favoritelist_siaes.py @@ -4,7 +4,6 @@ class Migration(migrations.Migration): - dependencies = [ ("siaes", "0038_siae_image_count"), ("favorites", "0002_favoriteitem"), diff --git a/lemarche/labels/migrations/0001_initial.py b/lemarche/labels/migrations/0001_initial.py index 7fa4bbdae..7c911e463 100644 --- a/lemarche/labels/migrations/0001_initial.py +++ b/lemarche/labels/migrations/0001_initial.py @@ -5,7 +5,6 @@ class Migration(migrations.Migration): - initial = True dependencies = [] diff --git a/lemarche/labels/migrations/0002_label_data_fields.py b/lemarche/labels/migrations/0002_label_data_fields.py index 5c21a3a4c..925bbfbe2 100644 --- a/lemarche/labels/migrations/0002_label_data_fields.py +++ b/lemarche/labels/migrations/0002_label_data_fields.py @@ -4,7 +4,6 @@ class Migration(migrations.Migration): - dependencies = [ ("labels", "0001_initial"), ] diff --git a/lemarche/networks/migrations/0001_initial.py b/lemarche/networks/migrations/0001_initial.py index 915e8e8d8..456d60a06 100644 --- a/lemarche/networks/migrations/0001_initial.py +++ b/lemarche/networks/migrations/0001_initial.py @@ -1,11 +1,10 @@ # Generated by Django 3.2.4 on 2021-09-02 16:47 -from django.db import migrations, models import django.utils.timezone +from django.db import migrations, models class Migration(migrations.Migration): - initial = True operations = [ diff --git a/lemarche/networks/migrations/0002_network_slug.py b/lemarche/networks/migrations/0002_network_slug.py index 1205f5650..a160085cc 100644 --- a/lemarche/networks/migrations/0002_network_slug.py +++ b/lemarche/networks/migrations/0002_network_slug.py @@ -4,7 +4,6 @@ class Migration(migrations.Migration): - dependencies = [ ("networks", "0001_initial"), ] diff --git a/lemarche/networks/migrations/0003_auto_20210908_1632.py b/lemarche/networks/migrations/0003_auto_20210908_1632.py index 1c9dd67eb..bb5901ec8 100644 --- a/lemarche/networks/migrations/0003_auto_20210908_1632.py +++ b/lemarche/networks/migrations/0003_auto_20210908_1632.py @@ -12,7 +12,6 @@ def slugify_name(apps, schema_editor): class Migration(migrations.Migration): - dependencies = [ ("networks", "0002_network_slug"), ] diff --git a/lemarche/networks/migrations/0004_alter_network_slug.py b/lemarche/networks/migrations/0004_alter_network_slug.py index 34b612ae7..8198f4a70 100644 --- a/lemarche/networks/migrations/0004_alter_network_slug.py +++ b/lemarche/networks/migrations/0004_alter_network_slug.py @@ -4,7 +4,6 @@ class Migration(migrations.Migration): - dependencies = [ ("networks", "0003_auto_20210908_1632"), ] diff --git a/lemarche/networks/migrations/0005_network_logo_url.py b/lemarche/networks/migrations/0005_network_logo_url.py index f434e0e68..a6ab8c295 100644 --- a/lemarche/networks/migrations/0005_network_logo_url.py +++ b/lemarche/networks/migrations/0005_network_logo_url.py @@ -4,7 +4,6 @@ class Migration(migrations.Migration): - dependencies = [ ("networks", "0004_alter_network_slug"), ] diff --git a/lemarche/notes/migrations/0001_initial.py b/lemarche/notes/migrations/0001_initial.py index e68df7df8..993930cd0 100644 --- a/lemarche/notes/migrations/0001_initial.py +++ b/lemarche/notes/migrations/0001_initial.py @@ -7,7 +7,6 @@ class Migration(migrations.Migration): - initial = True dependencies = [ diff --git a/lemarche/notes/migrations/0002_note_author.py b/lemarche/notes/migrations/0002_note_author.py index 34c82199f..58825b0c3 100644 --- a/lemarche/notes/migrations/0002_note_author.py +++ b/lemarche/notes/migrations/0002_note_author.py @@ -6,7 +6,6 @@ class Migration(migrations.Migration): - dependencies = [ migrations.swappable_dependency(settings.AUTH_USER_MODEL), ("notes", "0001_initial"), diff --git a/lemarche/notes/migrations/0003_note_content_type_note_object_id.py b/lemarche/notes/migrations/0003_note_content_type_note_object_id.py index 2098565cb..49bf793e3 100644 --- a/lemarche/notes/migrations/0003_note_content_type_note_object_id.py +++ b/lemarche/notes/migrations/0003_note_content_type_note_object_id.py @@ -5,7 +5,6 @@ class Migration(migrations.Migration): - dependencies = [ ("contenttypes", "0002_remove_content_type_name"), ("notes", "0002_note_author"), diff --git a/lemarche/pages/migrations/0001_initial.py b/lemarche/pages/migrations/0001_initial.py index 3ae8e72f2..028248970 100644 --- a/lemarche/pages/migrations/0001_initial.py +++ b/lemarche/pages/migrations/0001_initial.py @@ -6,7 +6,6 @@ class Migration(migrations.Migration): - initial = True dependencies = [ diff --git a/lemarche/pages/migrations/0002_pagefragment.py b/lemarche/pages/migrations/0002_pagefragment.py index 0117d309e..78ee63032 100644 --- a/lemarche/pages/migrations/0002_pagefragment.py +++ b/lemarche/pages/migrations/0002_pagefragment.py @@ -5,7 +5,6 @@ class Migration(migrations.Migration): - dependencies = [ ("pages", "0001_initial"), ] diff --git a/lemarche/perimeters/management/commands/generate_communes.py b/lemarche/perimeters/management/commands/generate_communes.py index 25edbb816..b659545c9 100644 --- a/lemarche/perimeters/management/commands/generate_communes.py +++ b/lemarche/perimeters/management/commands/generate_communes.py @@ -32,7 +32,6 @@ class Command(BaseCommand): help = "Create a JSON file with all cities of France." def handle(self, **options): - base_url = f"{settings.API_GEO_BASE_URL}/communes" fields = "" # "?fields=nom,code,codesPostaux,codeDepartement,codeRegion,centre" extra = "?format=json" diff --git a/lemarche/perimeters/management/commands/generate_departements.py b/lemarche/perimeters/management/commands/generate_departements.py index 2b1f554ef..07cf44bc8 100644 --- a/lemarche/perimeters/management/commands/generate_departements.py +++ b/lemarche/perimeters/management/commands/generate_departements.py @@ -23,7 +23,6 @@ class Command(BaseCommand): help = "Create a JSON file with all departments of France." def handle(self, **options): - url = f"{settings.API_GEO_BASE_URL}/departements" r = requests.get(url) diff --git a/lemarche/perimeters/management/commands/generate_regions.py b/lemarche/perimeters/management/commands/generate_regions.py index 216a66a26..a2ca8e75b 100644 --- a/lemarche/perimeters/management/commands/generate_regions.py +++ b/lemarche/perimeters/management/commands/generate_regions.py @@ -23,7 +23,6 @@ class Command(BaseCommand): help = "Create a JSON file with all regions of France." def handle(self, **options): - url = f"{settings.API_GEO_BASE_URL}/regions" r = requests.get(url) diff --git a/lemarche/perimeters/management/commands/import_communes.py b/lemarche/perimeters/management/commands/import_communes.py index 97d343abe..66181c0ed 100644 --- a/lemarche/perimeters/management/commands/import_communes.py +++ b/lemarche/perimeters/management/commands/import_communes.py @@ -182,13 +182,11 @@ def handle(self, dry_run=False, **options): self.set_logger(options.get("verbosity")) with open(CITIES_JSON_FILE, "r") as raw_json_data: - json_data = json.load(raw_json_data) total_len = len(json_data) last_progress = 0 for i, item in enumerate(json_data): - progress = int((100 * i) / total_len) if progress > last_progress + 5: self.stdout.write(f"Creating cities… {progress}%") diff --git a/lemarche/perimeters/management/commands/import_departements.py b/lemarche/perimeters/management/commands/import_departements.py index febcb9806..ad1590963 100644 --- a/lemarche/perimeters/management/commands/import_departements.py +++ b/lemarche/perimeters/management/commands/import_departements.py @@ -54,11 +54,9 @@ def handle(self, dry_run=False, **options): self.set_logger(options.get("verbosity")) with open(DEPARTMENTS_JSON_FILE, "r") as raw_json_data: - json_data = json.load(raw_json_data) for i, item in enumerate(json_data): - name = item["nom"] insee_code = item["code"] diff --git a/lemarche/perimeters/management/commands/import_regions.py b/lemarche/perimeters/management/commands/import_regions.py index 458c4f97c..da16d52c3 100644 --- a/lemarche/perimeters/management/commands/import_regions.py +++ b/lemarche/perimeters/management/commands/import_regions.py @@ -54,11 +54,9 @@ def handle(self, dry_run=False, **options): self.set_logger(options.get("verbosity")) with open(REGIONS_JSON_FILE, "r") as raw_json_data: - json_data = json.load(raw_json_data) for i, item in enumerate(json_data): - name = item["nom"] insee_code = item["code"] diff --git a/lemarche/perimeters/migrations/0001_initial.py b/lemarche/perimeters/migrations/0001_initial.py index 5d3b02a44..b371214d4 100644 --- a/lemarche/perimeters/migrations/0001_initial.py +++ b/lemarche/perimeters/migrations/0001_initial.py @@ -7,7 +7,6 @@ class Migration(migrations.Migration): - initial = True dependencies = [] diff --git a/lemarche/perimeters/migrations/0002_perimeter_name_gin_index.py b/lemarche/perimeters/migrations/0002_perimeter_name_gin_index.py index 68233bc50..5bb3ff1a0 100644 --- a/lemarche/perimeters/migrations/0002_perimeter_name_gin_index.py +++ b/lemarche/perimeters/migrations/0002_perimeter_name_gin_index.py @@ -5,7 +5,6 @@ class Migration(migrations.Migration): - dependencies = [ ("perimeters", "0001_initial"), ("users", "0001bis_create_extensions"), diff --git a/lemarche/perimeters/migrations/0003_avoid_null_on_charfields.py b/lemarche/perimeters/migrations/0003_avoid_null_on_charfields.py index 6bf34e329..e4422f929 100644 --- a/lemarche/perimeters/migrations/0003_avoid_null_on_charfields.py +++ b/lemarche/perimeters/migrations/0003_avoid_null_on_charfields.py @@ -5,7 +5,6 @@ class Migration(migrations.Migration): - dependencies = [ ("perimeters", "0002_perimeter_name_gin_index"), ] diff --git a/lemarche/perimeters/migrations/0004_alter_perimeter_post_codes.py b/lemarche/perimeters/migrations/0004_alter_perimeter_post_codes.py index b6e9d3cf6..6e474a960 100644 --- a/lemarche/perimeters/migrations/0004_alter_perimeter_post_codes.py +++ b/lemarche/perimeters/migrations/0004_alter_perimeter_post_codes.py @@ -5,7 +5,6 @@ class Migration(migrations.Migration): - dependencies = [ ("perimeters", "0003_avoid_null_on_charfields"), ] diff --git a/lemarche/perimeters/migrations/0005_alter_perimeter_post_codes.py b/lemarche/perimeters/migrations/0005_alter_perimeter_post_codes.py index 8ec8ce0c1..f9bfd1260 100644 --- a/lemarche/perimeters/migrations/0005_alter_perimeter_post_codes.py +++ b/lemarche/perimeters/migrations/0005_alter_perimeter_post_codes.py @@ -6,7 +6,6 @@ class Migration(migrations.Migration): - dependencies = [ ("perimeters", "0004_alter_perimeter_post_codes"), ] diff --git a/lemarche/sectors/migrations/0001_initial.py b/lemarche/sectors/migrations/0001_initial.py index d2ffbff4b..18f3d289d 100644 --- a/lemarche/sectors/migrations/0001_initial.py +++ b/lemarche/sectors/migrations/0001_initial.py @@ -1,11 +1,10 @@ # Generated by Django 3.2.4 on 2021-09-02 12:53 -from django.db import migrations, models import django.utils.timezone +from django.db import migrations, models class Migration(migrations.Migration): - initial = True dependencies = [] diff --git a/lemarche/sectors/migrations/0002_sector.py b/lemarche/sectors/migrations/0002_sector.py index 5abfabc80..f689e9918 100644 --- a/lemarche/sectors/migrations/0002_sector.py +++ b/lemarche/sectors/migrations/0002_sector.py @@ -1,12 +1,11 @@ # Generated by Django 3.2.4 on 2021-09-02 12:59 -from django.db import migrations, models import django.db.models.deletion import django.utils.timezone +from django.db import migrations, models class Migration(migrations.Migration): - dependencies = [ ("sectors", "0001_initial"), ] diff --git a/lemarche/sectors/migrations/0003_sector_sectorgroup_ordering.py b/lemarche/sectors/migrations/0003_sector_sectorgroup_ordering.py index e58fcb7cd..fff5c347d 100644 --- a/lemarche/sectors/migrations/0003_sector_sectorgroup_ordering.py +++ b/lemarche/sectors/migrations/0003_sector_sectorgroup_ordering.py @@ -4,7 +4,6 @@ class Migration(migrations.Migration): - dependencies = [ ("sectors", "0002_sector"), ] diff --git a/lemarche/siaes/management/commands/import_sep.py b/lemarche/siaes/management/commands/import_sep.py index 2a264d8d5..44a03d29a 100644 --- a/lemarche/siaes/management/commands/import_sep.py +++ b/lemarche/siaes/management/commands/import_sep.py @@ -33,7 +33,6 @@ def read_csv(file_path): with open(file_path) as csv_file: csvreader = csv.DictReader(csv_file, delimiter=",") for index, row in enumerate(csvreader): - # sectors row["Secteurs d'act list"] = list() for sector_column_name in SECTOR_COLUMN_NAME_LIST: diff --git a/lemarche/siaes/management/commands/import_siae_groups.py b/lemarche/siaes/management/commands/import_siae_groups.py index fd1455787..72d469f3b 100644 --- a/lemarche/siaes/management/commands/import_siae_groups.py +++ b/lemarche/siaes/management/commands/import_siae_groups.py @@ -18,7 +18,6 @@ def read_csv(file_path): with open(file_path) as csv_file: csvreader = csv.DictReader(csv_file, delimiter=",") for index, row in enumerate(csvreader): - siae_group_list.append(row) return siae_group_list diff --git a/lemarche/siaes/migrations/0001_initial.py b/lemarche/siaes/migrations/0001_initial.py index 7de1ec302..05ff92301 100644 --- a/lemarche/siaes/migrations/0001_initial.py +++ b/lemarche/siaes/migrations/0001_initial.py @@ -1,12 +1,12 @@ # Generated by Django 3.2.4 on 2021-08-31 17:11 -from django.db import migrations, models import django.utils.timezone +from django.db import migrations, models + import lemarche.siaes.validators class Migration(migrations.Migration): - initial = True dependencies = [ diff --git a/lemarche/siaes/migrations/0002_rename_sequence_and_indexes.py b/lemarche/siaes/migrations/0002_rename_sequence_and_indexes.py index f34aa674e..7a20defec 100644 --- a/lemarche/siaes/migrations/0002_rename_sequence_and_indexes.py +++ b/lemarche/siaes/migrations/0002_rename_sequence_and_indexes.py @@ -4,7 +4,6 @@ class Migration(migrations.Migration): - dependencies = [ ("siaes", "0001_initial"), ] diff --git a/lemarche/siaes/migrations/0003_siae_add_missing_fields_update_others.py b/lemarche/siaes/migrations/0003_siae_add_missing_fields_update_others.py index edf7db00e..96695523a 100644 --- a/lemarche/siaes/migrations/0003_siae_add_missing_fields_update_others.py +++ b/lemarche/siaes/migrations/0003_siae_add_missing_fields_update_others.py @@ -2,11 +2,11 @@ import django.contrib.postgres.fields from django.db import migrations, models + import lemarche.siaes.validators class Migration(migrations.Migration): - dependencies = [ ("siaes", "0002_rename_sequence_and_indexes"), ] diff --git a/lemarche/siaes/migrations/0004_siae_networks.py b/lemarche/siaes/migrations/0004_siae_networks.py index b167fb5b5..461f4a81d 100644 --- a/lemarche/siaes/migrations/0004_siae_networks.py +++ b/lemarche/siaes/migrations/0004_siae_networks.py @@ -4,7 +4,6 @@ class Migration(migrations.Migration): - dependencies = [ ("siaes", "0003_siae_add_missing_fields_update_others"), ("networks", "0001_initial"), diff --git a/lemarche/siaes/migrations/0005_alter_siae_sectors.py b/lemarche/siaes/migrations/0005_alter_siae_sectors.py index e75532356..e994f03bb 100644 --- a/lemarche/siaes/migrations/0005_alter_siae_sectors.py +++ b/lemarche/siaes/migrations/0005_alter_siae_sectors.py @@ -4,7 +4,6 @@ class Migration(migrations.Migration): - dependencies = [ ("sectors", "0002_sector"), ("siaes", "0004_siae_networks"), diff --git a/lemarche/siaes/migrations/0006_rename_siae_timestamps.py b/lemarche/siaes/migrations/0006_rename_siae_timestamps.py index 7d7d3e275..96d772b7a 100644 --- a/lemarche/siaes/migrations/0006_rename_siae_timestamps.py +++ b/lemarche/siaes/migrations/0006_rename_siae_timestamps.py @@ -4,7 +4,6 @@ class Migration(migrations.Migration): - dependencies = [ ("siaes", "0005_alter_siae_sectors"), ] diff --git a/lemarche/siaes/migrations/0007_siaeoffer.py b/lemarche/siaes/migrations/0007_siaeoffer.py index 3f9e345d6..2c9e64039 100644 --- a/lemarche/siaes/migrations/0007_siaeoffer.py +++ b/lemarche/siaes/migrations/0007_siaeoffer.py @@ -1,12 +1,11 @@ # Generated by Django 3.2.7 on 2021-09-09 10:20 -from django.db import migrations, models import django.db.models.deletion import django.utils.timezone +from django.db import migrations, models class Migration(migrations.Migration): - dependencies = [ ("siaes", "0006_rename_siae_timestamps"), ] diff --git a/lemarche/siaes/migrations/0008_siaelabel.py b/lemarche/siaes/migrations/0008_siaelabel.py index 1bd0bc019..7c86f8e8d 100644 --- a/lemarche/siaes/migrations/0008_siaelabel.py +++ b/lemarche/siaes/migrations/0008_siaelabel.py @@ -1,12 +1,11 @@ # Generated by Django 3.2.7 on 2021-09-09 12:12 -from django.db import migrations, models import django.db.models.deletion import django.utils.timezone +from django.db import migrations, models class Migration(migrations.Migration): - dependencies = [ ("siaes", "0007_siaeoffer"), ] diff --git a/lemarche/siaes/migrations/0009_siaeclientreference.py b/lemarche/siaes/migrations/0009_siaeclientreference.py index d64c0c8cd..a9e5d73a9 100644 --- a/lemarche/siaes/migrations/0009_siaeclientreference.py +++ b/lemarche/siaes/migrations/0009_siaeclientreference.py @@ -1,12 +1,11 @@ # Generated by Django 3.2.7 on 2021-09-09 13:34 -from django.db import migrations, models import django.db.models.deletion import django.utils.timezone +from django.db import migrations, models class Migration(migrations.Migration): - dependencies = [ ("siaes", "0008_siaelabel"), ] diff --git a/lemarche/siaes/migrations/0010_siae_users.py b/lemarche/siaes/migrations/0010_siae_users.py index 678a2935e..ea7e68b76 100644 --- a/lemarche/siaes/migrations/0010_siae_users.py +++ b/lemarche/siaes/migrations/0010_siae_users.py @@ -5,7 +5,6 @@ class Migration(migrations.Migration): - dependencies = [ migrations.swappable_dependency(settings.AUTH_USER_MODEL), ("siaes", "0009_siaeclientreference"), diff --git a/lemarche/siaes/migrations/0011_auto_20210924_1528.py b/lemarche/siaes/migrations/0011_auto_20210924_1528.py index 6de0cf1d4..ce1e09bbd 100644 --- a/lemarche/siaes/migrations/0011_auto_20210924_1528.py +++ b/lemarche/siaes/migrations/0011_auto_20210924_1528.py @@ -5,7 +5,6 @@ class Migration(migrations.Migration): - dependencies = [ ("siaes", "0010_siae_users"), ] diff --git a/lemarche/siaes/migrations/0012_alter_siae_nature.py b/lemarche/siaes/migrations/0012_alter_siae_nature.py index 265bef010..fe89e0c97 100644 --- a/lemarche/siaes/migrations/0012_alter_siae_nature.py +++ b/lemarche/siaes/migrations/0012_alter_siae_nature.py @@ -4,7 +4,6 @@ class Migration(migrations.Migration): - dependencies = [ ("siaes", "0011_auto_20210924_1528"), ] diff --git a/lemarche/siaes/migrations/0013_siae_geo_range.py b/lemarche/siaes/migrations/0013_siae_geo_range.py index e0e1a9627..1dcbcdf9e 100644 --- a/lemarche/siaes/migrations/0013_siae_geo_range.py +++ b/lemarche/siaes/migrations/0013_siae_geo_range.py @@ -4,7 +4,6 @@ class Migration(migrations.Migration): - dependencies = [ ("siaes", "0012_alter_siae_nature"), ] diff --git a/lemarche/siaes/migrations/0014_update_siae_perimeter_choices.py b/lemarche/siaes/migrations/0014_update_siae_perimeter_choices.py index 62800f81d..783490f88 100644 --- a/lemarche/siaes/migrations/0014_update_siae_perimeter_choices.py +++ b/lemarche/siaes/migrations/0014_update_siae_perimeter_choices.py @@ -4,7 +4,6 @@ class Migration(migrations.Migration): - dependencies = [ ("siaes", "0013_siae_geo_range"), ] diff --git a/lemarche/siaes/migrations/0015_siae_replace_latlng_with_coords.py b/lemarche/siaes/migrations/0015_siae_replace_latlng_with_coords.py index e81f02288..6383e402f 100644 --- a/lemarche/siaes/migrations/0015_siae_replace_latlng_with_coords.py +++ b/lemarche/siaes/migrations/0015_siae_replace_latlng_with_coords.py @@ -5,7 +5,6 @@ class Migration(migrations.Migration): - dependencies = [ ("siaes", "0014_update_siae_perimeter_choices"), ] diff --git a/lemarche/siaes/migrations/0016_siae_contact_fields.py b/lemarche/siaes/migrations/0016_siae_contact_fields.py index 2820eb27e..c18220e3b 100644 --- a/lemarche/siaes/migrations/0016_siae_contact_fields.py +++ b/lemarche/siaes/migrations/0016_siae_contact_fields.py @@ -4,7 +4,6 @@ class Migration(migrations.Migration): - dependencies = [ ("siaes", "0015_siae_replace_latlng_with_coords"), ] diff --git a/lemarche/siaes/migrations/0017_siae_slug.py b/lemarche/siaes/migrations/0017_siae_slug.py index 1af0a61c8..08ced9188 100644 --- a/lemarche/siaes/migrations/0017_siae_slug.py +++ b/lemarche/siaes/migrations/0017_siae_slug.py @@ -20,7 +20,6 @@ def slugify_name(apps, schema_editor): class Migration(migrations.Migration): - dependencies = [ ("siaes", "0016_siae_contact_fields"), ] diff --git a/lemarche/siaes/migrations/0018_alter_siae_slug.py b/lemarche/siaes/migrations/0018_alter_siae_slug.py index 060bd51a1..3827e2462 100644 --- a/lemarche/siaes/migrations/0018_alter_siae_slug.py +++ b/lemarche/siaes/migrations/0018_alter_siae_slug.py @@ -4,7 +4,6 @@ class Migration(migrations.Migration): - dependencies = [ ("siaes", "0017_siae_slug"), ] diff --git a/lemarche/siaes/migrations/0019_auto_20211017_1955.py b/lemarche/siaes/migrations/0019_auto_20211017_1955.py index 720fcc5d1..fe8dfc8cf 100644 --- a/lemarche/siaes/migrations/0019_auto_20211017_1955.py +++ b/lemarche/siaes/migrations/0019_auto_20211017_1955.py @@ -4,7 +4,6 @@ class Migration(migrations.Migration): - dependencies = [ ("siaes", "0018_alter_siae_slug"), ] diff --git a/lemarche/siaes/migrations/0020_siae_siaeclientreference_logo_url.py b/lemarche/siaes/migrations/0020_siae_siaeclientreference_logo_url.py index 09da066dd..1abc91a4e 100644 --- a/lemarche/siaes/migrations/0020_siae_siaeclientreference_logo_url.py +++ b/lemarche/siaes/migrations/0020_siae_siaeclientreference_logo_url.py @@ -4,7 +4,6 @@ class Migration(migrations.Migration): - dependencies = [ ("siaes", "0019_auto_20211017_1955"), ] diff --git a/lemarche/siaes/migrations/0021_siae_image_name.py b/lemarche/siaes/migrations/0021_siae_image_name.py index 788055a8e..b03d7a6c2 100644 --- a/lemarche/siaes/migrations/0021_siae_image_name.py +++ b/lemarche/siaes/migrations/0021_siae_image_name.py @@ -4,7 +4,6 @@ class Migration(migrations.Migration): - dependencies = [ ("siaes", "0020_siae_siaeclientreference_logo_url"), ] diff --git a/lemarche/siaes/migrations/0022_siae_users_m2m_add_through.py b/lemarche/siaes/migrations/0022_siae_users_m2m_add_through.py index 2024888be..7b6c44d9d 100644 --- a/lemarche/siaes/migrations/0022_siae_users_m2m_add_through.py +++ b/lemarche/siaes/migrations/0022_siae_users_m2m_add_through.py @@ -7,7 +7,6 @@ class Migration(migrations.Migration): - dependencies = [ migrations.swappable_dependency(settings.AUTH_USER_MODEL), ("siaes", "0021_siae_image_name"), diff --git a/lemarche/siaes/migrations/0023_siae_users_through_add_timestamps.py b/lemarche/siaes/migrations/0023_siae_users_through_add_timestamps.py index 629440d9f..9d34bacc5 100644 --- a/lemarche/siaes/migrations/0023_siae_users_through_add_timestamps.py +++ b/lemarche/siaes/migrations/0023_siae_users_through_add_timestamps.py @@ -5,7 +5,6 @@ class Migration(migrations.Migration): - dependencies = [ ("siaes", "0022_siae_users_m2m_add_through"), ] diff --git a/lemarche/siaes/migrations/0024_auto_20211021_1110.py b/lemarche/siaes/migrations/0024_auto_20211021_1110.py index 1c77bdd65..f52683e8b 100644 --- a/lemarche/siaes/migrations/0024_auto_20211021_1110.py +++ b/lemarche/siaes/migrations/0024_auto_20211021_1110.py @@ -4,7 +4,6 @@ class Migration(migrations.Migration): - dependencies = [ ("siaes", "0023_siae_users_through_add_timestamps"), ] diff --git a/lemarche/siaes/migrations/0025_alter_siae_kind_with_extra.py b/lemarche/siaes/migrations/0025_alter_siae_kind_with_extra.py index 29d68534e..91c394f0f 100644 --- a/lemarche/siaes/migrations/0025_alter_siae_kind_with_extra.py +++ b/lemarche/siaes/migrations/0025_alter_siae_kind_with_extra.py @@ -4,7 +4,6 @@ class Migration(migrations.Migration): - dependencies = [ ("siaes", "0024_auto_20211021_1110"), ] diff --git a/lemarche/siaes/migrations/0026_rename_c1_source_siae_source.py b/lemarche/siaes/migrations/0026_rename_c1_source_siae_source.py index 94625ee4c..38de8fa36 100644 --- a/lemarche/siaes/migrations/0026_rename_c1_source_siae_source.py +++ b/lemarche/siaes/migrations/0026_rename_c1_source_siae_source.py @@ -4,7 +4,6 @@ class Migration(migrations.Migration): - dependencies = [ ("siaes", "0025_alter_siae_kind_with_extra"), ] diff --git a/lemarche/siaes/migrations/0027_alter_siae_kind_source_choices.py b/lemarche/siaes/migrations/0027_alter_siae_kind_source_choices.py index 18bf6d2b5..84eeff3d9 100644 --- a/lemarche/siaes/migrations/0027_alter_siae_kind_source_choices.py +++ b/lemarche/siaes/migrations/0027_alter_siae_kind_source_choices.py @@ -4,7 +4,6 @@ class Migration(migrations.Migration): - dependencies = [ ("siaes", "0026_rename_c1_source_siae_source"), ] diff --git a/lemarche/siaes/migrations/0028_siae_import_raw_object.py b/lemarche/siaes/migrations/0028_siae_import_raw_object.py index a2aaf65d8..cc0305057 100644 --- a/lemarche/siaes/migrations/0028_siae_import_raw_object.py +++ b/lemarche/siaes/migrations/0028_siae_import_raw_object.py @@ -4,7 +4,6 @@ class Migration(migrations.Migration): - dependencies = [ ("siaes", "0027_alter_siae_kind_source_choices"), ] diff --git a/lemarche/siaes/migrations/0029_siae_count_fields.py b/lemarche/siaes/migrations/0029_siae_count_fields.py index baf685393..c3d62d3d4 100644 --- a/lemarche/siaes/migrations/0029_siae_count_fields.py +++ b/lemarche/siaes/migrations/0029_siae_count_fields.py @@ -4,7 +4,6 @@ class Migration(migrations.Migration): - dependencies = [ ("siaes", "0028_siae_import_raw_object"), ] diff --git a/lemarche/siaes/migrations/0030_alter_siae_nature.py b/lemarche/siaes/migrations/0030_alter_siae_nature.py index 9bdbf7c62..5a45ed63a 100644 --- a/lemarche/siaes/migrations/0030_alter_siae_nature.py +++ b/lemarche/siaes/migrations/0030_alter_siae_nature.py @@ -4,7 +4,6 @@ class Migration(migrations.Migration): - dependencies = [ ("siaes", "0029_siae_count_fields"), ] diff --git a/lemarche/siaes/migrations/0031_siae_add_verbose_names.py b/lemarche/siaes/migrations/0031_siae_add_verbose_names.py index b62948737..2c8400413 100644 --- a/lemarche/siaes/migrations/0031_siae_add_verbose_names.py +++ b/lemarche/siaes/migrations/0031_siae_add_verbose_names.py @@ -4,7 +4,6 @@ class Migration(migrations.Migration): - dependencies = [ ("siaes", "0030_alter_siae_nature"), ] diff --git a/lemarche/siaes/migrations/0032_avoid_null_on_charfields.py b/lemarche/siaes/migrations/0032_avoid_null_on_charfields.py index a51ebde94..bfa831bf0 100644 --- a/lemarche/siaes/migrations/0032_avoid_null_on_charfields.py +++ b/lemarche/siaes/migrations/0032_avoid_null_on_charfields.py @@ -6,7 +6,6 @@ class Migration(migrations.Migration): - dependencies = [ ("siaes", "0031_siae_add_verbose_names"), ] diff --git a/lemarche/siaes/migrations/0033_alter_siae_contact_email.py b/lemarche/siaes/migrations/0033_alter_siae_contact_email.py index 8702a8082..cd0e85869 100644 --- a/lemarche/siaes/migrations/0033_alter_siae_contact_email.py +++ b/lemarche/siaes/migrations/0033_alter_siae_contact_email.py @@ -4,7 +4,6 @@ class Migration(migrations.Migration): - dependencies = [ ("siaes", "0032_avoid_null_on_charfields"), ] diff --git a/lemarche/siaes/migrations/0034_siae_c1_sync_rename_fields.py b/lemarche/siaes/migrations/0034_siae_c1_sync_rename_fields.py index 2fe627666..f18fc6e22 100644 --- a/lemarche/siaes/migrations/0034_siae_c1_sync_rename_fields.py +++ b/lemarche/siaes/migrations/0034_siae_c1_sync_rename_fields.py @@ -4,7 +4,6 @@ class Migration(migrations.Migration): - dependencies = [ ("siaes", "0033_alter_siae_contact_email"), ] diff --git a/lemarche/siaes/migrations/0035_siae_update_api_entreprise_fields.py b/lemarche/siaes/migrations/0035_siae_update_api_entreprise_fields.py index 5e01c96fc..4565a6167 100644 --- a/lemarche/siaes/migrations/0035_siae_update_api_entreprise_fields.py +++ b/lemarche/siaes/migrations/0035_siae_update_api_entreprise_fields.py @@ -4,7 +4,6 @@ class Migration(migrations.Migration): - dependencies = [ ("siaes", "0034_siae_c1_sync_rename_fields"), ] diff --git a/lemarche/siaes/migrations/0036_alter_siae_api_entreprise_date_constitution.py b/lemarche/siaes/migrations/0036_alter_siae_api_entreprise_date_constitution.py index 257c92929..ed67ce0f2 100644 --- a/lemarche/siaes/migrations/0036_alter_siae_api_entreprise_date_constitution.py +++ b/lemarche/siaes/migrations/0036_alter_siae_api_entreprise_date_constitution.py @@ -4,7 +4,6 @@ class Migration(migrations.Migration): - dependencies = [ ("siaes", "0035_siae_update_api_entreprise_fields"), ] diff --git a/lemarche/siaes/migrations/0037_siaeimage.py b/lemarche/siaes/migrations/0037_siaeimage.py index 2537c9575..9321b5ecb 100644 --- a/lemarche/siaes/migrations/0037_siaeimage.py +++ b/lemarche/siaes/migrations/0037_siaeimage.py @@ -6,7 +6,6 @@ class Migration(migrations.Migration): - dependencies = [ ("siaes", "0036_alter_siae_api_entreprise_date_constitution"), ] diff --git a/lemarche/siaes/migrations/0038_siae_image_count.py b/lemarche/siaes/migrations/0038_siae_image_count.py index 81c30e341..0424852b0 100644 --- a/lemarche/siaes/migrations/0038_siae_image_count.py +++ b/lemarche/siaes/migrations/0038_siae_image_count.py @@ -4,7 +4,6 @@ class Migration(migrations.Migration): - dependencies = [ ("siaes", "0037_siaeimage"), ] diff --git a/lemarche/siaes/migrations/0039_siae_api_qpv_last_sync_date_alter_siae_is_qpv_and_more.py b/lemarche/siaes/migrations/0039_siae_api_qpv_last_sync_date_alter_siae_is_qpv_and_more.py index 627395a78..c13eca410 100644 --- a/lemarche/siaes/migrations/0039_siae_api_qpv_last_sync_date_alter_siae_is_qpv_and_more.py +++ b/lemarche/siaes/migrations/0039_siae_api_qpv_last_sync_date_alter_siae_is_qpv_and_more.py @@ -4,7 +4,6 @@ class Migration(migrations.Migration): - dependencies = [ ("siaes", "0038_siae_image_count"), ] diff --git a/lemarche/siaes/migrations/0040_siae_api_zrr_last_sync_date_siae_is_zrr_and_more.py b/lemarche/siaes/migrations/0040_siae_api_zrr_last_sync_date_siae_is_zrr_and_more.py index 03bca49b5..e3ca43d8c 100644 --- a/lemarche/siaes/migrations/0040_siae_api_zrr_last_sync_date_siae_is_zrr_and_more.py +++ b/lemarche/siaes/migrations/0040_siae_api_zrr_last_sync_date_siae_is_zrr_and_more.py @@ -4,7 +4,6 @@ class Migration(migrations.Migration): - dependencies = [ ("siaes", "0039_siae_api_qpv_last_sync_date_alter_siae_is_qpv_and_more"), ] diff --git a/lemarche/siaes/migrations/0041_alter_siae_kind_alter_siae_source.py b/lemarche/siaes/migrations/0041_alter_siae_kind_alter_siae_source.py index 273caede2..bb1c949be 100644 --- a/lemarche/siaes/migrations/0041_alter_siae_kind_alter_siae_source.py +++ b/lemarche/siaes/migrations/0041_alter_siae_kind_alter_siae_source.py @@ -4,7 +4,6 @@ class Migration(migrations.Migration): - dependencies = [ ("siaes", "0040_siae_api_zrr_last_sync_date_siae_is_zrr_and_more"), ] diff --git a/lemarche/siaes/migrations/0042_siae_asp_id.py b/lemarche/siaes/migrations/0042_siae_asp_id.py index 235a28afa..e475954fd 100644 --- a/lemarche/siaes/migrations/0042_siae_asp_id.py +++ b/lemarche/siaes/migrations/0042_siae_asp_id.py @@ -4,7 +4,6 @@ class Migration(migrations.Migration): - dependencies = [ ("siaes", "0041_alter_siae_kind_alter_siae_source"), ] diff --git a/lemarche/siaes/migrations/0043_siae_c2_etp_count_siae_c2_etp_count_date_saisie_and_more.py b/lemarche/siaes/migrations/0043_siae_c2_etp_count_siae_c2_etp_count_date_saisie_and_more.py index 948277276..81ced1da3 100644 --- a/lemarche/siaes/migrations/0043_siae_c2_etp_count_siae_c2_etp_count_date_saisie_and_more.py +++ b/lemarche/siaes/migrations/0043_siae_c2_etp_count_siae_c2_etp_count_date_saisie_and_more.py @@ -4,7 +4,6 @@ class Migration(migrations.Migration): - dependencies = [ ("siaes", "0042_siae_asp_id"), ] diff --git a/lemarche/siaes/migrations/0044_siae_content_filled_basic_date.py b/lemarche/siaes/migrations/0044_siae_content_filled_basic_date.py index a579c0550..4c7ed7ebe 100644 --- a/lemarche/siaes/migrations/0044_siae_content_filled_basic_date.py +++ b/lemarche/siaes/migrations/0044_siae_content_filled_basic_date.py @@ -4,7 +4,6 @@ class Migration(migrations.Migration): - dependencies = [ ("siaes", "0043_siae_c2_etp_count_siae_c2_etp_count_date_saisie_and_more"), ] diff --git a/lemarche/siaes/migrations/0045_siae_signup_date.py b/lemarche/siaes/migrations/0045_siae_signup_date.py index f8d1b8cf9..410b9272d 100644 --- a/lemarche/siaes/migrations/0045_siae_signup_date.py +++ b/lemarche/siaes/migrations/0045_siae_signup_date.py @@ -4,7 +4,6 @@ class Migration(migrations.Migration): - dependencies = [ ("siaes", "0044_siae_content_filled_basic_date"), ] diff --git a/lemarche/siaes/migrations/0046_siaeuserrequest.py b/lemarche/siaes/migrations/0046_siaeuserrequest.py index 57081cefc..ba9c293ac 100644 --- a/lemarche/siaes/migrations/0046_siaeuserrequest.py +++ b/lemarche/siaes/migrations/0046_siaeuserrequest.py @@ -7,7 +7,6 @@ class Migration(migrations.Migration): - dependencies = [ migrations.swappable_dependency(settings.AUTH_USER_MODEL), ("siaes", "0045_siae_signup_date"), diff --git a/lemarche/siaes/migrations/0047_alter_siae_source.py b/lemarche/siaes/migrations/0047_alter_siae_source.py index 601614a58..6881500a3 100644 --- a/lemarche/siaes/migrations/0047_alter_siae_source.py +++ b/lemarche/siaes/migrations/0047_alter_siae_source.py @@ -4,7 +4,6 @@ class Migration(migrations.Migration): - dependencies = [ ("siaes", "0046_siaeuserrequest"), ] diff --git a/lemarche/siaes/migrations/0048_siae_ca_siae_ca_last_updated_and_more.py b/lemarche/siaes/migrations/0048_siae_ca_siae_ca_last_updated_and_more.py index d74000562..865c48a45 100644 --- a/lemarche/siaes/migrations/0048_siae_ca_siae_ca_last_updated_and_more.py +++ b/lemarche/siaes/migrations/0048_siae_ca_siae_ca_last_updated_and_more.py @@ -4,7 +4,6 @@ class Migration(migrations.Migration): - dependencies = [ ("siaes", "0047_alter_siae_source"), ] diff --git a/lemarche/siaes/migrations/0049_siaegroup.py b/lemarche/siaes/migrations/0049_siaegroup.py index 51b2d873a..08fa670cc 100644 --- a/lemarche/siaes/migrations/0049_siaegroup.py +++ b/lemarche/siaes/migrations/0049_siaegroup.py @@ -5,7 +5,6 @@ class Migration(migrations.Migration): - dependencies = [ ("siaes", "0048_siae_ca_siae_ca_last_updated_and_more"), ] diff --git a/lemarche/siaes/migrations/0050_siae_groups.py b/lemarche/siaes/migrations/0050_siae_groups.py index 9604b4953..8ed4fbd40 100644 --- a/lemarche/siaes/migrations/0050_siae_groups.py +++ b/lemarche/siaes/migrations/0050_siae_groups.py @@ -4,7 +4,6 @@ class Migration(migrations.Migration): - dependencies = [ ("siaes", "0049_siaegroup"), ] diff --git a/lemarche/siaes/migrations/0051_siaegroup_sectors.py b/lemarche/siaes/migrations/0051_siaegroup_sectors.py index 442bd69ae..6d0e7a048 100644 --- a/lemarche/siaes/migrations/0051_siaegroup_sectors.py +++ b/lemarche/siaes/migrations/0051_siaegroup_sectors.py @@ -4,7 +4,6 @@ class Migration(migrations.Migration): - dependencies = [ ("sectors", "0003_sector_sectorgroup_ordering"), ("siaes", "0050_siae_groups"), diff --git a/lemarche/siaes/migrations/0052_alter_siae_options.py b/lemarche/siaes/migrations/0052_alter_siae_options.py index d9f51e7de..669deed90 100644 --- a/lemarche/siaes/migrations/0052_alter_siae_options.py +++ b/lemarche/siaes/migrations/0052_alter_siae_options.py @@ -4,7 +4,6 @@ class Migration(migrations.Migration): - dependencies = [ ("siaes", "0051_siaegroup_sectors"), ] diff --git a/lemarche/siaes/migrations/0053_siae_contact_social_website_and_more.py b/lemarche/siaes/migrations/0053_siae_contact_social_website_and_more.py index a4be26c62..f53b05dec 100644 --- a/lemarche/siaes/migrations/0053_siae_contact_social_website_and_more.py +++ b/lemarche/siaes/migrations/0053_siae_contact_social_website_and_more.py @@ -4,7 +4,6 @@ class Migration(migrations.Migration): - dependencies = [ ("siaes", "0052_alter_siae_options"), ] diff --git a/lemarche/siaes/migrations/0054_alter_siae_presta_type.py b/lemarche/siaes/migrations/0054_alter_siae_presta_type.py index b5c35020c..63dc5da60 100644 --- a/lemarche/siaes/migrations/0054_alter_siae_presta_type.py +++ b/lemarche/siaes/migrations/0054_alter_siae_presta_type.py @@ -6,7 +6,6 @@ class Migration(migrations.Migration): - dependencies = [ ("siaes", "0053_siae_contact_social_website_and_more"), ] diff --git a/lemarche/siaes/migrations/0055_alter_siae_is_active_alter_siae_is_delisted_and_more.py b/lemarche/siaes/migrations/0055_alter_siae_is_active_alter_siae_is_delisted_and_more.py index abff8f569..5bfde9ce6 100644 --- a/lemarche/siaes/migrations/0055_alter_siae_is_active_alter_siae_is_delisted_and_more.py +++ b/lemarche/siaes/migrations/0055_alter_siae_is_active_alter_siae_is_delisted_and_more.py @@ -4,7 +4,6 @@ class Migration(migrations.Migration): - dependencies = [ ("siaes", "0054_alter_siae_presta_type"), ] diff --git a/lemarche/siaes/migrations/0056_alter_siae_contact_email.py b/lemarche/siaes/migrations/0056_alter_siae_contact_email.py index 0f1265efd..9f42f944a 100644 --- a/lemarche/siaes/migrations/0056_alter_siae_contact_email.py +++ b/lemarche/siaes/migrations/0056_alter_siae_contact_email.py @@ -4,7 +4,6 @@ class Migration(migrations.Migration): - dependencies = [ ("siaes", "0055_alter_siae_is_active_alter_siae_is_delisted_and_more"), ] diff --git a/lemarche/siaes/migrations/0057_siae_logs.py b/lemarche/siaes/migrations/0057_siae_logs.py index aaea44196..e3fbd579f 100644 --- a/lemarche/siaes/migrations/0057_siae_logs.py +++ b/lemarche/siaes/migrations/0057_siae_logs.py @@ -4,7 +4,6 @@ class Migration(migrations.Migration): - dependencies = [ ("siaes", "0056_alter_siae_contact_email"), ] diff --git a/lemarche/siaes/migrations/0058_siaelabel_old.py b/lemarche/siaes/migrations/0058_siaelabel_old.py index fd7c9dad8..72cd38dab 100644 --- a/lemarche/siaes/migrations/0058_siaelabel_old.py +++ b/lemarche/siaes/migrations/0058_siaelabel_old.py @@ -6,7 +6,6 @@ class Migration(migrations.Migration): - dependencies = [ ("siaes", "0057_siae_logs"), ] diff --git a/lemarche/siaes/migrations/0059_siae_label_through_model.py b/lemarche/siaes/migrations/0059_siae_label_through_model.py index dc0eb006a..ba2a1fda3 100644 --- a/lemarche/siaes/migrations/0059_siae_label_through_model.py +++ b/lemarche/siaes/migrations/0059_siae_label_through_model.py @@ -6,7 +6,6 @@ class Migration(migrations.Migration): - dependencies = [ ("labels", "0001_initial"), ("siaes", "0058_siaelabel_old"), diff --git a/lemarche/siaes/migrations/0060_siae_labels_m2m.py b/lemarche/siaes/migrations/0060_siae_labels_m2m.py index 92e2e39e9..5a65071b1 100644 --- a/lemarche/siaes/migrations/0060_siae_labels_m2m.py +++ b/lemarche/siaes/migrations/0060_siae_labels_m2m.py @@ -4,7 +4,6 @@ class Migration(migrations.Migration): - dependencies = [ ("labels", "0001_initial"), ("siaes", "0059_siae_label_through_model"), diff --git a/lemarche/siaes/migrations/0061_alter_siae_geo_range_alter_siae_is_active_and_more.py b/lemarche/siaes/migrations/0061_alter_siae_geo_range_alter_siae_is_active_and_more.py index 45ca16e23..4112b7b90 100644 --- a/lemarche/siaes/migrations/0061_alter_siae_geo_range_alter_siae_is_active_and_more.py +++ b/lemarche/siaes/migrations/0061_alter_siae_geo_range_alter_siae_is_active_and_more.py @@ -6,7 +6,6 @@ class Migration(migrations.Migration): - dependencies = [ ("siaes", "0060_siae_labels_m2m"), ] diff --git a/lemarche/siaes/migrations/0062_siae_group_count.py b/lemarche/siaes/migrations/0062_siae_group_count.py index eec253122..a74ca12a1 100644 --- a/lemarche/siaes/migrations/0062_siae_group_count.py +++ b/lemarche/siaes/migrations/0062_siae_group_count.py @@ -4,7 +4,6 @@ class Migration(migrations.Migration): - dependencies = [ ("siaes", "0061_alter_siae_geo_range_alter_siae_is_active_and_more"), ] diff --git a/lemarche/siaes/migrations/0063_siae_api_entreprise_forme_juridique.py b/lemarche/siaes/migrations/0063_siae_api_entreprise_forme_juridique.py index fcbf39117..f844937bf 100644 --- a/lemarche/siaes/migrations/0063_siae_api_entreprise_forme_juridique.py +++ b/lemarche/siaes/migrations/0063_siae_api_entreprise_forme_juridique.py @@ -4,7 +4,6 @@ class Migration(migrations.Migration): - dependencies = [ ("siaes", "0062_siae_group_count"), ] diff --git a/lemarche/siaes/migrations/0064_alter_siae_api_entreprise_ca_alter_siae_ca_and_more.py b/lemarche/siaes/migrations/0064_alter_siae_api_entreprise_ca_alter_siae_ca_and_more.py index 4b669c91f..b690f109c 100644 --- a/lemarche/siaes/migrations/0064_alter_siae_api_entreprise_ca_alter_siae_ca_and_more.py +++ b/lemarche/siaes/migrations/0064_alter_siae_api_entreprise_ca_alter_siae_ca_and_more.py @@ -4,7 +4,6 @@ class Migration(migrations.Migration): - dependencies = [ ("siaes", "0063_siae_api_entreprise_forme_juridique"), ] diff --git a/lemarche/siaes/migrations/0065_siae_legal_form.py b/lemarche/siaes/migrations/0065_siae_legal_form.py index e3c7c7ad9..909f157c5 100644 --- a/lemarche/siaes/migrations/0065_siae_legal_form.py +++ b/lemarche/siaes/migrations/0065_siae_legal_form.py @@ -4,7 +4,6 @@ class Migration(migrations.Migration): - dependencies = [ ("siaes", "0064_alter_siae_api_entreprise_ca_alter_siae_ca_and_more"), ] diff --git a/lemarche/stats/migrations/0001_initial.py b/lemarche/stats/migrations/0001_initial.py index c9bdbc76a..8f8f6d680 100644 --- a/lemarche/stats/migrations/0001_initial.py +++ b/lemarche/stats/migrations/0001_initial.py @@ -4,7 +4,6 @@ class Migration(migrations.Migration): - initial = True dependencies = [] diff --git a/lemarche/stats/migrations/0002_statsuser.py b/lemarche/stats/migrations/0002_statsuser.py index d6989dacd..cb42b81d2 100644 --- a/lemarche/stats/migrations/0002_statsuser.py +++ b/lemarche/stats/migrations/0002_statsuser.py @@ -4,7 +4,6 @@ class Migration(migrations.Migration): - dependencies = [ ("stats", "0001_initial"), ] diff --git a/lemarche/stats/migrations/0003_remove_tracker_session_id.py b/lemarche/stats/migrations/0003_remove_tracker_session_id.py index 59761173a..c1538f0a6 100644 --- a/lemarche/stats/migrations/0003_remove_tracker_session_id.py +++ b/lemarche/stats/migrations/0003_remove_tracker_session_id.py @@ -4,7 +4,6 @@ class Migration(migrations.Migration): - dependencies = [ ("stats", "0002_statsuser"), ] diff --git a/lemarche/stats/migrations/0004_remove_tracker_send_order.py b/lemarche/stats/migrations/0004_remove_tracker_send_order.py index 9d791fb58..130fac48e 100644 --- a/lemarche/stats/migrations/0004_remove_tracker_send_order.py +++ b/lemarche/stats/migrations/0004_remove_tracker_send_order.py @@ -4,7 +4,6 @@ class Migration(migrations.Migration): - dependencies = [ ("stats", "0003_remove_tracker_session_id"), ] diff --git a/lemarche/stats/migrations/0005_tracker_user_id_tracker_user_kind.py b/lemarche/stats/migrations/0005_tracker_user_id_tracker_user_kind.py index 0227fcdae..2ed14f5b3 100644 --- a/lemarche/stats/migrations/0005_tracker_user_id_tracker_user_kind.py +++ b/lemarche/stats/migrations/0005_tracker_user_id_tracker_user_kind.py @@ -4,7 +4,6 @@ class Migration(migrations.Migration): - dependencies = [ ("stats", "0004_remove_tracker_send_order"), ] diff --git a/lemarche/stats/migrations/0006_tracker_siae_id.py b/lemarche/stats/migrations/0006_tracker_siae_id.py index 96c941102..f5cba1149 100644 --- a/lemarche/stats/migrations/0006_tracker_siae_id.py +++ b/lemarche/stats/migrations/0006_tracker_siae_id.py @@ -4,7 +4,6 @@ class Migration(migrations.Migration): - dependencies = [ ("stats", "0005_tracker_user_id_tracker_user_kind"), ] diff --git a/lemarche/stats/migrations/0007_tracker_siae_kind_and_contact_email.py b/lemarche/stats/migrations/0007_tracker_siae_kind_and_contact_email.py index a076fddb4..6fdb046b0 100644 --- a/lemarche/stats/migrations/0007_tracker_siae_kind_and_contact_email.py +++ b/lemarche/stats/migrations/0007_tracker_siae_kind_and_contact_email.py @@ -4,7 +4,6 @@ class Migration(migrations.Migration): - dependencies = [ ("stats", "0006_tracker_siae_id"), ] diff --git a/lemarche/tenders/migrations/0001_initial.py b/lemarche/tenders/migrations/0001_initial.py index e367e577b..c1e82e8af 100644 --- a/lemarche/tenders/migrations/0001_initial.py +++ b/lemarche/tenders/migrations/0001_initial.py @@ -8,7 +8,6 @@ class Migration(migrations.Migration): - initial = True dependencies = [ diff --git a/lemarche/tenders/migrations/0002_tender_nb_siaes_found_alter_tender_kind.py b/lemarche/tenders/migrations/0002_tender_nb_siaes_found_alter_tender_kind.py index cd7df7350..29d706b83 100644 --- a/lemarche/tenders/migrations/0002_tender_nb_siaes_found_alter_tender_kind.py +++ b/lemarche/tenders/migrations/0002_tender_nb_siaes_found_alter_tender_kind.py @@ -4,7 +4,6 @@ class Migration(migrations.Migration): - dependencies = [ ("tenders", "0001_initial"), ] diff --git a/lemarche/tenders/migrations/0003_rename_nb_siaes_found_tender_siae_found_count_and_more.py b/lemarche/tenders/migrations/0003_rename_nb_siaes_found_tender_siae_found_count_and_more.py index 386eef086..9acec578a 100644 --- a/lemarche/tenders/migrations/0003_rename_nb_siaes_found_tender_siae_found_count_and_more.py +++ b/lemarche/tenders/migrations/0003_rename_nb_siaes_found_tender_siae_found_count_and_more.py @@ -5,7 +5,6 @@ class Migration(migrations.Migration): - dependencies = [ ("sectors", "0003_sector_sectorgroup_ordering"), ("perimeters", "0004_alter_perimeter_post_codes"), diff --git a/lemarche/tenders/migrations/0004_tendersiae_tender_siaes_and_more.py b/lemarche/tenders/migrations/0004_tendersiae_tender_siaes_and_more.py index 9c0cbb1f5..b55bfde46 100644 --- a/lemarche/tenders/migrations/0004_tendersiae_tender_siaes_and_more.py +++ b/lemarche/tenders/migrations/0004_tendersiae_tender_siaes_and_more.py @@ -6,7 +6,6 @@ class Migration(migrations.Migration): - dependencies = [ ("siaes", "0053_siae_contact_social_website_and_more"), ("tenders", "0003_rename_nb_siaes_found_tender_siae_found_count_and_more"), diff --git a/lemarche/tenders/migrations/0005_remove_tender_siae_found_count.py b/lemarche/tenders/migrations/0005_remove_tender_siae_found_count.py index 12137181c..eda97d4de 100644 --- a/lemarche/tenders/migrations/0005_remove_tender_siae_found_count.py +++ b/lemarche/tenders/migrations/0005_remove_tender_siae_found_count.py @@ -4,7 +4,6 @@ class Migration(migrations.Migration): - dependencies = [ ("siaes", "0053_siae_contact_social_website_and_more"), ("tenders", "0004_tendersiae_tender_siaes_and_more"), diff --git a/lemarche/tenders/migrations/0007_alter_tender_kind.py b/lemarche/tenders/migrations/0007_alter_tender_kind.py index 2e4887f37..7215a2f4a 100644 --- a/lemarche/tenders/migrations/0007_alter_tender_kind.py +++ b/lemarche/tenders/migrations/0007_alter_tender_kind.py @@ -4,7 +4,6 @@ class Migration(migrations.Migration): - dependencies = [ ("tenders", "0006_alter_tender_amount"), ] diff --git a/lemarche/tenders/migrations/0008_alter_tender_author_alter_tender_response_kind.py b/lemarche/tenders/migrations/0008_alter_tender_author_alter_tender_response_kind.py index 43d48390b..4da5a286c 100644 --- a/lemarche/tenders/migrations/0008_alter_tender_author_alter_tender_response_kind.py +++ b/lemarche/tenders/migrations/0008_alter_tender_author_alter_tender_response_kind.py @@ -8,7 +8,6 @@ class Migration(migrations.Migration): - dependencies = [ migrations.swappable_dependency(settings.AUTH_USER_MODEL), ("tenders", "0007_alter_tender_kind"), diff --git a/lemarche/tenders/migrations/0009_tender_validated_at.py b/lemarche/tenders/migrations/0009_tender_validated_at.py index 1c92fc624..2de200c0a 100644 --- a/lemarche/tenders/migrations/0009_tender_validated_at.py +++ b/lemarche/tenders/migrations/0009_tender_validated_at.py @@ -4,7 +4,6 @@ class Migration(migrations.Migration): - dependencies = [ ("tenders", "0008_alter_tender_author_alter_tender_response_kind"), ] diff --git a/lemarche/tenders/migrations/0010_alter_tender_choice_plural_fix.py b/lemarche/tenders/migrations/0010_alter_tender_choice_plural_fix.py index 87a728710..6ac92ec84 100644 --- a/lemarche/tenders/migrations/0010_alter_tender_choice_plural_fix.py +++ b/lemarche/tenders/migrations/0010_alter_tender_choice_plural_fix.py @@ -4,7 +4,6 @@ class Migration(migrations.Migration): - dependencies = [ ("tenders", "0009_tender_validated_at"), ] diff --git a/lemarche/tenders/migrations/0010_tender_is_country_area_alter_tender_perimeters.py b/lemarche/tenders/migrations/0010_tender_is_country_area_alter_tender_perimeters.py index 19ca071b6..32f667f2a 100644 --- a/lemarche/tenders/migrations/0010_tender_is_country_area_alter_tender_perimeters.py +++ b/lemarche/tenders/migrations/0010_tender_is_country_area_alter_tender_perimeters.py @@ -4,7 +4,6 @@ class Migration(migrations.Migration): - dependencies = [ ("perimeters", "0005_alter_perimeter_post_codes"), ("tenders", "0009_tender_validated_at"), diff --git a/lemarche/tenders/migrations/0011_merge_20220512_1802.py b/lemarche/tenders/migrations/0011_merge_20220512_1802.py index 9b3714b71..787d9435a 100644 --- a/lemarche/tenders/migrations/0011_merge_20220512_1802.py +++ b/lemarche/tenders/migrations/0011_merge_20220512_1802.py @@ -4,7 +4,6 @@ class Migration(migrations.Migration): - dependencies = [ ("tenders", "0010_alter_tender_choice_plural_fix"), ("tenders", "0010_tender_is_country_area_alter_tender_perimeters"), diff --git a/lemarche/tenders/migrations/0012_tender_siae_interested_list_last_seen_date.py b/lemarche/tenders/migrations/0012_tender_siae_interested_list_last_seen_date.py index fae8ee0d2..74ccbca18 100644 --- a/lemarche/tenders/migrations/0012_tender_siae_interested_list_last_seen_date.py +++ b/lemarche/tenders/migrations/0012_tender_siae_interested_list_last_seen_date.py @@ -4,7 +4,6 @@ class Migration(migrations.Migration): - dependencies = [ ("tenders", "0011_merge_20220512_1802"), ] diff --git a/lemarche/tenders/migrations/0013_partnersharetender.py b/lemarche/tenders/migrations/0013_partnersharetender.py index c8a994933..422cf0e2b 100644 --- a/lemarche/tenders/migrations/0013_partnersharetender.py +++ b/lemarche/tenders/migrations/0013_partnersharetender.py @@ -5,7 +5,6 @@ class Migration(migrations.Migration): - dependencies = [ ("perimeters", "0005_alter_perimeter_post_codes"), ("tenders", "0012_tender_siae_interested_list_last_seen_date"), diff --git a/lemarche/tenders/migrations/0014_partnersharetender_timestamps.py b/lemarche/tenders/migrations/0014_partnersharetender_timestamps.py index 532f57b7e..552502af0 100644 --- a/lemarche/tenders/migrations/0014_partnersharetender_timestamps.py +++ b/lemarche/tenders/migrations/0014_partnersharetender_timestamps.py @@ -5,7 +5,6 @@ class Migration(migrations.Migration): - dependencies = [ ("tenders", "0013_partnersharetender"), ] diff --git a/lemarche/tenders/migrations/0015_alter_partnersharetender_arrayfield.py b/lemarche/tenders/migrations/0015_alter_partnersharetender_arrayfield.py index 25ba2198b..9295a4934 100644 --- a/lemarche/tenders/migrations/0015_alter_partnersharetender_arrayfield.py +++ b/lemarche/tenders/migrations/0015_alter_partnersharetender_arrayfield.py @@ -5,7 +5,6 @@ class Migration(migrations.Migration): - dependencies = [ ("tenders", "0014_partnersharetender_timestamps"), ] diff --git a/lemarche/tenders/migrations/0016_tender_presta_type.py b/lemarche/tenders/migrations/0016_tender_presta_type.py index d704e4236..0318fa4d6 100644 --- a/lemarche/tenders/migrations/0016_tender_presta_type.py +++ b/lemarche/tenders/migrations/0016_tender_presta_type.py @@ -6,7 +6,6 @@ class Migration(migrations.Migration): - dependencies = [ ("tenders", "0015_alter_partnersharetender_arrayfield"), ] diff --git a/lemarche/tenders/migrations/0017_tender_logs.py b/lemarche/tenders/migrations/0017_tender_logs.py index 4f905d89d..4d02b86cc 100644 --- a/lemarche/tenders/migrations/0017_tender_logs.py +++ b/lemarche/tenders/migrations/0017_tender_logs.py @@ -4,7 +4,6 @@ class Migration(migrations.Migration): - dependencies = [ ("tenders", "0016_tender_presta_type"), ] diff --git a/lemarche/tenders/migrations/0018_partnersharetender_logs.py b/lemarche/tenders/migrations/0018_partnersharetender_logs.py index 10c57c7bc..ae5959666 100644 --- a/lemarche/tenders/migrations/0018_partnersharetender_logs.py +++ b/lemarche/tenders/migrations/0018_partnersharetender_logs.py @@ -4,7 +4,6 @@ class Migration(migrations.Migration): - dependencies = [ ("tenders", "0017_tender_logs"), ] diff --git a/lemarche/tenders/migrations/0019_tender_source.py b/lemarche/tenders/migrations/0019_tender_source.py index 1da2434c6..59a6579f9 100644 --- a/lemarche/tenders/migrations/0019_tender_source.py +++ b/lemarche/tenders/migrations/0019_tender_source.py @@ -4,7 +4,6 @@ class Migration(migrations.Migration): - dependencies = [ ("tenders", "0018_partnersharetender_logs"), ] diff --git a/lemarche/tenders/migrations/0020_add_help_text.py b/lemarche/tenders/migrations/0020_add_help_text.py index bbf08fe05..6782240d1 100644 --- a/lemarche/tenders/migrations/0020_add_help_text.py +++ b/lemarche/tenders/migrations/0020_add_help_text.py @@ -4,7 +4,6 @@ class Migration(migrations.Migration): - dependencies = [ ("sectors", "0003_sector_sectorgroup_ordering"), ("perimeters", "0005_alter_perimeter_post_codes"), diff --git a/lemarche/tenders/migrations/0021_tender_amount_choices_v2.py b/lemarche/tenders/migrations/0021_tender_amount_choices_v2.py index b67b86348..1a43ead51 100644 --- a/lemarche/tenders/migrations/0021_tender_amount_choices_v2.py +++ b/lemarche/tenders/migrations/0021_tender_amount_choices_v2.py @@ -61,7 +61,6 @@ def update_amount(apps, schema_editor): class Migration(migrations.Migration): - dependencies = [ ("tenders", "0020_add_help_text"), ] diff --git a/lemarche/tenders/migrations/0022_tender_accept_share_amount.py b/lemarche/tenders/migrations/0022_tender_accept_share_amount.py index de2257579..88c3d00b3 100644 --- a/lemarche/tenders/migrations/0022_tender_accept_share_amount.py +++ b/lemarche/tenders/migrations/0022_tender_accept_share_amount.py @@ -4,7 +4,6 @@ class Migration(migrations.Migration): - dependencies = [ ("tenders", "0021_tender_amount_choices_v2"), ] diff --git a/lemarche/tenders/migrations/0023_alter_partnersharetender_amount_in_and_more.py b/lemarche/tenders/migrations/0023_alter_partnersharetender_amount_in_and_more.py index 93ed8d3e6..478266747 100644 --- a/lemarche/tenders/migrations/0023_alter_partnersharetender_amount_in_and_more.py +++ b/lemarche/tenders/migrations/0023_alter_partnersharetender_amount_in_and_more.py @@ -4,7 +4,6 @@ class Migration(migrations.Migration): - dependencies = [ ("tenders", "0022_tender_accept_share_amount"), ] diff --git a/lemarche/tenders/migrations/0024_tender_accept_cocontracting.py b/lemarche/tenders/migrations/0024_tender_accept_cocontracting.py index e4c54067d..e71d2ec7d 100644 --- a/lemarche/tenders/migrations/0024_tender_accept_cocontracting.py +++ b/lemarche/tenders/migrations/0024_tender_accept_cocontracting.py @@ -4,7 +4,6 @@ class Migration(migrations.Migration): - dependencies = [ ("tenders", "0023_alter_partnersharetender_amount_in_and_more"), ] diff --git a/lemarche/tenders/migrations/0025_alter_tender_source.py b/lemarche/tenders/migrations/0025_alter_tender_source.py index c9a8e0cae..2652e2d68 100644 --- a/lemarche/tenders/migrations/0025_alter_tender_source.py +++ b/lemarche/tenders/migrations/0025_alter_tender_source.py @@ -4,7 +4,6 @@ class Migration(migrations.Migration): - dependencies = [ ("tenders", "0024_tender_accept_cocontracting"), ] diff --git a/lemarche/tenders/migrations/0026_tender_is_marche_useful_tender_marche_benefits.py b/lemarche/tenders/migrations/0026_tender_is_marche_useful_tender_marche_benefits.py index 102c782e4..55bc6d77f 100644 --- a/lemarche/tenders/migrations/0026_tender_is_marche_useful_tender_marche_benefits.py +++ b/lemarche/tenders/migrations/0026_tender_is_marche_useful_tender_marche_benefits.py @@ -6,7 +6,6 @@ class Migration(migrations.Migration): - dependencies = [ ("tenders", "0025_alter_tender_source"), ] diff --git a/lemarche/tenders/migrations/0027_alter_tender_marche_benefits.py b/lemarche/tenders/migrations/0027_alter_tender_marche_benefits.py index 98b19fd39..a43c6ace7 100644 --- a/lemarche/tenders/migrations/0027_alter_tender_marche_benefits.py +++ b/lemarche/tenders/migrations/0027_alter_tender_marche_benefits.py @@ -6,7 +6,6 @@ class Migration(migrations.Migration): - dependencies = [ ("tenders", "0026_tender_is_marche_useful_tender_marche_benefits"), ] diff --git a/lemarche/tenders/migrations/0028_alter_tender_options_ordering.py b/lemarche/tenders/migrations/0028_alter_tender_options_ordering.py index d625ec141..41d7a060f 100644 --- a/lemarche/tenders/migrations/0028_alter_tender_options_ordering.py +++ b/lemarche/tenders/migrations/0028_alter_tender_options_ordering.py @@ -4,7 +4,6 @@ class Migration(migrations.Migration): - dependencies = [ ("tenders", "0027_alter_tender_marche_benefits"), ] diff --git a/lemarche/tenders/migrations/0029_alter_tendersiae_source.py b/lemarche/tenders/migrations/0029_alter_tendersiae_source.py index 3e7ddbcd4..16d2dad50 100644 --- a/lemarche/tenders/migrations/0029_alter_tendersiae_source.py +++ b/lemarche/tenders/migrations/0029_alter_tendersiae_source.py @@ -4,7 +4,6 @@ class Migration(migrations.Migration): - dependencies = [ ("tenders", "0028_alter_tender_options_ordering"), ] diff --git a/lemarche/tenders/migrations/0030_tender_siae_kind_alter_tender_presta_type.py b/lemarche/tenders/migrations/0030_tender_siae_kind_alter_tender_presta_type.py index 5531696e2..cbbda9a57 100644 --- a/lemarche/tenders/migrations/0030_tender_siae_kind_alter_tender_presta_type.py +++ b/lemarche/tenders/migrations/0030_tender_siae_kind_alter_tender_presta_type.py @@ -6,7 +6,6 @@ class Migration(migrations.Migration): - dependencies = [ ("tenders", "0029_alter_tendersiae_source"), ] diff --git a/lemarche/tenders/migrations/0031_alter_tender_accept_cocontracting_and_more.py b/lemarche/tenders/migrations/0031_alter_tender_accept_cocontracting_and_more.py index 1af5daf47..650a359f5 100644 --- a/lemarche/tenders/migrations/0031_alter_tender_accept_cocontracting_and_more.py +++ b/lemarche/tenders/migrations/0031_alter_tender_accept_cocontracting_and_more.py @@ -6,7 +6,6 @@ class Migration(migrations.Migration): - dependencies = [ ("tenders", "0030_tender_siae_kind_alter_tender_presta_type"), ] diff --git a/lemarche/tenders/migrations/0032_tender_extra_data.py b/lemarche/tenders/migrations/0032_tender_extra_data.py index d0eb47765..9b3b0caec 100644 --- a/lemarche/tenders/migrations/0032_tender_extra_data.py +++ b/lemarche/tenders/migrations/0032_tender_extra_data.py @@ -4,7 +4,6 @@ class Migration(migrations.Migration): - dependencies = [ ("tenders", "0031_alter_tender_accept_cocontracting_and_more"), ] diff --git a/lemarche/tenders/migrations/0033_tender_include_country_area.py b/lemarche/tenders/migrations/0033_tender_include_country_area.py index ec4052c65..83958c874 100644 --- a/lemarche/tenders/migrations/0033_tender_include_country_area.py +++ b/lemarche/tenders/migrations/0033_tender_include_country_area.py @@ -4,7 +4,6 @@ class Migration(migrations.Migration): - dependencies = [ ("tenders", "0032_tender_extra_data"), ] diff --git a/lemarche/tenders/migrations/0034_tender_siae_transactioned.py b/lemarche/tenders/migrations/0034_tender_siae_transactioned.py index f70a5e135..1c8f2c036 100644 --- a/lemarche/tenders/migrations/0034_tender_siae_transactioned.py +++ b/lemarche/tenders/migrations/0034_tender_siae_transactioned.py @@ -4,7 +4,6 @@ class Migration(migrations.Migration): - dependencies = [ ("tenders", "0033_tender_include_country_area"), ] diff --git a/lemarche/tenders/migrations/0035_tender_is_marche_useful_2.py b/lemarche/tenders/migrations/0035_tender_is_marche_useful_2.py index 30f38c7f8..c479b8d90 100644 --- a/lemarche/tenders/migrations/0035_tender_is_marche_useful_2.py +++ b/lemarche/tenders/migrations/0035_tender_is_marche_useful_2.py @@ -18,7 +18,6 @@ def set_marche_is_useful_reverse(apps, schema_editor): class Migration(migrations.Migration): - dependencies = [ ("tenders", "0034_tender_siae_transactioned"), ] diff --git a/lemarche/tenders/migrations/0036_tender_status.py b/lemarche/tenders/migrations/0036_tender_status.py index 430bf1f60..17bd59c96 100644 --- a/lemarche/tenders/migrations/0036_tender_status.py +++ b/lemarche/tenders/migrations/0036_tender_status.py @@ -16,7 +16,6 @@ def set_tender_status_reverse(apps, schema_editor): class Migration(migrations.Migration): - dependencies = [ ("tenders", "0035_tender_is_marche_useful_2"), ] diff --git a/lemarche/tenders/migrations/0037_alter_tender_accept_share_amount_alter_tender_amount.py b/lemarche/tenders/migrations/0037_alter_tender_accept_share_amount_alter_tender_amount.py index dc49990e4..b47301dad 100644 --- a/lemarche/tenders/migrations/0037_alter_tender_accept_share_amount_alter_tender_amount.py +++ b/lemarche/tenders/migrations/0037_alter_tender_accept_share_amount_alter_tender_amount.py @@ -4,7 +4,6 @@ class Migration(migrations.Migration): - dependencies = [ ("tenders", "0036_tender_status"), ] diff --git a/lemarche/tenders/migrations/0038_tender_intervention_location.py b/lemarche/tenders/migrations/0038_tender_intervention_location.py index 9e0d419db..1f5fa4193 100644 --- a/lemarche/tenders/migrations/0038_tender_intervention_location.py +++ b/lemarche/tenders/migrations/0038_tender_intervention_location.py @@ -5,7 +5,6 @@ class Migration(migrations.Migration): - dependencies = [ ("perimeters", "0005_alter_perimeter_post_codes"), ("tenders", "0037_alter_tender_accept_share_amount_alter_tender_amount"), diff --git a/lemarche/tenders/migrations/0039_tender_siae_rename_contact_click_date.py b/lemarche/tenders/migrations/0039_tender_siae_rename_contact_click_date.py index 6bbad6238..915cc5287 100644 --- a/lemarche/tenders/migrations/0039_tender_siae_rename_contact_click_date.py +++ b/lemarche/tenders/migrations/0039_tender_siae_rename_contact_click_date.py @@ -4,7 +4,6 @@ class Migration(migrations.Migration): - dependencies = [ ("tenders", "0038_tender_intervention_location"), ] diff --git a/lemarche/tenders/migrations/0040_tendersiae_email_link_click_date.py b/lemarche/tenders/migrations/0040_tendersiae_email_link_click_date.py index 16cf56c7d..ca2babc94 100644 --- a/lemarche/tenders/migrations/0040_tendersiae_email_link_click_date.py +++ b/lemarche/tenders/migrations/0040_tendersiae_email_link_click_date.py @@ -4,7 +4,6 @@ class Migration(migrations.Migration): - dependencies = [ ("tenders", "0039_tender_siae_rename_contact_click_date"), ] diff --git a/lemarche/tenders/migrations/0041_alter_tender_status.py b/lemarche/tenders/migrations/0041_alter_tender_status.py index 9f6bd6838..bff0bd353 100644 --- a/lemarche/tenders/migrations/0041_alter_tender_status.py +++ b/lemarche/tenders/migrations/0041_alter_tender_status.py @@ -4,7 +4,6 @@ class Migration(migrations.Migration): - dependencies = [ ("tenders", "0040_tendersiae_email_link_click_date"), ] diff --git a/lemarche/tenders/migrations/0042_tender_why_amount_is_blank.py b/lemarche/tenders/migrations/0042_tender_why_amount_is_blank.py index 248d24892..fb9ce1bdc 100644 --- a/lemarche/tenders/migrations/0042_tender_why_amount_is_blank.py +++ b/lemarche/tenders/migrations/0042_tender_why_amount_is_blank.py @@ -4,7 +4,6 @@ class Migration(migrations.Migration): - dependencies = [ ("tenders", "0041_alter_tender_status"), ] diff --git a/lemarche/tenders/migrations/0043_rename_tender_siae_interested_list_last_seen_date.py b/lemarche/tenders/migrations/0043_rename_tender_siae_interested_list_last_seen_date.py index 7e59533ed..a40c9b698 100644 --- a/lemarche/tenders/migrations/0043_rename_tender_siae_interested_list_last_seen_date.py +++ b/lemarche/tenders/migrations/0043_rename_tender_siae_interested_list_last_seen_date.py @@ -4,7 +4,6 @@ class Migration(migrations.Migration): - dependencies = [ ("tenders", "0042_tender_why_amount_is_blank"), ] diff --git a/lemarche/tenders/migrations/0044_alter_tender_source.py b/lemarche/tenders/migrations/0044_alter_tender_source.py index b7b6ef741..d38d88371 100644 --- a/lemarche/tenders/migrations/0044_alter_tender_source.py +++ b/lemarche/tenders/migrations/0044_alter_tender_source.py @@ -4,7 +4,6 @@ class Migration(migrations.Migration): - dependencies = [ ("tenders", "0043_rename_tender_siae_interested_list_last_seen_date"), ] diff --git a/lemarche/tenders/migrations/0045_alter_tender_deadline_date_response_kind_not_required.py b/lemarche/tenders/migrations/0045_alter_tender_deadline_date_response_kind_not_required.py index 3bdcd90c7..6f6df274b 100644 --- a/lemarche/tenders/migrations/0045_alter_tender_deadline_date_response_kind_not_required.py +++ b/lemarche/tenders/migrations/0045_alter_tender_deadline_date_response_kind_not_required.py @@ -6,7 +6,6 @@ class Migration(migrations.Migration): - dependencies = [ ("tenders", "0044_alter_tender_source"), ] diff --git a/lemarche/tenders/migrations/0046_tendersiae_logs.py b/lemarche/tenders/migrations/0046_tendersiae_logs.py index 9d15eceda..dc2d304b3 100644 --- a/lemarche/tenders/migrations/0046_tendersiae_logs.py +++ b/lemarche/tenders/migrations/0046_tendersiae_logs.py @@ -4,7 +4,6 @@ class Migration(migrations.Migration): - dependencies = [ ("tenders", "0045_alter_tender_deadline_date_response_kind_not_required"), ] diff --git a/lemarche/tenders/migrations/0047_tender_import_raw_object.py b/lemarche/tenders/migrations/0047_tender_import_raw_object.py index 7eb2c7972..90c3b5740 100644 --- a/lemarche/tenders/migrations/0047_tender_import_raw_object.py +++ b/lemarche/tenders/migrations/0047_tender_import_raw_object.py @@ -4,7 +4,6 @@ class Migration(migrations.Migration): - dependencies = [ ("tenders", "0046_tendersiae_logs"), ] diff --git a/lemarche/tenders/migrations/0048_tender_questions.py b/lemarche/tenders/migrations/0048_tender_questions.py index bde7ed2d1..194e1ae44 100644 --- a/lemarche/tenders/migrations/0048_tender_questions.py +++ b/lemarche/tenders/migrations/0048_tender_questions.py @@ -6,7 +6,6 @@ class Migration(migrations.Migration): - dependencies = [ ("tenders", "0047_tender_import_raw_object"), ] diff --git a/lemarche/tenders/migrations/0049_tender_amount_exact.py b/lemarche/tenders/migrations/0049_tender_amount_exact.py index 2757a5c03..7e0ee4c67 100644 --- a/lemarche/tenders/migrations/0049_tender_amount_exact.py +++ b/lemarche/tenders/migrations/0049_tender_amount_exact.py @@ -4,7 +4,6 @@ class Migration(migrations.Migration): - dependencies = [ ("tenders", "0048_tender_questions"), ] diff --git a/lemarche/tenders/migrations/0050_alter_tender_source.py b/lemarche/tenders/migrations/0050_alter_tender_source.py index c4771311e..ceaf49de9 100644 --- a/lemarche/tenders/migrations/0050_alter_tender_source.py +++ b/lemarche/tenders/migrations/0050_alter_tender_source.py @@ -4,7 +4,6 @@ class Migration(migrations.Migration): - dependencies = [ ("tenders", "0049_tender_amount_exact"), ] diff --git a/lemarche/tenders/migrations/0051_tender_published_at.py b/lemarche/tenders/migrations/0051_tender_published_at.py index cb01f4da2..80de2f8c6 100644 --- a/lemarche/tenders/migrations/0051_tender_published_at.py +++ b/lemarche/tenders/migrations/0051_tender_published_at.py @@ -4,7 +4,6 @@ class Migration(migrations.Migration): - dependencies = [ ("tenders", "0050_alter_tender_source"), ] diff --git a/lemarche/tenders/migrations/0052_tender_incremental_custom.py b/lemarche/tenders/migrations/0052_tender_incremental_custom.py index 9b754881e..48a1fefff 100644 --- a/lemarche/tenders/migrations/0052_tender_incremental_custom.py +++ b/lemarche/tenders/migrations/0052_tender_incremental_custom.py @@ -4,7 +4,6 @@ class Migration(migrations.Migration): - dependencies = [ ("tenders", "0051_tender_published_at"), ] diff --git a/lemarche/users/migrations/0001_initial.py b/lemarche/users/migrations/0001_initial.py index 8d98eb8c7..e34039320 100644 --- a/lemarche/users/migrations/0001_initial.py +++ b/lemarche/users/migrations/0001_initial.py @@ -7,7 +7,6 @@ class Migration(migrations.Migration): - initial = True dependencies = [ diff --git a/lemarche/users/migrations/0002_auto_20210607_1456.py b/lemarche/users/migrations/0002_auto_20210607_1456.py index 1583c94b8..ca5012df3 100644 --- a/lemarche/users/migrations/0002_auto_20210607_1456.py +++ b/lemarche/users/migrations/0002_auto_20210607_1456.py @@ -4,7 +4,6 @@ class Migration(migrations.Migration): - dependencies = [ ("users", "0001bis_create_extensions"), ] diff --git a/lemarche/users/migrations/0003_alter_user_api_key.py b/lemarche/users/migrations/0003_alter_user_api_key.py index 4aa6b12df..afb4224be 100644 --- a/lemarche/users/migrations/0003_alter_user_api_key.py +++ b/lemarche/users/migrations/0003_alter_user_api_key.py @@ -4,7 +4,6 @@ class Migration(migrations.Migration): - dependencies = [ ("users", "0002_auto_20210607_1456"), ] diff --git a/lemarche/users/migrations/0004_auto_20210607_1604.py b/lemarche/users/migrations/0004_auto_20210607_1604.py index 9c52a2b88..e360097f0 100644 --- a/lemarche/users/migrations/0004_auto_20210607_1604.py +++ b/lemarche/users/migrations/0004_auto_20210607_1604.py @@ -4,7 +4,6 @@ class Migration(migrations.Migration): - dependencies = [ ("users", "0003_alter_user_api_key"), ] diff --git a/lemarche/users/migrations/0005_alter_user_options.py b/lemarche/users/migrations/0005_alter_user_options.py index 313a95a7d..f55444e8d 100644 --- a/lemarche/users/migrations/0005_alter_user_options.py +++ b/lemarche/users/migrations/0005_alter_user_options.py @@ -4,7 +4,6 @@ class Migration(migrations.Migration): - dependencies = [ ("users", "0004_auto_20210607_1604"), ] diff --git a/lemarche/users/migrations/0006_update_user.py b/lemarche/users/migrations/0006_update_user.py index c3690d097..4cce1375a 100644 --- a/lemarche/users/migrations/0006_update_user.py +++ b/lemarche/users/migrations/0006_update_user.py @@ -5,7 +5,6 @@ class Migration(migrations.Migration): - dependencies = [ ("users", "0005_alter_user_options"), ] diff --git a/lemarche/users/migrations/0007_auto_20210930_2317.py b/lemarche/users/migrations/0007_auto_20210930_2317.py index 33cf6f2ae..c60b8df1d 100644 --- a/lemarche/users/migrations/0007_auto_20210930_2317.py +++ b/lemarche/users/migrations/0007_auto_20210930_2317.py @@ -4,7 +4,6 @@ class Migration(migrations.Migration): - dependencies = [ ("users", "0006_update_user"), ] diff --git a/lemarche/users/migrations/0008_alter_user_kind.py b/lemarche/users/migrations/0008_alter_user_kind.py index 3fb5320a8..cd3e1d012 100644 --- a/lemarche/users/migrations/0008_alter_user_kind.py +++ b/lemarche/users/migrations/0008_alter_user_kind.py @@ -4,7 +4,6 @@ class Migration(migrations.Migration): - dependencies = [ ("users", "0007_auto_20210930_2317"), ] diff --git a/lemarche/users/migrations/0009_rename_c4_fields.py b/lemarche/users/migrations/0009_rename_c4_fields.py index 52578d2c3..a0015213d 100644 --- a/lemarche/users/migrations/0009_rename_c4_fields.py +++ b/lemarche/users/migrations/0009_rename_c4_fields.py @@ -4,7 +4,6 @@ class Migration(migrations.Migration): - dependencies = [ ("users", "0008_alter_user_kind"), ] diff --git a/lemarche/users/migrations/0010_user_image_fields.py b/lemarche/users/migrations/0010_user_image_fields.py index 9e3543c61..bfb1feb53 100644 --- a/lemarche/users/migrations/0010_user_image_fields.py +++ b/lemarche/users/migrations/0010_user_image_fields.py @@ -4,7 +4,6 @@ class Migration(migrations.Migration): - dependencies = [ ("users", "0009_rename_c4_fields"), ] diff --git a/lemarche/users/migrations/0011_user_position.py b/lemarche/users/migrations/0011_user_position.py index 13ba858cf..7d95b9aaf 100644 --- a/lemarche/users/migrations/0011_user_position.py +++ b/lemarche/users/migrations/0011_user_position.py @@ -4,7 +4,6 @@ class Migration(migrations.Migration): - dependencies = [ ("users", "0010_user_image_fields"), ] diff --git a/lemarche/users/migrations/0012_avoid_null_on_charfields.py b/lemarche/users/migrations/0012_avoid_null_on_charfields.py index 9aa280d4f..ef6fb6a7e 100644 --- a/lemarche/users/migrations/0012_avoid_null_on_charfields.py +++ b/lemarche/users/migrations/0012_avoid_null_on_charfields.py @@ -4,7 +4,6 @@ class Migration(migrations.Migration): - dependencies = [ ("users", "0011_user_position"), ] diff --git a/lemarche/users/migrations/0013_user_partner_kind.py b/lemarche/users/migrations/0013_user_partner_kind.py index 472c58907..161183304 100644 --- a/lemarche/users/migrations/0013_user_partner_kind.py +++ b/lemarche/users/migrations/0013_user_partner_kind.py @@ -4,7 +4,6 @@ class Migration(migrations.Migration): - dependencies = [ ("users", "0012_avoid_null_on_charfields"), ] diff --git a/lemarche/users/migrations/0015_user_api_key_last_updated.py b/lemarche/users/migrations/0015_user_api_key_last_updated.py index bd114948e..bba0776f0 100644 --- a/lemarche/users/migrations/0015_user_api_key_last_updated.py +++ b/lemarche/users/migrations/0015_user_api_key_last_updated.py @@ -4,7 +4,6 @@ class Migration(migrations.Migration): - dependencies = [ ("users", "0014_create_cache_table"), ] diff --git a/lemarche/users/migrations/0016_user_accept_share_contact_to_external_partners.py b/lemarche/users/migrations/0016_user_accept_share_contact_to_external_partners.py index b04923876..0e8b05323 100644 --- a/lemarche/users/migrations/0016_user_accept_share_contact_to_external_partners.py +++ b/lemarche/users/migrations/0016_user_accept_share_contact_to_external_partners.py @@ -4,7 +4,6 @@ class Migration(migrations.Migration): - dependencies = [ ("users", "0015_user_api_key_last_updated"), ] diff --git a/lemarche/users/migrations/0017_user_dashboard_last_seen_date.py b/lemarche/users/migrations/0017_user_dashboard_last_seen_date.py index b00a40972..c25b29cce 100644 --- a/lemarche/users/migrations/0017_user_dashboard_last_seen_date.py +++ b/lemarche/users/migrations/0017_user_dashboard_last_seen_date.py @@ -4,7 +4,6 @@ class Migration(migrations.Migration): - dependencies = [ ("users", "0016_user_accept_share_contact_to_external_partners"), ] diff --git a/lemarche/users/migrations/0018_user_tender_list_last_seen_date.py b/lemarche/users/migrations/0018_user_tender_list_last_seen_date.py index e86244563..ba5cd35e3 100644 --- a/lemarche/users/migrations/0018_user_tender_list_last_seen_date.py +++ b/lemarche/users/migrations/0018_user_tender_list_last_seen_date.py @@ -4,7 +4,6 @@ class Migration(migrations.Migration): - dependencies = [ ("users", "0017_user_dashboard_last_seen_date"), ] diff --git a/lemarche/users/migrations/0019_user_source.py b/lemarche/users/migrations/0019_user_source.py index 949610fa0..ed61eef6c 100644 --- a/lemarche/users/migrations/0019_user_source.py +++ b/lemarche/users/migrations/0019_user_source.py @@ -4,7 +4,6 @@ class Migration(migrations.Migration): - dependencies = [ ("users", "0018_user_tender_list_last_seen_date"), ] diff --git a/lemarche/users/migrations/0020_user_extra_data.py b/lemarche/users/migrations/0020_user_extra_data.py index 6581db5e9..fd0d995fb 100644 --- a/lemarche/users/migrations/0020_user_extra_data.py +++ b/lemarche/users/migrations/0020_user_extra_data.py @@ -4,7 +4,6 @@ class Migration(migrations.Migration): - dependencies = [ ("users", "0019_user_source"), ] diff --git a/lemarche/users/migrations/0021_user_can_display_tender_contact_details.py b/lemarche/users/migrations/0021_user_can_display_tender_contact_details.py index ccf5036cf..ad9d50b65 100644 --- a/lemarche/users/migrations/0021_user_can_display_tender_contact_details.py +++ b/lemarche/users/migrations/0021_user_can_display_tender_contact_details.py @@ -4,7 +4,6 @@ class Migration(migrations.Migration): - dependencies = [ ("users", "0020_user_extra_data"), ] diff --git a/lemarche/users/migrations/0022_user_buyer_kind.py b/lemarche/users/migrations/0022_user_buyer_kind.py index 6a0ec59ab..b71a4183d 100644 --- a/lemarche/users/migrations/0022_user_buyer_kind.py +++ b/lemarche/users/migrations/0022_user_buyer_kind.py @@ -4,7 +4,6 @@ class Migration(migrations.Migration): - dependencies = [ ("users", "0021_user_can_display_tender_contact_details"), ] diff --git a/lemarche/users/migrations/0023_user_buyer_kind_detail.py b/lemarche/users/migrations/0023_user_buyer_kind_detail.py index 10e7b7a44..7741dcfe2 100644 --- a/lemarche/users/migrations/0023_user_buyer_kind_detail.py +++ b/lemarche/users/migrations/0023_user_buyer_kind_detail.py @@ -4,7 +4,6 @@ class Migration(migrations.Migration): - dependencies = [ ("users", "0022_user_buyer_kind"), ] diff --git a/lemarche/users/migrations/0024_user_partner_network.py b/lemarche/users/migrations/0024_user_partner_network.py index 3fb475716..838affc74 100644 --- a/lemarche/users/migrations/0024_user_partner_network.py +++ b/lemarche/users/migrations/0024_user_partner_network.py @@ -5,7 +5,6 @@ class Migration(migrations.Migration): - dependencies = [ ("networks", "0004_alter_network_slug"), ("users", "0023_user_buyer_kind_detail"), diff --git a/lemarche/users/migrations/0025_user_user_email_ci_uniqueness.py b/lemarche/users/migrations/0025_user_user_email_ci_uniqueness.py index 885e33416..8e8791bf0 100644 --- a/lemarche/users/migrations/0025_user_user_email_ci_uniqueness.py +++ b/lemarche/users/migrations/0025_user_user_email_ci_uniqueness.py @@ -5,7 +5,6 @@ class Migration(migrations.Migration): - dependencies = [ ("users", "0024_user_partner_network"), ] diff --git a/lemarche/users/migrations/0026_user_company.py b/lemarche/users/migrations/0026_user_company.py index a68045852..b07ddfd34 100644 --- a/lemarche/users/migrations/0026_user_company.py +++ b/lemarche/users/migrations/0026_user_company.py @@ -5,7 +5,6 @@ class Migration(migrations.Migration): - dependencies = [ ("companies", "0001_initial"), ("users", "0025_user_user_email_ci_uniqueness"), diff --git a/lemarche/users/migrations/0027_alter_user_source.py b/lemarche/users/migrations/0027_alter_user_source.py index a779159d1..f3ed63f84 100644 --- a/lemarche/users/migrations/0027_alter_user_source.py +++ b/lemarche/users/migrations/0027_alter_user_source.py @@ -4,7 +4,6 @@ class Migration(migrations.Migration): - dependencies = [ ("users", "0026_user_company"), ] diff --git a/lemarche/utils/admin/actions.py b/lemarche/utils/admin/actions.py index 87b1e7d69..d4c5d71b8 100644 --- a/lemarche/utils/admin/actions.py +++ b/lemarche/utils/admin/actions.py @@ -30,7 +30,7 @@ def export_as_xls(self, request, queryset): headers = ExportAction.generate_header(self, self.model, field_names) row_number = 0 # write header - for (index, header_item) in enumerate(headers): + for index, header_item in enumerate(headers): ws.write(row_number, index, header_item, font_style) # write content queryset for obj in queryset: diff --git a/lemarche/utils/apis/geocoding.py b/lemarche/utils/apis/geocoding.py index e7bf5a911..ab58d7c3b 100644 --- a/lemarche/utils/apis/geocoding.py +++ b/lemarche/utils/apis/geocoding.py @@ -13,7 +13,6 @@ def call_ban_geocoding_api(address, post_code=None, limit=1): - api_url = f"{settings.API_BAN_BASE_URL}/search/" args = {"q": address, "limit": limit} diff --git a/lemarche/utils/password_validation.py b/lemarche/utils/password_validation.py index 85dd58d54..f441d34fd 100644 --- a/lemarche/utils/password_validation.py +++ b/lemarche/utils/password_validation.py @@ -31,7 +31,6 @@ class CnilCompositionPasswordValidator: ) def validate(self, password, user=None): - has_lower = any(char.islower() for char in password) has_upper = any(char.isupper() for char in password) has_digit = any(char.isdigit() for char in password) diff --git a/lemarche/utils/urls.py b/lemarche/utils/urls.py index 699789562..120247ac9 100644 --- a/lemarche/utils/urls.py +++ b/lemarche/utils/urls.py @@ -20,14 +20,12 @@ def get_domain_url(): def get_safe_url(request, param_name=None, fallback_url=None, url=None): - url = url or request.GET.get(param_name) or request.POST.get(param_name) allowed_hosts = settings.ALLOWED_HOSTS require_https = request.is_secure() if url: - if settings.DEBUG: # In DEBUG mode the network location part `127.0.0.1:8000` contains # a port and fails the validation of `url_has_allowed_host_and_scheme`