pythonwa icon indicating copy to clipboard operation
pythonwa copied to clipboard

ValueError: invalid literal for int() with base 10: 'id'

Open bendog opened this issue 4 years ago • 0 comments

Seems we have an unexpected input breaking the site.

ValueError: invalid literal for int() with base 10: 'id'
  File "django/core/handlers/exception.py", line 34, in inner
    response = get_response(request)
  File "django/core/handlers/base.py", line 115, in _get_response
    response = self.process_exception_by_middleware(e, request)
  File "django/core/handlers/base.py", line 113, in _get_response
    response = wrapped_callback(request, *callback_args, **callback_kwargs)
  File "home/views.py", line 98, in home_page
    user_args = list(map(int, date_str.split("-")))

https://sentry.io/share/issue/6d037dec72074f55a59cb50dce38baef/

bendog avatar Mar 30 '20 10:03 bendog