Skip to content

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

@bendog

Description

@bendog

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/

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions