Skip to content

Latest commit

 

History

History
21 lines (16 loc) · 1.05 KB

README.md

File metadata and controls

21 lines (16 loc) · 1.05 KB

Django Live Templates

A catalog of opinionated Django code snippets to use with the live template functionality of Jetbrain IDEs.

Learn more about live templates here: https://www.jetbrains.com/help/pycharm/using-live-templates.html

How to use

  1. Download the Django snippets.xml file. (Right click + Save as...)
  2. Move the file to the templates folder of your IDE

Windows
C:\Users\{username}\.PyCharm{version}\config\templates
macOS
~/Library/Application Support/JetBrains/PyCharm{version}/templates
Linux
~/.config/JetBrains/PyCharm{version}/templates

  1. Restart your IDE

Additional notes

  • See the Live templates documentation for more information on the different templates.
  • The templates are opinionated and are aimed to work with a specific project structure. Feel free to fork this repo and adapt the templates to your needs.