Django
Snippets for django based projects
Labels language syntax
Details
Installs
- Total 60K
- Win 29K
- Mac 11K
- Linux 20K
| Nov 1 | Oct 31 | Oct 30 | Oct 29 | Oct 28 | Oct 27 | Oct 26 | Oct 25 | Oct 24 | Oct 23 | Oct 22 | Oct 21 | Oct 20 | Oct 19 | Oct 18 | Oct 17 | Oct 16 | Oct 15 | Oct 14 | Oct 13 | Oct 12 | Oct 11 | Oct 10 | Oct 9 | Oct 8 | Oct 7 | Oct 6 | Oct 5 | Oct 4 | Oct 3 | Oct 2 | Oct 1 | Sep 30 | Sep 29 | Sep 28 | Sep 27 | Sep 26 | Sep 25 | Sep 24 | Sep 23 | Sep 22 | Sep 21 | Sep 20 | Sep 19 | Sep 18 | Sep 17 | |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Windows | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 1 | 0 | 4 | 0 | 0 | 0 | 1 | 3 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 2 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 4 | 1 | 1 | 0 | 2 | 1 | 1 |
| Mac | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 2 |
| Linux | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 3 | 3 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 3 | 0 | 2 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 2 | 2 |
Readme
- Source
- raw.githubusercontent.com
sublime snippets for django projects
This package can be found and downloaded on package control
A set of useful sublime snippets for use with Django. If you have snippet which is useful with django submit a pull request or raise a github issue.
Current snippets:
Models
mauto- AutoFieldmbigint- BigIntegerFieldmbinary- BinaryFieldmchar- CharFieldmcomma- CommaSeparatedIntegerFieldmdate- DateFieldmdatetime- DateTimeFieldmdecimal- DateTimeFieldmduration- DurationFieldmemail- EmailFieldmfile- FileFieldmfilepath- FilePathFieldmfloat- FloatFieldmimage- ImageFieldmint- IntFieldmip- GenericIPAddressFieldmnullbool- NullBooleanFieldmintpos- PositiveIntegerFieldmintsmallpos- PositiveSmallIntegerFieldmslug- SlugFieldmintsmall- SmallIntegerFieldmtext- TextFieldmtime- TimeFieldmuuid- UUIDFieldmodel- basic django modelmforeign- ForeignKeymmany- ManyToManyFieldmone- OneToOneField
Templates
autoescape- auto escape html template syntaxblock- block template syntaxiblock- inline block syntaxcomment- comment template syntaxcsrf- csrf_token template syntaxcycle- basic cycle template syntaxdebug- debug template syntax wrapped in pre tagsextends- extends template syntaxfilter- filter template syntaxfirstof- firstof template syntaxforloop- forloop template syntaxif- if template syntaxelif- elif partial syntaxelse- else partial syntaxchanged- ifchanged template syntaxequal- ifequal template syntaxnotequal- ifnotequal template syntaxinclude- include template syntaxload- load template syntaxlorem- lorem template syntax{- inline tagstag- inline tagsnow- now template syntaxtime- alias to now template syntaxblocktrans- blocktrans template syntaxregroup- regroup template syntaxspaceless- spaceless template syntaxssi- ssi template syntaxvar- alias to{variable template syntax ({{ var_name }})url- url template syntaxurl_as- url as template syntaxverbatim- verbatim template syntaxwidthratio- widthration template syntaxwith- with template syntax
Commands
Whilst there is currently no commands in the project I have created a loose roadmap of commands I would like to encorperate into this package.
Aims
Comprehensive set of django snippets and commands with the aim of making sublime an even more powerful django development tool.