Benjamin Dauvergne
26e2f529d6
misc: do not overload admin/index.html completely ( #75735 )
gitea/zoo/pipeline/head This commit looks good
Details
2024-02-04 22:02:42 +01:00
Benjamin Dauvergne
0440e461be
dj32: adapts lookups/transforms ( #74843 )
...
gitea/zoo/pipeline/head There was a failure building this commit
Details
* remove django <2.x compatibility code
* use Lower transform/function from Django
* register Lower on CharField
* register text lookup transforms on non contrib JSONField
* declare text transform as outputting CharField type
* fix declaration of timestamp lookup output type
2023-02-25 14:35:33 +01:00
Benjamin Dauvergne
470fea47c3
dj32: replace use of url by re_path ( #74843 )
2023-02-25 14:35:33 +01:00
Benjamin Dauvergne
9dc5a2d801
dj32: remove use of force_bytes ( #74843 )
2023-02-25 14:35:33 +01:00
Benjamin Dauvergne
7b6df2d530
dj32: remove use of force_text ( #74843 )
2023-02-25 14:35:32 +01:00
Benjamin Dauvergne
4d2e935fd0
dj32: remove use of six ( #74843 )
2023-02-25 14:35:32 +01:00
Benjamin Dauvergne
2d64de0493
misc: remove use of python_2_unicode_compatible decorator ( #74843 )
...
Python2 is not supported for a long time.
2023-02-25 14:35:14 +01:00
Benjamin Dauvergne
ba197a4b65
dj32: update use of default_app_config ( #74843 )
...
Use a version condition as it's still necessary for Django 2.x.
2023-02-25 14:34:43 +01:00
Benjamin Dauvergne
2d7f7ed9dd
dj32: replace use of ugettext_lazy ( #74843 )
2023-02-25 14:34:29 +01:00
Benjamin Dauvergne
9645c1c94b
misc: import DateRangeFiler from older module if not found ( #73570 )
2023-01-18 22:38:18 +01:00
Benjamin Dauvergne
e52694fd31
misc: fix warnings about regexps ( #72941 )
2023-01-11 12:21:05 +01:00
Benjamin Dauvergne
72acb97eff
misc: fix warnings about rangefilter.filter ( #72941 )
...
zoo/zoo/zoo_data/admin.py:22: DeprecationWarning: Import from the `filter` module is deprecated. Use `filters` module.
from rangefilter.filter import DateTimeRangeFilter
2023-01-11 12:20:51 +01:00
Thomas NOËL
e3bf286f63
dj22: use mark_safe instead of allow_tags in admin ( #57108 )
2021-09-20 18:51:19 +02:00
Thomas NOËL
05f31e6e31
dj22: add renderer in JSONEditor.render signature ( #57108 )
2021-09-20 18:51:16 +02:00
Benjamin Dauvergne
1458d01fcd
python3: rename __unicode__ to __str__ ( #56929 )
2021-09-14 11:01:05 +02:00
Benjamin Dauvergne
7f21d927d4
misc: fix warnings about unclosed files ( #51516 )
2021-03-02 15:38:06 +01:00
Benjamin Dauvergne
7bb4127fc7
dj22: replace load staticfiles by load static ( #51516 )
2021-03-02 15:38:06 +01:00
Benjamin Dauvergne
48f52ae9ba
dj22: disable subparsers work around ( #51516 )
2021-03-02 15:38:06 +01:00
Benjamin Dauvergne
7df6f0ae0c
dj22: do not backport jsonb key transforms ( #51516 )
2021-03-02 15:38:06 +01:00
Benjamin Dauvergne
a34561baf2
dj22: fix import of django.utils.six ( #51516 )
2021-03-02 15:38:06 +01:00
Benjamin Dauvergne
6fc43f1b1f
dj22: use django.urls.reverse ( #51516 )
2021-03-02 15:38:06 +01:00
Benjamin Dauvergne
1c19e4d6b9
dj22: add on_delete=models.CASCADE ( #51516 )
2021-03-02 15:38:06 +01:00
Frédéric Péters
6c05e32569
trivial: switch forgotten execfile() call to exec() ( #40911 )
2021-03-01 15:18:53 +01:00
Benjamin Dauvergne
a3bda805cc
nanterre: ignore invalid dates during free text search ( #45320 )
2020-09-18 12:08:59 +02:00
Benjamin Dauvergne
404c008336
nanterre: silence warning about bad regexp ( #46763 )
2020-09-18 09:27:12 +02:00
Benjamin Dauvergne
29a0af67c5
nanterre: conserver le contenu de la carte famille sous forme de bytes ( #45231 )
2020-07-17 12:48:16 +02:00
Nicolas Roche
b024d9c92a
forms: unpack all values from schema paths list ( #40990 )
2020-03-27 08:51:11 +01:00
Nicolas Roche
cbb9380c80
nanterre: correct address integrity checks ( #41073 )
2020-03-27 08:46:19 +01:00
Nicolas Roche
a57da948c9
nanterre: search birthdate with 2 digits years ( #41052 )
2020-03-27 08:44:59 +01:00
Nicolas Roche
5f48a1883d
commands: fix a type in stat name ( #41051 )
2020-03-27 08:41:46 +01:00
Nicolas Roche
1aca22f73e
python3: provide string representations ( #40911 )
2020-03-27 08:36:35 +01:00
Nicolas Roche
a964e71e45
python3: open django.core.files.storage in text mode for csv ( #40911 )
2020-03-27 08:36:35 +01:00
Nicolas Roche
c20eb03a11
python3: open report files as binary ( #40911 )
...
FileReponse wants binary streams, but csv.reader() wants text streams.
2020-03-27 08:36:35 +01:00
Nicolas Roche
e879263277
python3: replace .iteritems by .items ( #40911 )
2020-03-27 08:36:35 +01:00
Nicolas Roche
025fa0f2ca
python3: use listcomp insted of map object generator ( #40911 )
2020-03-27 08:36:35 +01:00
Nicolas Roche
5311d34d6c
python3: take reduce from functools package ( #40911 )
2020-03-27 08:36:35 +01:00
Nicolas Roche
55af5e1d5b
python3: use text to manage csv content ( #40911 )
2020-03-27 08:36:35 +01:00
Nicolas Roche
f39cbee9d2
python3: replace response content with text ( #40911 )
2020-03-27 08:36:35 +01:00
Nicolas Roche
dcb5351962
python3: encode unicode-objects before hashing ( #40911 )
2020-03-27 08:36:35 +01:00
Nicolas Roche
921a3f27e1
python3: replace unicode references ( #40911 )
2020-03-27 08:36:35 +01:00
Nicolas Roche
a15b4cddbb
python3: get StringIO from six ( #40911 )
2020-03-27 08:36:35 +01:00
Nicolas Roche
46478781cf
python3: get urllib/urlparse from six ( #40911 )
2020-03-27 08:36:35 +01:00
Nicolas Roche
9a3c9d4c60
settings: remove admins variable from default configuration ( #40999 )
2020-03-27 08:30:40 +01:00
Thomas NOËL
ec83fd65e4
settings.py: use tuples for INSTALLED_APPS and MIDDLEWARE
2020-03-20 17:45:55 +01:00
Benjamin Dauvergne
f7183bd2ce
nanterre: diminuer la similarité pour les membres d'une même famille ( #37038 )
2020-01-15 23:50:44 +01:00
Benjamin Dauvergne
fd0ca4b6aa
nanterre: prévient les erreurs unicode quand on pipe rsu-duplicates ( #37038 )
2020-01-15 23:48:56 +01:00
Benjamin Dauvergne
84bcab2ab6
fragments: verrouille les individus pour les trames de passage à la majorité
2019-07-30 18:56:18 +02:00
Benjamin Dauvergne
d990d1cc4b
nanterre: desactiver le passage à la majorité par défaut ( #35120 )
2019-07-29 17:28:43 +02:00
Benjamin Dauvergne
7dbf9da8d4
nanterre: ne passer en "dépassée" que les factures "en cours" ( #34903 )
2019-07-16 15:00:52 +02:00
Benjamin Dauvergne
7ed7d21c38
nanterre: create relation to new adresse ( #34239 )
2019-06-23 00:35:53 +02:00