-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #591 from MTES-MCT/fix-project-input
Suppression de champs inutilisés sur la table project (diagnostic)
- Loading branch information
Showing
5 changed files
with
89 additions
and
234 deletions.
There are no files selected for viewing
83 changes: 83 additions & 0 deletions
83
project/migrations/0092_remove_historicalproject_couverture_usage_and_more.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,83 @@ | ||
# Generated by Django 4.2.13 on 2024-10-01 09:14 | ||
|
||
from django.db import migrations, models | ||
import utils.validators | ||
|
||
|
||
class Migration(migrations.Migration): | ||
dependencies = [ | ||
("project", "0091_auto_20240930_1152"), | ||
] | ||
|
||
operations = [ | ||
migrations.RemoveField( | ||
model_name="historicalproject", | ||
name="couverture_usage", | ||
), | ||
migrations.RemoveField( | ||
model_name="historicalproject", | ||
name="import_date", | ||
), | ||
migrations.RemoveField( | ||
model_name="historicalproject", | ||
name="import_error", | ||
), | ||
migrations.RemoveField( | ||
model_name="historicalproject", | ||
name="import_status", | ||
), | ||
migrations.RemoveField( | ||
model_name="project", | ||
name="couverture_usage", | ||
), | ||
migrations.RemoveField( | ||
model_name="project", | ||
name="import_date", | ||
), | ||
migrations.RemoveField( | ||
model_name="project", | ||
name="import_error", | ||
), | ||
migrations.RemoveField( | ||
model_name="project", | ||
name="import_status", | ||
), | ||
migrations.AlterField( | ||
model_name="historicalproject", | ||
name="name", | ||
field=models.CharField( | ||
max_length=100, validators=[utils.validators.is_alpha_validator], verbose_name="Nom" | ||
), | ||
), | ||
migrations.AlterField( | ||
model_name="historicalproject", | ||
name="territory_name", | ||
field=models.CharField( | ||
blank=True, | ||
help_text="C'est le nom qui est utilisé pour désigner votre territoire, notamment dans le rapport word.", | ||
max_length=250, | ||
null=True, | ||
validators=[utils.validators.is_alpha_validator], | ||
verbose_name="Territoire", | ||
), | ||
), | ||
migrations.AlterField( | ||
model_name="project", | ||
name="name", | ||
field=models.CharField( | ||
max_length=100, validators=[utils.validators.is_alpha_validator], verbose_name="Nom" | ||
), | ||
), | ||
migrations.AlterField( | ||
model_name="project", | ||
name="territory_name", | ||
field=models.CharField( | ||
blank=True, | ||
help_text="C'est le nom qui est utilisé pour désigner votre territoire, notamment dans le rapport word.", | ||
max_length=250, | ||
null=True, | ||
validators=[utils.validators.is_alpha_validator], | ||
verbose_name="Territoire", | ||
), | ||
), | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
109 changes: 0 additions & 109 deletions
109
public_data/management/commands/create_rnu_diagnostics.py
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.