Commit Graph

8 Commits

Author SHA1 Message Date
Valentin Deniaud 66b12b846a misc: change django-upgrade target version to 3.2 (#75442) 2023-03-29 16:14:41 +02:00
Lauréline Guérin aa12256f47
misc: fix line-too-long pylint error (#56288) 2021-08-31 10:00:39 +02:00
Lauréline Guérin f4615c5061
misc: apply pyupgrade (#55868) 2021-07-27 16:45:52 +02:00
Lauréline Guérin 657815e82a
misc: remove django-jsonfield dependency (#52912) 2021-06-03 10:24:21 +02:00
Lauréline Guérin 29bc8e66a9
misc: apply isort (#52797) 2021-04-08 15:54:31 +02:00
Frédéric Péters 47d67c395e trivial: apply black 2021-02-15 18:02:39 +01:00
Lauréline Guérin 49830fc9c5
dj2: add explicit on_delete on all ForeignKey (#36895)
remove RemovedInDjango20Warning:
on_delete will be a required arg for ForeignKey in Django 2.0.
Set it to models.CASCADE on models and in existing migrations if you want to
maintain the current default behavior.
See https://docs.djangoproject.com/en/1.11/ref/models/
fields/#django.db.models.ForeignKey.on_delete
2019-10-29 08:35:21 +01:00
Benjamin Dauvergne e5e1ca37cf add ParametersCell (#9596)
The parameter cell create a combox box which update a context variable named,
parameters. Any change to the combobox modify the query string of the current
URL, which modifies the parameters dictionnary in the context. This dictionnary
can be looked up by other celle for parameters. For example the cubes cells
could look for any key with prefix cubes-cut-, for example
cubes-cut-comune=CLAPIERS and produces a cut filter from it.
2016-01-19 14:53:35 +01:00