[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"detail-sidebar-cat-1-en-105":3,"doc-seo-573336-105":53,"doc-detail-573336-en":120},{"code":4,"msg":5,"data":6},0,"success",[7,14,19,24,29,34,39,44,49],{"id":8,"doc_module":9,"doc_module_name":10,"category_name":11,"show_sort_weight":12,"slug":13},11,1,"Template","Presentations",90,"presentations",{"id":15,"doc_module":9,"doc_module_name":10,"category_name":16,"show_sort_weight":17,"slug":18},12,"Resumes",80,"resumes",{"id":20,"doc_module":9,"doc_module_name":10,"category_name":21,"show_sort_weight":22,"slug":23},14,"Invoices",70,"invoices",{"id":25,"doc_module":9,"doc_module_name":10,"category_name":26,"show_sort_weight":27,"slug":28},15,"Posters",60,"posters",{"id":30,"doc_module":9,"doc_module_name":10,"category_name":31,"show_sort_weight":32,"slug":33},16,"Social Media",50,"social-media",{"id":35,"doc_module":9,"doc_module_name":10,"category_name":36,"show_sort_weight":37,"slug":38},17,"Forms",40,"forms",{"id":40,"doc_module":9,"doc_module_name":10,"category_name":41,"show_sort_weight":42,"slug":43},18,"Letters",30,"letters",{"id":45,"doc_module":9,"doc_module_name":10,"category_name":46,"show_sort_weight":47,"slug":48},21,"Paper Templates",5,"papers-templates",{"id":50,"doc_module":9,"doc_module_name":10,"category_name":51,"show_sort_weight":4,"slug":52},158,"General","general-158",{"code":4,"msg":54,"data":55},"ok",{"site_id":56,"language":57,"slug":58,"title":59,"keywords":60,"description":61,"schema_data":62,"social_meta":113,"head_meta":115,"extra_data":117,"updated_unix":119},105,"en","django-13-cheatsheet","DJANGO 1.3 CHEATSHEET","","DJANGO 1.3 CHEATSHEET provides a compact reference for Django 1.3 model and admin development. It summarizes common model field options (null/blank/choices/default/validators, help_text, unique constraints, verbose names), core ORM field types (AutoField through URLField), upload and path-related parameters, QuerySet chaining methods, Model Meta options, relationships (ForeignKey, ManyToManyField, OneToOneField), lookup filters, and admin ModelAdmin options and callbacks for customizing list views, forms, permissions, and actions.",{"@graph":63,"@context":112},[64,80,95],{"@type":65,"itemListElement":66},"BreadcrumbList",[67,71,74,77],{"item":68,"name":69,"@type":70,"position":9},"https://docshare.wps.com","Home","ListItem",{"item":72,"name":10,"@type":70,"position":73},"https://docshare.wps.com/template/",2,{"item":75,"name":11,"@type":70,"position":76},"https://docshare.wps.com/template/presentations/",3,{"item":78,"name":59,"@type":70,"position":79},"https://docshare.wps.com/template/django-13-cheatsheet/573336/",4,{"url":78,"name":59,"@type":81,"author":82,"headline":59,"publisher":85,"fileFormat":88,"inLanguage":57,"description":61,"dateModified":89,"datePublished":89,"encodingFormat":88,"isAccessibleForFree":90,"interactionStatistic":91},"DigitalDocument",{"name":83,"@type":84},"lugxt","Person",{"url":68,"name":86,"@type":87},"DocShare","Organization","application/pdf","2026-10-14",true,{"@type":92,"interactionType":93,"userInteractionCount":4},"InteractionCounter",{"@type":94},"ViewAction",{"@type":96,"mainEntity":97},"FAQPage",[98,104,108],{"name":99,"@type":100,"acceptedAnswer":101},"What kinds of information does the Django 1.3 cheatsheet cover?","Question",{"text":102,"@type":103},"It covers common model field options, the standard Django model field types, QuerySet chaining methods, Model Meta options, model relationships, lookups, and ModelAdmin configuration and callbacks.","Answer",{"name":105,"@type":100,"acceptedAnswer":106},"Which QuerySet methods are listed for building database queries?",{"text":107,"@type":103},"It lists chainable QuerySet methods such as all(), filter(), exclude(), annotate(), order_by(), values(), values_list(), distinct(), count(), aggregate(), update(), and delete(), along with select_related() and defer() for optimization.",{"name":109,"@type":100,"acceptedAnswer":110},"What does the cheatsheet include for configuring the Django admin?",{"text":111,"@type":103},"It includes ModelAdmin options like list_display, list_filter, search_fields, pagination settings, templates, form templates, actions configuration, and callback methods such as add_view, change_view, delete_model, has_add_permission, and message_user.","https://schema.org",{"og:url":78,"og:type":114,"og:title":59,"og:site_name":86,"og:description":61},"article",{"robots":116,"canonical":78},"index,follow",{"doc_id":118,"site_id":56},573336,1791937453,{"code":4,"msg":5,"data":121},{"doc_id":118,"user_id":122,"nickname":83,"user_avatar":123,"doc_module":9,"category_id":8,"category_name":11,"doc_title":59,"doc_description":61,"doc_content":124,"file_id":125,"file_url":126,"file_type":127,"file_size":128,"view_count":4,"is_deleted":4,"is_public":9,"is_downloadable":9,"audit_status":9,"page_count":73,"language":129,"language_code":57,"site_id":56,"html_lang":57,"table_of_contents":130,"faqs":131,"seo_title":132,"seo_description":61,"update_tm":119,"read_time":9},3985747862600,"https://ap-avatar.wpscdn.com/davatar_9964176cb1d06d4a9deccf72a44ae3dc","Brought to you by  \nWe know Django. [http://revsys.com/](http://revsys.com/)  \nDJANGO 1.3 CHEATSHEET  \n\n| Common model ﬁeld options |  |  | Model ﬁelds | ➥\u003Cbr>Find more details in Django’s ofﬁcial docs:\u003Cbr>[http://django.me/](http://django.me/)\u003Cany object here> |  | ModelAdmin options & callbacks |\n| --- | --- | --- | --- | --- | --- | --- |\n| null = False\u003Cbr>blank = False\u003Cbr>choices = [(1,“Choice 1”),…]\u003Cbr>db_column = “column_name”\u003Cbr>db_index = False\u003Cbr>db_tablespace = “tablespace_name”\u003Cbr>default = value_or_callable\u003Cbr>error_messages = {”name”: “Message”,…},\u003Cbr>help_text = “long help text”\u003Cbr>primary_key = False\u003Cbr>unique = False\u003Cbr>unique_for_date = “date_ﬁeld”\u003Cbr>unique_for_month = “month_ﬁeld”\u003Cbr>verbose_name = “Field Name”\u003Cbr>validators = [validator_obj,…] |  |  | AutoField\u003Cbr>BigIntegerField\u003Cbr>BooleanField, NullBooleanField\u003Cbr>CharField\u003Cbr>max_length = 100\u003Cbr>CommaSeparatedIntegerField\u003Cbr>max_length = 50\u003Cbr>DateField\u003Cbr>DateTimeField\u003Cbr>DecimalField\u003Cbr>max_digits = 10\u003Cbr>decimal_places = 2\u003Cbr>EmailField\u003Cbr>max_length = 75\u003Cbr>FileField\u003Cbr>upload_to = “ﬁles/%Y/%m/%d”\u003Cbr>storage = ﬁle_storage_obj\u003Cbr>max_length = 100\u003Cbr>FilePathField\u003Cbr>path = “/var/images”\u003Cbr>match = r”\\ . pdf$”\u003Cbr>recursive = True\u003Cbr>max_length = 100\u003Cbr>FloatField\u003Cbr>FileField\u003Cbr>upload_to = “/uploads”\u003Cbr>storage = ﬁle_storage_obj\u003Cbr>max_length = 100\u003Cbr>ImageField\u003Cbr>upload_to = “/uploads”\u003Cbr>storage = ﬁle_storage_obj\u003Cbr>height_ﬁeld = “ﬁeld_name”\u003Cbr>width_ﬁeld = “ﬁeld_name”\u003Cbr>max_length = 100\u003Cbr>IntegerField , PositiveIntegerField , PositiveSmallIntegerField IPAddressField\u003Cbr>SlugField\u003Cbr>max_length = 100\u003Cbr>SmallIntegerField\u003Cbr>TextField\u003Cbr>TimeField\u003Cbr>URLField\u003Cbr>verify_exists = False |  |  | actions = [\"method\", callback,…]\u003Cbr>actions_on_bottom = False\u003Cbr>actions_on_top = True\u003Cbr>actions_selection_counter = True\u003Cbr>add_form_template = 'add_form. html'\u003Cbr>change_form_template = 'change_form.html'change_list_template = 'changelist.html',\u003Cbr>date_hierarchy = \"date_ﬁeld\"\u003Cbr>delete_conﬁrmation_template = 'delete. html'delete_selected_conﬁrmation_template = 'del. html'exclude = [\"ﬁeld_name\",…]\u003Cbr>ﬁelds = [\"ﬁeld_name\",…]\u003Cbr>ﬁeldsets\u003Cbr>= [(\"Name\", {\"ﬁelds\": [\"ﬁeld_name\",…]}),…]ﬁlter_horizontal = [\"m2m_ﬁeld\",…]\u003Cbr>ﬁlter_vertical = [\"m2m_ﬁeld\",…]\u003Cbr>form = ModelFormClass\u003Cbr>formﬁeld_overrides\u003Cbr>= {TextField: {\"widget\": MyWidget},…} inlines = [InlineClass,…]\u003Cbr>list_display = [\"ﬁeld_name\", callable,…]\u003Cbr>list_display_links = ['ﬁeld_name',…]\u003Cbr>list_editable = ['ﬁeld_name',…]\u003Cbr>list_ﬁlter = ['ﬁeld_name',…]\u003Cbr>list_per_page = 100\u003Cbr>list_select_related = False\u003Cbr>object_history_template = 'admin/history. html', ordering = ['ﬁeld_name']\u003Cbr>paginator = Paginator\u003Cbr>prepopulated_ﬁelds = {'slug': ['title'],…}\u003Cbr>radio_ﬁelds = {'fk_ﬁeld': admin. HORIZONTAL,…} raw_id_ﬁelds = ['fk_or_m2m_ﬁeld',…]\u003Cbr>readonly_ﬁelds = ['ﬁeld_name',…]\u003Cbr>save_as = False\u003Cbr>save_on_top = False\u003Cbr>search_ﬁelds = ['ﬁeld_name'] |\n|  |  |  |  | QuerySet methods |  |  |\n|  |  |  |  | Chain able | all()\u003Cbr>annotate(**annotations)\u003Cbr>dates(ﬁeld, \"year/month/day\", \"ASC/DESC\") defer(*ﬁelds)\u003Cbr>distinct()\u003Cbr>exclude(**lookups)\u003Cbr>ﬁlter(**lookups)\u003Cbr>none()\u003Cbr>only(*ﬁelds)\u003Cbr>order_by(*ﬁelds)\u003Cbr>raw(sql, params)\u003Cbr>reverse()\u003Cbr>select_related(‘ﬁeld’, ‘ﬁeld2’,…, depth=1) using(“db_alias”)\u003Cbr>values(*ﬁelds)\u003Cbr>values_list(*ﬁelds)\u003Cbr>values_list(ﬁeld, ﬂat=True) |  |\n| Model Meta options |  |  |  |  |  |  |\n| abstract = False\u003Cbr>app_label = \"applabel\"\u003Cbr>db_table = \"table_name\"\u003Cbr>db_tablespace = \"space_name\"\u003Cbr>get_latest_by = \"ﬁeld_name\"\u003Cbr>managed = False\u003Cbr>order_with_respect_to = \"ﬁeld\"\u003Cbr>ordering = [\"ﬁeld_name\",…]\u003Cbr>permissions = [(\"code\", \"text label\"),…] proxy = False\u003Cbr>unique_together = [(\"ﬁeld1\", \"ﬁeld2\"),…] verbose_name = \"verbose name\"\u003Cbr>verbose_name_plural = \"plural verbose names\" |  |  |  |  |  |  |\n|  |  |  |  | Not chainable | get(**lookups)\u003Cbr>create(**attributes)\u003Cbr>get_or_create(**attributes, defaults={})\u003Cbr>count()\u003Cbr>in_bulk(id_list)\u003Cbr>iterator()\u003Cbr>latest(ﬁeld)\u003Cbr>aggregate","cbCaikIXlKwiCNMw","https://ap.wps.com/l/cbCaikIXlKwiCNMw","pdf",165062,"English","# Common model field options\n## Model fields and ORM types\n# ModelAdmin options & callbacks\n## QuerySet methods\n# Model Meta options\n## Relationships and lookups","[{\"question\":\"What kinds of information does the Django 1.3 cheatsheet cover?\",\"answer\":\"It covers common model field options, the standard Django model field types, QuerySet chaining methods, Model Meta options, model relationships, lookups, and ModelAdmin configuration and callbacks.\"},{\"question\":\"Which QuerySet methods are listed for building database queries?\",\"answer\":\"It lists chainable QuerySet methods such as all(), filter(), exclude(), annotate(), order_by(), values(), values_list(), distinct(), count(), aggregate(), update(), and delete(), along with select_related() and defer() for optimization.\"},{\"question\":\"What does the cheatsheet include for configuring the Django admin?\",\"answer\":\"It includes ModelAdmin options like list_display, list_filter, search_fields, pagination settings, templates, form templates, actions configuration, and callback methods such as add_view, change_view, delete_model, has_add_permission, and message_user.\"}]","DJANGO 1.3 CHEATSHEET | PDF"]