How to configure Atom to autocomplete Django templates
<p>I need to find a way/package to make Atom use autocomplete for Django projects, especially Django templates.
I found this <a href="https://atom.io/packages/django-templates" rel="nofollow">package</a> in Atom's installer, but it doesn't include a shortcut for auto completion of this syntax {%  %}, {{  }} which I need the most.
Any help will be appreciated </p>

<p>You could make your own snippets in Atom.</p>

<p>To do that go to <strong>Edit > Snippets</strong></p>

<p>In the document that open's you can paste this bit:</p>

<pre><code>'.html.django':
  'Example snippet':
    'prefix': '%%'
    'body': '{% $1 %}$2'
</code></pre>

<p>This example would expand to <code>{% %}</code>, placing your cursor inside. To trigger it you type <code>%%</code> and hit <code>tab</code>. A second <code>tab</code> would place the cursor after the closing bracket.</p>

<p>The <code>.html.django</code> part means this snippet is active only in documents that are marked as <code>HTML (Django)</code></p>

<p>I don't see why you would need a snippet for <code>{{ }}</code> as Atom auto-close's the brackets.</p>

<p>For more information read this - <a href="http://flight-manual.atom.io/using-atom/sections/snippets/" rel="nofollow">http://flight-manual.atom.io/using-atom/sections/snippets/</a></p>

python django atom-editor