PyCharm 4.0.0 Web Help

Some features described here are available in the Professional edition only.

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, Ctrl+Button1 Click or Button2 ClickCtrl+B, Ctrl+Button1 Click or Button2 ClickCtrl+B, Ctrl+Button1 Click or Button2 ClickCtrl+B, Ctrl+Button1 Click or Button2 ClickCtrl+Alt+G, Escape, Period, Alt+Period or Ctrl+Button1 ClickF12, Shift+F2, Ctrl+B, Ctrl+Button1 Click or Button2 ClickCtrl+B, Ctrl+Button1 Click or Button2 ClickF3 or Ctrl+Button1 ClickCommand B, Command Button1 Click or Button2 ClickCommand B, Command Button1 Click or Button2 ClickF3 or Control Button1 Click on a url argument:

    py_named_url_navigation

See Also

Procedures:

External Links:

Web Resources: