Django
Snippets for django based projects
Details
Installs
- Total 59K
- Win 28K
- Mac 11K
- Linux 20K
Jan 30 | Jan 29 | Jan 28 | Jan 27 | Jan 26 | Jan 25 | Jan 24 | Jan 23 | Jan 22 | Jan 21 | Jan 20 | Jan 19 | Jan 18 | Jan 17 | Jan 16 | Jan 15 | Jan 14 | Jan 13 | Jan 12 | Jan 11 | Jan 10 | Jan 9 | Jan 8 | Jan 7 | Jan 6 | Jan 5 | Jan 4 | Jan 3 | Jan 2 | Jan 1 | Dec 31 | Dec 30 | Dec 29 | Dec 28 | Dec 27 | Dec 26 | Dec 25 | Dec 24 | Dec 23 | Dec 22 | Dec 21 | Dec 20 | Dec 19 | Dec 18 | Dec 17 | Dec 16 | |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Windows | 1 | 0 | 4 | 1 | 1 | 1 | 1 | 0 | 1 | 1 | 0 | 3 | 1 | 5 | 0 | 3 | 2 | 1 | 0 | 1 | 2 | 4 | 1 | 2 | 3 | 2 | 4 | 1 | 0 | 0 | 1 | 1 | 2 | 1 | 1 | 3 | 0 | 1 | 2 | 0 | 2 | 3 | 0 | 0 | 2 | 3 |
Mac | 1 | 1 | 0 | 0 | 2 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 2 | 0 | 0 | 0 |
Linux | 2 | 0 | 1 | 1 | 2 | 0 | 0 | 0 | 1 | 2 | 1 | 1 | 1 | 0 | 0 | 4 | 1 | 0 | 1 | 1 | 1 | 0 | 2 | 1 | 0 | 1 | 1 | 2 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 2 | 1 | 0 | 1 | 1 | 1 | 2 | 4 |
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.