Changes between Version 5 and Version 6 of TemplateTagsCheatSheet
- Timestamp:
- Feb 17, 2012, 4:08:15 AM (13 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
TemplateTagsCheatSheet
v5 v6 31 31 * It is {% now "jS F Y H:i" %} 32 32 * {% spaceless %} ... {% endspaceless %} 33 == Model fields Common option == 34 * null = False 35 * blank = False 36 * choices = list_of_tuples 37 * db_column = "column_name" 38 * db_index = False 39 * db_tablespace = "tablespace_name" 40 * default = value_or_func 41 * editable = True 42 * help_text = "text" 43 * primary_key = False 44 * unique = False 45 * unique_for_date = "date_field" 46 * unique_for_month = "date_field" 47 * unique_for_year = "date_field" 33 48 34 49 See also [http://www.djangoproject.com/documentation/templates/ templates for designers].