Textmate Python/django Cheat Sheet

  • Uploaded by: Flo
  • 0
  • 0
  • November 2019
  • PDF

This document was uploaded by user and they confirmed that they have the permission to share it. If you are author or own the copyright of this book, please report to us by using this DMCA report form. Report DMCA


Overview

Download & View Textmate Python/django Cheat Sheet as PDF for free.

More details

  • Words: 154
  • Pages:
TextMate Python/Django/ReST Cheat Sheet PYTHON COMMANDS

⌃⌥⇧P

Pydoc for curr. selection

F3

Run script in terminal Run UnitTests

DJANGO COMMANDS Search djangoproject

DJANGO TEMPLATE ⌃H

⌘⇧R

Add filter Block {% tag %}

⌥⌘⇧R

⌃⌥⇧D ⌘| ⌃%

Comment {# tag #}

⌃#

Variable {{ tag }}

⌃{

Execute line/selection

⌃⇧E

DJANGO SNIPPETS

Debug script in terminal

⇧⌘D

mail.sendmail function

Pydoc in browser

⌃⇧H

TEMPLATE SNIPPETS

Copy curr. block symbol

⌃⌥C

template function name

...⇥

Show curr. block symbol

⌃⌥P

Templatetag openblock

{%⇥ %}⇥

PYTHON SNIPPETS If name == main block New property self.

sendmail⇥

DJANGO FIELDS Field name, lc, w/o “Field”

...⇥

Templatetag closeblock

ForeignKey

fk⇥

Templatetag openvar

{{⇥

Templatetag closevar

}}⇥

ReST SNIPPETS ifmain⇥ property⇥ .⇥

Section tag Subsection tag

subs⇥

ReST COMMANDS

⌃⌥⇧R

Subsubsection tag

sss⇥

Convert to HTML

⌃⇧H

link⇥

Goto next section

⌘~

Create HTML/XML/S5

⌘R

Try/except blocks

try⇥

Link tag

__magic__

__⇥

Image tag

TextMate Python/Django/ReST Cheat Sheet

sec⇥

image⇥

Related Documents


More Documents from ".xml"

Tetris_-_kopan
June 2020 12
December 2019 13
December 2019 16