{
  "id": "python/django-template-variable-error",
  "signature": "django.template.exceptions.TemplateSyntaxError: Could not parse the remainder: '=' from 'user.age='",
  "signature_zh": "Django模板语法错误：无法解析剩余部分：'=' 来自 'user.age='",
  "regex": "django\\.template\\.exceptions\\.TemplateSyntaxError:\\ Could\\ not\\ parse\\ the\\ remainder:\\ '='\\ from\\ 'user\\.age='",
  "domain": "python",
  "category": "data_error",
  "subcategory": null,
  "root_cause": "Incorrect template syntax, often due to misplaced equals sign or filter syntax.",
  "root_cause_type": "generic",
  "root_cause_zh": "模板语法不正确，通常由于等号位置错误或过滤器语法错误。",
  "versions": [
    {
      "version": "3.x",
      "introduced": null,
      "deprecated": null,
      "removed": null,
      "behavior_change": null,
      "status": "active"
    }
  ],
  "os_specific": {},
  "dead_ends": [
    {
      "action": "Adding spaces around =",
      "why_fails": "Django template syntax is strict.",
      "fail_rate": 0.8,
      "condition": "",
      "sources": []
    },
    {
      "action": "Using Python syntax in templates",
      "why_fails": "Templates use Django template language, not Python.",
      "fail_rate": 0.9,
      "condition": "",
      "sources": []
    }
  ],
  "workarounds": [
    {
      "action": "Use correct template filter syntax",
      "success_rate": 0.95,
      "how": "{{ user.age|default:'N/A' }}",
      "condition": "",
      "sources": []
    },
    {
      "action": "Remove equals sign",
      "success_rate": 0.9,
      "how": "{{ user.age }}",
      "condition": "",
      "sources": []
    }
  ],
  "workarounds_zh": [],
  "transition_graph": {
    "leads_to": [],
    "preceded_by": [],
    "frequently_confused_with": []
  },
  "official_doc_url": null,
  "official_doc_section": null,
  "error_code": null,
  "verification_tier": "ai_generated",
  "confidence": 0.85,
  "fix_success_rate": 0.8,
  "resolvable": "true",
  "first_seen": "2024-08-01",
  "last_confirmed": "2025-01-01",
  "last_updated": "2025-01-01",
  "evidence_count": 0,
  "tags": [],
  "locale": "en",
  "aliases": []
}