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
4ba9701d2b
dj32: update django-rest-framework requirement ( #74843 )
...
* declare latest supported version in setup.py
* set limit in tox.ini for test with django 2.x
2023-02-25 14:34:26 +01:00
Benjamin Dauvergne
04fba9a035
dj32: update pyscopg2 requirement ( #74843 )
...
* use psycopg2-binary for 2.x compatibility
* use any version after
2023-02-25 14:33:07 +01:00
Benjamin Dauvergne
88c3a41598
setup.py: update django requirement ( #74843 )
...
Allow django<3.3.
2023-02-25 12:30:15 +01:00