Changes between Version 5 and Version 6 of TemplateTagsCheatSheet


Ignore:
Timestamp:
Feb 17, 2012, 4:08:15 AM (13 years ago)
Author:
anonymous
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • TemplateTagsCheatSheet

    v5 v6  
    3131 * It is {% now "jS F Y H:i" %}
    3232 * {% 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"
    3348
    3449See also [http://www.djangoproject.com/documentation/templates/ templates for designers].
Back to Top