#4377 (Test with Django 4.0)
by Luc Saffre · in Developers · assigned to Sharif Mehedi
Kokkuvõte
I saw that [url www.djangoproject.com/weblog/2021/dec/07/django-40-released/ Django 4.0 is released]. We should start testing with it.
Children
Kommentaarid
- 4 aastat, 10 kuud ago by Luc Saffre in reply to Luc Saffre about #4377 (Test with Django 4.0) : Django ticket [url code.djangoproject.com/ticket/30165 #30165]. Extensive explanation [url github.com/wagtail/wagtail/issues/5842 here].
- 4 aastat, 10 kuud ago by Luc Saffre about #4377 (Test with Django 4.0) (1 reply) : I get "cannot import name 'ungettext' from 'django.utils.translation'" (pm prep in demo project mathieu in welfare)
- 4 aastat, 10 kuud ago by Luc Saffre about #4377 (Test with Django 4.0) : LANGUAGE_SESSION_KEY was deprecated in Django 3 : [url docs.djangoproject.com/en/3.2/ref/utils/#django.utils.translation.LANGUAGE_SESSION_KEY]
- 4 aastat, 10 kuud ago by Luc Saffre about #4377 (Test with Django 4.0) : Hey, yes! That would be genial!
- 4 aastat, 10 kuud ago by Sharif Mehedi about #4377 (Test with Django 4.0) : I am thinking about building the SearchIndex(es) dynamically by looking at model.show_in_site_search and model.quick_search_fields (+ '_digit') so that we won't have to define a SearchIndex for each model. I am not sure if it's good thinking or NOT?
- 4 aastat, 10 kuud ago by Sharif Mehedi about #4377 (Test with Django 4.0) : I have been looking at the haystack and solr documentation. Today, I started coding up some things on lino.modlib.search.
- 4 aastat, 10 kuud ago by Luc Saffre about #4377 (Test with Django 4.0) : I think we can leave use_elsticsearch unfinished and move forward to haystack.
- 4 aastat, 10 kuud ago by Sharif Mehedi about #4377 (Test with Django 4.0) : for now disabling use_elasticsearch on noi1e should fix this.
- 4 aastat, 10 kuud ago by Luc Saffre about #4377 (Test with Django 4.0) : The book test suite is failing on my machine, already during pm prep in noi1e, with some error in elasticsearch (elasticsearch.exceptions.NotFoundError: NotFoundError(404, '{"ok":false,"message":"Unknown resource."}\n')), and I suspect that this is because our two week trial phase is over.
- 4 aastat, 11 kuud ago by Sharif Mehedi in reply to Luc Saffre about #4377 (Test with Django 4.0) : `pip install -U --pre django` will install the beta version. the other command works only on a clean installation.
- 4 aastat, 11 kuud ago by Luc Saffre about #4377 (Test with Django 4.0) (1 reply) : Hm, they say that "pip install --pre django" would install the beta, but it doesn't...