Quicktext.ini content

[8]
a=<a href="#" />$</a>
asdf=text from current tagggggggg
b=<b>$</b>$
body=<body>\n    $\n</body>\n$
c=<!-- $ -->$
comment=<!-- $ -->\n$
css=<link rel="stylesheet" type="text/css" href="$.css" />
cyan=#00FFFF
div=<div />$</div>
form=<form name="$" action="$">\n    $\n</form>\n$
green=#00FF00
h1=<h1>$</h1>$
h2=<h2>$</h2>$
h3=<h3>$</h3>$
h4=<h4>$</h4>$
h5=<h5>$</h5>\n$
h6=<h6>$</h6>\n$
head=<head>\n    $\n</head>\n$
html=<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">\n<html xmlns="http://www.w3.org/1999/xhtml">\n    <head>\n        <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />\n        <title>$</title>\n        <script type="text/javascript" src="$.js"></script>\n        <link rel="stylesheet" href="$.css" /> \n        <script type="text/javascript">\n            $(document)\n.ready(function()\n {\n                $\n            })\n;    \n        </script>\n    </head>\n    <body>\n        $\n    </body>\n</html>
i=<i>$</i>$
id=id="$"
iframe=<iframe src="$" width="$" height="$" />\n$\n</iframe>
img=<img src="$" alt="$" />\n$
input=<input type="$" name="$" />\n$
js=<script src="$" type="text/javascript" /></script>
li=<li>$</li>\n$
link=<a href="$">$</a>$
mangenta=#FF00FF
ol=<ol>\n    <li>$</li>\n    $\n</ol>\n$
p=<p>$</p>$
pre=<pre>$</pre>\n$
red=#FF0000
span=<span>$</span>$
table=<table>\n    <tr>\n        <td>$</td>\n        $\n    </tr>\n    $\n</table>\n$
td=<td>$</td>\n$
title=<title>$</title>\n$
tr=<tr>\n    $\n</tr>\n$
ul=<ul>\n    <li>$</li>\n    $\n</ul>$
white=#FFFFFF
yellow=#FFFF00
{={}
#Django Templates
autoescape={% autoescape off %}\n$\n{% endautoescape %}\n
block={% block block_name %}\n$\n{% endblock %}\n
comment={% comment %}\n$\n{% endcomment %}\n
cycle={% cycle val1 val2 as name %}
debug={% debug %}
extends={% extends "$base.html" %}
filter={% filter name %}\n$\n{% endfilter %}\n
firstof={% firstof name %}
for={% for $obj in list %}\n\n{% endfor %}\n
if={% if $v1 %}\n\n{% else %}\n\n{% endif %}\n
ifchanged={% ifchanged %}\n\n{% else %}\n\n{% endifchanged %}
ifequal={% ifequal $v1 v2 %}\n\n{% else %}\n\n{% endifequal %}\n
ife={% ifequal $v1 v2 %}\n\n{% else %}\n\n{% endifequal %}\n
ifnotequal={% ifnotequal $v1 v2 %}\n\n{% else %}\n\n{% endifnotequal %}
ifn={% ifnotequal $v1 v2 %}\n\n{% else %}\n\n{% endifnotequal %}
include={% include "$" %}
load={% load $ %}
now={% now "$jS F Y H:i" %}
regroup={% regroup $v1 by v2 as v3 %}
spaceless={% spaceless %} $ {% endspaceless %}
ssi={% ssi $ %}
trans={% trans "$" %}
_={% trans "$" %}
url={% url $v1 as v2 %}
widthratio={% widthratio $value max_value v3:100 %}
with={% with $v1 as $v2} %}
 
[22]
#form
form=class $FormName(forms.Form):\n    """docstring"""\n    $field\n
#model
model=class $ModelName(models.Model):\n    """Model docstring"""\n    slug = models.SlugField(max_length=200)\n\n    name = models.CharField(max_length=100, default='name')\n\n\n    updated = models.DateTimeField('update date', auto_now=True )\n\n    created = models.DateTimeField('creation date', auto_now_add=True )\n\n\n    class Meta:\n        pass\n\n     def __unicode__(self):\n         return name\n\n    def save(self, force_insert=False, force_update=False):\n        pass\n\n    @models.permalink\n     def get_absolute_url(self):\n        return ('view_or_url_name')\n\n\nclass $ModelNameAdmin(admin.ModelAdmin):\n    list_display = ('name',)\n\n    search_fields = ['name',]\n\nadmin.site.register(ModelName, ModelNameAdmin)\n\n
#view
view=def $myview(request, a_slug):\n    p = get_object_or_404(ModelName, slug=a_slug)\n\n    return render_to_response('template_name.html', {'object': p},\n                              context_instance=RequestContext(request)\n)\n\n
#Fields
auto=$fieldname = models.AutoField()\n\n
bool=$fieldname = models.BooleanField(default=True)\n
char=$fieldname = models.CharField(max_length=, blank=True)\n
comma=$fieldname = models.CommaSeparatedIntegerField(max_length=, blank=True)\n
date=$fieldname = models.DateField(auto_now_add=True, auto_now=True, blank=True, null=True)\n
datetime=$fieldname = models.DateTimeField(auto_now_add=True, auto_now=True, blank=True, null=True)\n
decimal=$fieldname = models.DecimalField(max_digits=, decimal_places=)\n
email=$fieldname = models.EmailField(max_length=75, blank=True)\n
file=$fieldname = models.FileField(upload_to=path/for/upload, max_length=100)\n
filepath=$fieldname = models.FilePathField(path="/abs/path/to/dir", max_length=100, match="*.ext", recursive=True, blank=True, )\n
float=$fieldname = models.FloatField()\n
image=$fieldname = models.ImageField(upload_to=path/for/upload, height_field=height, width_field=width, max_length=100)\n
int=$fieldname = models.IntegerField()\n
ip=$fieldname = models.IPAddressField()\n
nullbool=$fieldname = models.NullBooleanField()\n
posint=$fieldname = models.PositiveIntegerField()\n
possmallint=$fieldname = models.PositiveSmallIntegerField()\n
slug=$fieldname = models.SlugField(max_length=50, blank=True)\n
smallint=$fieldname = models.SmallIntegerField()\n
text=$fieldname = models.TextField(blank=True})\n
time=$fieldname = models.TimeField(auto_now_add=True, auto_now=True, blank=True, null=True)\n
url=$fieldname = models.URLField(verify_exists=False, max_length=200, blank=True)\n
xml=$fieldname = models.XMLField(schema_path=None, blank=True)\n
# Relational Fields
fk=$fieldname = models.ForeignKey(OtherModel, related_name='', limit_choices_to= , to_field='')\n\n
m2m=$fieldname = models.ManyToManyField(OtherModel, related_name='', limit_choices_to=, symmetrical=False, through='', db_table='')\n\n
o2o=$fieldname= models.OneToOneField(OtherModel, parent_link=True, related_name='' , limit_choices_to=, to_field='')\n\n

You'll get shortcuts for fields, models, foms and Template tags.