Changes between Version 3 and Version 4 of Ticket #35337


Ignore:
Timestamp:
Mar 28, 2024, 7:31:44 AM (8 months ago)
Author:
Natalia Bidart
Comment:

Hola! Thank you for your report.

Could you please attach your models (or similar models) that would make this a complete reproducible example?

Thank you!

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #35337

    • Property Type UncategorizedBug
  • Ticket #35337 – Description

    v3 v4  
    4444
    4545{{{
    46 
     461       Environment:
     472       
     483       
     494       Request Method: GET
     505       Request URL: http://192.168.101.60/admin/mpublico/licitacionitem/54719/change/?_changelist_filters=_facets%3DTrue
     516       
     527       Django Version: 5.0.3
     538       Python Version: 3.10.12
     549       Installed Applications:
     5510      ['django.contrib.admin',
     5611       'django.contrib.auth',
     5712       'django.contrib.contenttypes',
     5813       'django.contrib.sessions',
     5914       'django.contrib.messages',
     6015       'django.contrib.staticfiles',
     6116       'localflavor',
     6217       'mpublico',
     6318       'rest_framework',
     6419       'rest_framework.authtoken',
     6520       'django_celery_results',
     6621       'debug_toolbar',
     6722       'import_export']
     6823      Installed Middleware:
     6924      ['debug_toolbar.middleware.DebugToolbarMiddleware',
     7025       'django.middleware.security.SecurityMiddleware',
     7126       'django.contrib.sessions.middleware.SessionMiddleware',
     7227       'django.middleware.common.CommonMiddleware',
     7328       'django.middleware.csrf.CsrfViewMiddleware',
     7429       'django.contrib.auth.middleware.AuthenticationMiddleware',
     7530       'django.contrib.messages.middleware.MessageMiddleware',
     7631       'django.middleware.clickjacking.XFrameOptionsMiddleware']
     7732     
     7833     
     7934     
     8035      Traceback (most recent call last):
     8136        File "/home/erp/erp/venv/lib/python3.10/site-packages/django/core/handlers/exception.py", line 55, in inner
     8237          response = get_response(request)
     8338        File "/home/erp/erp/venv/lib/python3.10/site-packages/django/core/handlers/base.py", line 197, in _get_response
     8439          response = wrapped_callback(request, *callback_args, **callback_kwargs)
     8540        File "/home/erp/erp/venv/lib/python3.10/site-packages/django/contrib/admin/options.py", line 716, in wrapper
     8641          return self.admin_site.admin_view(view)(*args, **kwargs)
     8742        File "/home/erp/erp/venv/lib/python3.10/site-packages/django/utils/decorators.py", line 188, in _view_wrapper
     8843          result = _process_exception(request, e)
     8944        File "/home/erp/erp/venv/lib/python3.10/site-packages/django/utils/decorators.py", line 186, in _view_wrapper
     9045          response = view_func(request, *args, **kwargs)
     9146        File "/home/erp/erp/venv/lib/python3.10/site-packages/django/views/decorators/cache.py", line 80, in _view_wrapper
     9247          response = view_func(request, *args, **kwargs)
     9348        File "/home/erp/erp/venv/lib/python3.10/site-packages/django/contrib/admin/sites.py", line 240, in inner
     9449          return view(request, *args, **kwargs)
     9550        File "/home/erp/erp/erp/mpublico/admin.py", line 98, in change_view
     9651          return super(LicitacionItemAdmin, self).change_view(request, object_id, extra_context)
     9752        File "/home/erp/erp/venv/lib/python3.10/site-packages/django/contrib/admin/options.py", line 1948, in change_view
     9853          return self.changeform_view(request, object_id, form_url, extra_context)
     9954        File "/home/erp/erp/venv/lib/python3.10/site-packages/django/utils/decorators.py", line 48, in _wrapper
     10055          return bound_method(*args, **kwargs)
     10156        File "/home/erp/erp/venv/lib/python3.10/site-packages/django/utils/decorators.py", line 188, in _view_wrapper
     10257          result = _process_exception(request, e)
     10358        File "/home/erp/erp/venv/lib/python3.10/site-packages/django/utils/decorators.py", line 186, in _view_wrapper
     10459          response = view_func(request, *args, **kwargs)
     10560        File "/home/erp/erp/venv/lib/python3.10/site-packages/django/contrib/admin/options.py", line 1804, in changeform_view
     10661          return self._changeform_view(request, object_id, form_url, extra_context)
     10762        File "/home/erp/erp/venv/lib/python3.10/site-packages/django/contrib/admin/options.py", line 1940, in _changeform_view
     10863          return self.render_change_form(
     10964        File "/home/erp/erp/venv/lib/python3.10/site-packages/django/contrib/admin/options.py", line 1294, in render_change_form
     11065          form_url = add_preserved_filters(
     11166        File "/home/erp/erp/venv/lib/python3.10/site-packages/django/contrib/admin/templatetags/admin_urls.py", line 37, in add_preserved_filters
     11267          match_url = "/%s" % unquote(url).partition(get_script_prefix())[2]
     11368        File "/usr/lib/python3.10/urllib/parse.py", line 667, in unquote
     11469          if '%' not in string:
     11570     
     11671      Exception Type: TypeError at /admin/mpublico/licitacionitem/54719/change/
     11772      Exception Value: argument of type 'NoneType' is not iterable
    47118}}}
    48 
    49 
    50 
    51 
    52 
    53 
Back to Top