FieldError at /tickets/TKT001/ Cannot resolve keyword 'ticket_number' into field. Choices are: assigned_to, assigned_to_id, attachments, category, comments, created_at, created_by, created_by_id, customer, customer_id, description, id, priority, resolved_at, status, ticket_id, title, updated_at Request Method: GET Request URL: http://7a7f08a3-f24d-4ac6-bd06-d0386ed34d90-00-134azppx5f9s7.worf.replit.dev/tickets/TKT001/ Django Version: 5.0.2 Exception Type: FieldError Exception Value: Cannot resolve keyword 'ticket_number' into field. Choices are: assigned_to, assigned_to_id, attachments, category, comments, created_at, created_by, created_by_id, customer, customer_id, description, id, priority, resolved_at, status, ticket_id, title, updated_at Exception Location: /home/runner/workspace/.pythonlibs/lib/python3.10/site-packages/django/db/models/sql/query.py, line 1772, in names_to_path Raised during: tickets.views.ticket_detail Python Executable: /home/runner/workspace/.pythonlibs/bin/python Python Version: 3.10.18 Python Path: ['/home/runner/workspace', '/nix/store/zz7i75jb78idaz0rb1y1i4rzdyxq28vf-sitecustomize/lib/python/site-packages', '/nix/store/xpxqdrjisrwlpm2dnisd2r08iq2qx930-python3.10-pip-25.0.1/lib/python3.10/site-packages', '/nix/store/jyvjawqnhnqhwrsinpvx1av7q2p2fcym-python3-3.10.18/lib/python310.zip', '/nix/store/jyvjawqnhnqhwrsinpvx1av7q2p2fcym-python3-3.10.18/lib/python3.10', '/nix/store/jyvjawqnhnqhwrsinpvx1av7q2p2fcym-python3-3.10.18/lib/python3.10/lib-dynload', '/home/runner/workspace/.pythonlibs/lib/python3.10/site-packages', '/nix/store/jyvjawqnhnqhwrsinpvx1av7q2p2fcym-python3-3.10.18/lib/python3.10/site-packages', '/home/runner/workspace/.pythonlibs/lib/python3.10/site-packages', '/nix/store/dl6xr8gz142jqd6gzmh43r4za60hfv0c-python3.10-setuptools-80.7.1/lib/python3.10/site-packages'] Server time: Wed, 23 Jul 2025 23:28:34 +0000 Traceback Switch to copy-and-paste view /home/runner/workspace/.pythonlibs/lib/python3.10/site-packages/django/core/handlers/exception.py, line 55, in inner response = get_response(request) … Local vars /home/runner/workspace/.pythonlibs/lib/python3.10/site-packages/django/core/handlers/base.py, line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) … Local vars /home/runner/workspace/.pythonlibs/lib/python3.10/site-packages/django/contrib/auth/decorators.py, line 23, in _wrapper_view return view_func(request, *args, **kwargs) … Local vars /home/runner/workspace/tickets/views.py, line 110, in ticket_detail ticket = get_object_or_404(Ticket, ticket_number=ticket_number)