Commit Graph

468 Commits

Author SHA1 Message Date
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
Frédéric Péters b2cd707fa7 setup.py: limit psycopg2 to < 2.9 (#54925) 2021-06-17 09:14:08 +02:00
Frédéric Péters d05419eaec tox: limit psycopg2 to < 2.9 (#54925) 2021-06-17 08:50:04 +02:00
Frédéric Péters 92c31d1d28 debian: enable uwsgi memory reports (#54610) 2021-06-07 13:35:55 +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 3f56b2ad0b dj22: use DRF>=3.9.2 (#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
Benjamin Dauvergne 24f26c6e4d test against Django 2.2 (#51516) 2021-03-02 15:38:06 +01:00
Benjamin Dauvergne 5db78cd58e tests: fix transient failure in test_person_search 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
Frédéric Péters b77c415819 debian: run with python 3 (#41871) 2021-02-28 14:26:04 +01:00
Frédéric Péters 3f589e9249 build: update to use origin/main 2020-12-26 15:21:16 +01:00
Frédéric Péters 1dfcf0a61d tox: limit mock version for compatibility with python 3.5 2020-10-06 09:51:53 +02: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
Frédéric Péters 8881799eb0 tox: stop testing against python 2 2020-09-09 08:33:31 +02:00
Valentin Deniaud 535e320531 tox: tell setuptools to use distutils from stdlib (#46252) 2020-09-01 14:36:18 +02:00
Benjamin Dauvergne 884b6fd93e setup.py: fix compile_translations 2020-08-18 10:22:20 +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
Thomas NOËL a0857fa392 debian: enable ATOMIC_REQUESTS database flag (#45007) 2020-07-10 10:37:12 +02:00
Thomas NOËL 23354a75e4 debian: cancel hobo provisionning middleware 2020-07-09 01:07:54 +02:00
Nicolas Roche 6e48d37985 tests: add tests on views and commands (#41025) 2020-03-27 08:52:43 +01: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 5677795e8f python3: update tox to check against both python versions (#40911) 2020-03-27 08:36:35 +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 ec91ea59b1 python3: replace json string parser input by text (#40911) 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 02f660ca5b python3: pass bytes to Upload 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 b3517e49df misc: add .gitignore (#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