PyCharm 4.5.3 Help

Navigation and Completion for Named url Tags in Django Templates

PyCharm provides extensive support for the named url tags. This support includes:

  • Django inspection that checks whether the required arguments are passed correctly to a {% url %} tag:
    py_named_url_inspection
  • Django inspection checks argument values against regexp groups and adds warning if a group does not match:
    py_named_url_inspection_1
  • Suggestion list on code completion includes names for the named arguments (if any):
    py_named_url_completion
  • Ability to navigate to an appropriate regex group by pressing Ctrl+B on a url argument:
    py_named_url_navigation

See Also

Last modified: 18 July 2015