Django bugfix releases: 2.2.7, 2.1.14, and 1.11.26
Details are available on the Django project weblog: https://www.djangoproject.com/weblog/2019/nov/04/django-bugfix-releases-227-2114-11126/ -- You received this message because you are subscribed to the Google Groups "Django developers (Contributions to Django itself)" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-developers+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/django-developers/f520475c-176a-273f-aeb3-5c43cd137fe8%40gmail.com.
Re: Fellow Reports - October 2019
Week ending November 3, 2019. *Triaged:* https://code.djangoproject.com/ticket/30911 - Django query returns no data; pasting query into MySQL prompt shows correct data. (needsinfo) https://code.djangoproject.com/ticket/30918 - timesince() ignores time_strings argument for the same dates. (accepted) https://code.djangoproject.com/ticket/30920 - Choice enumeration types should not enforce enum.unique(). (wontfix) https://code.djangoproject.com/ticket/30908 - FilePathField raises FileNotFoundError for nonexistent path. (wontfix) https://code.djangoproject.com/ticket/30919 - Template-loader postmortem should list non-existent directories. (wontfix) https://code.djangoproject.com/ticket/30921 - _DeadlockError is raised when using StatReloader (duplicate). https://code.djangoproject.com/ticket/30922 - Admin's date_hierarchy excludes 31 october when using timezone with DST in northern hemisphere. (accepted) https://code.djangoproject.com/ticket/30915 - Implication for Q object. (wontfix) https://code.djangoproject.com/ticket/30928 - Update documentation about MariaDB and MySQL support for nowait and skip_locked arguments. (accepted) https://code.djangoproject.com/ticket/30927 - Use assertWarnsMessage() in the example of deprecation warnings. (accepted) https://code.djangoproject.com/ticket/30929 - get_previous/next_by_FOO functions are undocumented. (invalid) https://code.djangoproject.com/ticket/30930 - Many to Many Doc. (invalid) https://code.djangoproject.com/ticket/30931 - Cannot override get_FOO_display() in Django 2.2+. (accepted) https://code.djangoproject.com/ticket/30932 - ConnectionResetError: [Errno 54] Connection reset by peer. (invalid) https://code.djangoproject.com/ticket/30935 - Problem with makemigrations/migrate (AUTH_USER_MODEL) and duplication of tables. (invalid) https://code.djangoproject.com/ticket/30936 - Enabled timezone collides with date_hierarchy of django admin. (duplicate) https://code.djangoproject.com/ticket/30938 - DEFAULT_CONTENT_TYPE django.utils.deprecation.RemovedInDjango30Warning. (invalid) *Reviewed/committed:* https://github.com/django/django/pull/11970 - Fixed #30907 -- Fixed SplitArrayField.has_changed() with removal of empty trailing values. https://github.com/django/django/pull/11982 - Fixed #30918 -- Made timesince()/timeuntil() respect custom time strings for future and the same datetimes. https://github.com/django/django/pull/11977 - Fixed #30899 -- Lazily compiled import time regular expressions. https://github.com/django/django/pull/11983 - Fixed #30922 -- Fixed ModelAdmin.date_hierarchy queries with DST changes. https://github.com/django/django/pull/11954 - Used more specific unittest assertions in tests. https://github.com/django/django/pull/11989 - Refs #28428 -- Made filepath_to_uri() support pathlib.Path. https://github.com/django/django/pull/11988 - Fixed #30927 -- Simplified an example of test for the deprecation warning with assertWarnsMessage(). https://github.com/django/django/pull/11908 - Refs #20456 -- Moved initialization of HEAD method based on GET to the View.setup() for generic views. https://github.com/django/django/pull/11996 - Refs #23576 -- Disabled MySQL multi-alias deletion path on MariaDB >= 10.3.2. https://github.com/django/django/pull/11953 - Refs #28428 -- Made FileSystemStorage.save() to support pathlib.Path. https://github.com/django/django/pull/11997 - Fixed #30761 -- Prevented floatformat filter from returning a negative zero. *Reviewed:* https://github.com/django/django/pull/11975 - Fixed #13750 -- Clarified need to reopen models.ImageField.image file to access raw image data. https://github.com/django/django/pull/11999 - Fixed #30931 -- Added example of overriding model extra instance methods to docs. Best regards, Mariusz -- You received this message because you are subscribed to the Google Groups "Django developers (Contributions to Django itself)" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-developers+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/django-developers/430d1a1d-1d8e-49a9-a0c1-e5d5bbe51550%40googlegroups.com.
pass list parameter from one class view to another
I have this listview and the context['datetimelist'] which is a list into def get_context_data class ShopListView(ListView): model = Shops context_object_name= 'shops' template_name = 'booking/search.html' def get_context_data(self, **kwargs): context = super(ShopListView, self).get_context_data(**kwargs) query = self.request.GET.get('q') query1 = self.request.GET.get('q1') query2 = self.request.GET.get('q2') query3 = self.request.GET.get('q3') context['datetimelist'] = [query,query1,query2,query3] return context def get_queryset(self): query = self.request.GET.get('q') query1 = self.request.GET.get('q1') query2 = self.request.GET.get('q2') query3 = self.request.GET.get('q3') result_list = Shops.objects.exclude(Q(appointments__time=query) & Q(appointments__date = query1)) result_list2 = Shops.objects.filter(Q(city=query2) & Q( typesport=query3)) context = list(chain(result_list & result_list2)) return context And i want to pass this list to ShopDetailView class based view class ShopDetailView(DetailView): model = Shops template_name = 'booking/results.html' context_object_name= 'shops' Also, here are my urls that calls these classes path('search/', booking_views.ShopListView.as_view(template_name= 'booking/search.html'), name='search'), path('results//', booking_views.ShopDetailView.as_view( template_name='booking/results.html'), name='results'), How can i pass this list from one class based view to the other -- You received this message because you are subscribed to the Google Groups "Django developers (Contributions to Django itself)" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-developers+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/django-developers/3268ec4e-accf-49df-8578-aab18c69ce30%40googlegroups.com.