$ apm install django-atom
- Initial build of Django for Atom from the superb Django TextMate bundle
- Support for django forms
- Snippets for class based views
- Fixed bug in django shortcuts color syntax
- Color syntax in settings constants
- Color syntax in html templates
- Fixed bugs in template syntax color
- Working with Skeletons is easier
- Add utils Snippets
Abbreviation | Tag |
---|---|
autoescape | {% autoescape %} {% autoescape %} |
block | {% block %} {% endblock %} |
blocktrans | {% blocktrans with as %} {% endblocktrans %} |
comment | {% comment %} {% endcomment %} |
csrf | {% csrf_token %} |
cycle | {% cycle as %} |
debug | {% debug %} |
else | {% else %} |
empty | {% empty %} |
extends | {% extends "" %} |
filter | {% filter %} {% endfilter %} |
firstof | {% firstof %} |
for | {% for in %} {% endfor %} |
fore | {% for in %} {% empty %} {% endfor %} |
if | {% if %} {% endif %} |
ifchanged | {% ifchanged %} {% endifchanged %} |
ife | {% if %} {% else %} {% endif %} |
ifelse | {% if %} {% else %} {% endif %} |
ifeq | {% ifequal %} {% endifequal %} |
ifequal | {% ifequal %} {% endifequal %} |
ifnotequal | {% ifnotequal %} {% endifnotequal %} |
include | {% include %} |
load | {% load %} |
now | {% now "" %} |
regroup | {% regroup by as %} |
spaceless | {% spaceless %} {% endspaceless %} |
ssi | {% ssi %} |
static | {% static %} |
super | {% block.super %} |
templatetag | {% templatetag %} |
trans | {% trans %} |
url | {% url %} |
verbatim | {% verbatim %} {% endverbatim %} |
widthratio | {% widthratio %} |
with | {% with as %} {% endwith %} |
Abbreviation | Tag |
---|---|
mauto | models.AutoField() |
mbigint | models.BigIntegerField() |
mbool | models.BooleanField() |
mchar | models.CharField() |
mcoseint | models.CommaSeparatedIntegerField() |
mdate | models.DateField() |
mdatetime | models.DateTimeField() |
mdecimal | models.DecimalField() |
memail | models.EmailField() |
mfile | models.FileField() |
mfilepath | models.FilePathField() |
mfloat | models.FloatField() |
mimg | models.ImageField() |
mint | models.IntegerField() |
mip | models.IPAddressField() |
mnullbool | models.NullBooleanField() |
mphone | models.PhoneNumberField() |
mposint | models.PositiveIntegerField() |
mpossmallin | models.PositiveSmallIntegerField() |
mslug | models.SlugField() |
msmallint | models.SmallIntegerFiled() |
mtext | models.TextField() |
mtime | models.TimeField() |
murl | models.URLField() |
musstate | models.USStateField() |
mxml | models.XMLField() |
fk | models.ForeignKey() |
m2m | models.ManyToManyField() |
o2o | models.OneToOneField() |
Abbreviation | Tag |
---|---|
fchar | forms.CharField() |
fchoice | forms.ChoiceField() |
fcombo | forms.ComboField() |
fdate | forms.DateField() |
fdatetime | forms.DateTime() |
fdecimal | forms.DecimalField() |
femail | forms.EmailField() |
ffile | forms.FileField() |
ffilepath | forms.FilePathField() |
ffloat | forms.FloatField() |
fimg | forms.ImageField() |
fint | forms.IntegerField() |
fip | forms.IPAddressField() |
fmochoice | forms.ModelChoiceField() |
fmomuchoice | forms.ModelMultipleChoiceField() |
fmuchoice | forms.MultipleChoiceField() |
fmuval | forms.MultipleValueField() |
fnullbool | forms.NullBooleanField() |
fregex | forms.RegexField() |
fslug | forms.SlugField() |
fsdatetime | forms.SplitDateTime() |
ftime | forms.TimeField() |
ftchoice | forms.TypedChoiceField() |
ftmuchoice | forms.TypedMultipleChoiceField() |
furl | forms.URLField() |
Abbreviation | Content |
---|---|
form | Form Skeleton |
fview | Function View Skeleton |
model | Model Skeleton |
modelform | ModelForm Skeleton |
Abbreviation | Content |
---|---|
createview | CreateView Skeleton |
deleteview | DeleteView View Skeleton |
detailview | DetailView Skeleton |
listview | ListView Skeleton |
templateview | TemplateView Skeleton |
updateview | UpdateView Skeleton |
cbview | Class Based View Skeleton |
Abbreviation | Content |
---|---|
init | __init__(self, *args, **kwargs) |
ipdb | ipdb.set_trace() |
pdb | pdb.set_trace() |
sendmail | mail.send_mail() |
traceback | TemplateView Skeleton |
updateview | traceback.print_exc() |
url | URL structure |
var | {{ }} |
MIT © Mauricio Ivan