MCPcopy Create free account

hub / github.com/PacktPublishing/Django-3-Web-Development-Cookbook-Fourth-Edition / functions

Functions1,173 in github.com/PacktPublishing/Django-3-Web-Development-Cookbook-Fourth-Edition

Functionlogout
(request)
ch07/myproject_virtualenv/src/django-myproject/myproject/apps/external_auth/views.py:22
Methodlookups
Returns a list of tuples, akin to the values given for model field choices. The first element in each tuple is the coded valu
ch06/myproject_virtualenv/src/django-myproject/myproject/apps/products/admin4.py:111
Functionmodify_query
Renders a link with modified current query parameters
ch12/myproject_virtualenv/src/django-myproject/myproject/apps/core/templatetags/utility_tags.py:191
Functionmodify_query
Renders a link with modified current query parameters
ch13/myproject_virtualenv/src/django-myproject/myproject/apps/core/templatetags/utility_tags.py:191
Functionmodify_query
Renders a link with modified current query parameters
ch08/myproject_virtualenv/src/django-myproject/myproject/apps/core/templatetags/utility_tags.py:191
Functionmodify_query
Renders a link with modified current query parameters
ch09/myproject_virtualenv/src/django-myproject/myproject/apps/core/templatetags/utility_tags.py:191
Functionmodify_query
Renders a link with modified current query parameters
ch03/myproject_virtualenv/src/django-myproject/myproject/apps/core/templatetags/utility_tags.py:26
Functionmodify_query
Renders a link with modified current query parameters
ch05/myproject_virtualenv/src/django-myproject/myproject/apps/core/templatetags/utility_tags.py:191
Functionmodify_query
Renders a link with modified current query parameters
ch10/myproject_virtualenv/src/django-myproject/myproject/apps/core/templatetags/utility_tags.py:191
Functionmodify_query
Renders a link with modified current query parameters
ch06/myproject_virtualenv/src/django-myproject/myproject/apps/core/templatetags/utility_tags.py:191
Functionmodify_query
Renders a link with modified current query parameters
ch04/myproject_virtualenv/src/django-myproject/myproject/apps/core/templatetags/utility_tags.py:26
Functionmodify_query
Renders a link with modified current query parameters
ch11/myproject_virtualenv/src/django-myproject/myproject/apps/core/templatetags/utility_tags.py:191
Functionmodify_query
Renders a link with modified current query parameters
ch07/myproject_docker/src/myproject/myproject/apps/core/templatetags/utility_tags.py:191
Functionmodify_query
Renders a link with modified current query parameters
ch07/myproject_virtualenv/src/django-myproject/myproject/apps/core/templatetags/utility_tags.py:191
Functionnews_delete_handler
(sender, **kwargs)
ch01/myproject_virtualenv/src/django-myproject/myproject/apps/magazine/signals.py:14
Functionnews_save_handler
(sender, **kwargs)
ch01/myproject_virtualenv/src/django-myproject/myproject/apps/magazine/signals.py:8
Functionobject_relation_base_factory
Returns a mixin class for generic foreign keys using "Content type - object ID" with dynamic field names. This function is just a class g
ch08/myproject_virtualenv/src/django-myproject/myproject/apps/core/models.py:158
Functionobject_relation_base_factory
Returns a mixin class for generic foreign keys using "Content type - object ID" with dynamic field names. This function is just a class g
ch09/myproject_virtualenv/src/django-myproject/myproject/apps/core/models.py:124
Functionobject_relation_base_factory
Returns a mixin class for generic foreign keys using "Content type - object ID" with dynamic field names. This function is just a class g
ch03/myproject_virtualenv/src/django-myproject/myproject/apps/core/models.py:158
Functionobject_relation_base_factory
Returns a mixin class for generic foreign keys using "Content type - object ID" with dynamic field names. This function is just a class g
ch02/myproject_virtualenv/src/django-myproject/myproject/apps/core/models.py:158
Functionobject_relation_base_factory
Returns a mixin class for generic foreign keys using "Content type - object ID" with dynamic field names. This function is just a class g
ch05/myproject_virtualenv/src/django-myproject/myproject/apps/core/models.py:158
Functionobject_relation_base_factory
Returns a mixin class for generic foreign keys using "Content type - object ID" with dynamic field names. This function is just a class g
ch10/myproject_virtualenv/src/django-myproject/myproject/apps/core/models.py:113
Functionobject_relation_base_factory
Returns a mixin class for generic foreign keys using "Content type - object ID" with dynamic field names. This function is just a class g
ch06/myproject_virtualenv/src/django-myproject/myproject/apps/core/models.py:158
Functionobject_relation_base_factory
Returns a mixin class for generic foreign keys using "Content type - object ID" with dynamic field names. This function is just a class g
ch07/myproject_docker/src/myproject/myproject/apps/core/models.py:158
Functionobject_relation_base_factory
Returns a mixin class for generic foreign keys using "Content type - object ID" with dynamic field names. This function is just a class g
ch07/myproject_virtualenv/src/django-myproject/myproject/apps/core/models.py:158
Functionparse
Parses a value as a template and prints or saves to a variable Usage: {% parse <template_value> [as <variable>] %} Examples:
ch12/myproject_virtualenv/src/django-myproject/myproject/apps/core/templatetags/utility_tags.py:152
Functionparse
Parses a value as a template and prints or saves to a variable Usage: {% parse <template_value> [as <variable>] %} Examples:
ch13/myproject_virtualenv/src/django-myproject/myproject/apps/core/templatetags/utility_tags.py:152
Functionparse
Parses a value as a template and prints or saves to a variable Usage: {% parse <template_value> [as <variable>] %} Examples:
ch08/myproject_virtualenv/src/django-myproject/myproject/apps/core/templatetags/utility_tags.py:152
Functionparse
Parses a value as a template and prints or saves to a variable Usage: {% parse <template_value> [as <variable>] %} Examples:
ch09/myproject_virtualenv/src/django-myproject/myproject/apps/core/templatetags/utility_tags.py:152
Functionparse
Parses a value as a template and prints or saves to a variable Usage: {% parse <template_value> [as <variable>] %} Examples:
ch05/myproject_virtualenv/src/django-myproject/myproject/apps/core/templatetags/utility_tags.py:152
Functionparse
Parses a value as a template and prints or saves to a variable Usage: {% parse <template_value> [as <variable>] %} Examples:
ch10/myproject_virtualenv/src/django-myproject/myproject/apps/core/templatetags/utility_tags.py:152
Functionparse
Parses a value as a template and prints or saves to a variable Usage: {% parse <template_value> [as <variable>] %} Examples:
ch06/myproject_virtualenv/src/django-myproject/myproject/apps/core/templatetags/utility_tags.py:152
Functionparse
Parses a value as a template and prints or saves to a variable Usage: {% parse <template_value> [as <variable>] %} Examples:
ch11/myproject_virtualenv/src/django-myproject/myproject/apps/core/templatetags/utility_tags.py:152
Functionparse
Parses a value as a template and prints or saves to a variable Usage: {% parse <template_value> [as <variable>] %} Examples:
ch07/myproject_docker/src/myproject/myproject/apps/core/templatetags/utility_tags.py:152
Functionparse
Parses a value as a template and prints or saves to a variable Usage: {% parse <template_value> [as <variable>] %} Examples:
ch07/myproject_virtualenv/src/django-myproject/myproject/apps/core/templatetags/utility_tags.py:152
Methodprepare
(self, instance)
ch03/myproject_virtualenv/src/django-myproject/myproject/apps/ideas/documents.py:155
Methodprepare_author
(self, instance)
ch03/myproject_virtualenv/src/django-myproject/myproject/apps/ideas/documents.py:187
Methodprepare_categories
(self, instance)
ch03/myproject_virtualenv/src/django-myproject/myproject/apps/ideas/documents.py:199
Methodprepare_picture_thumbnail_url
(self, instance)
ch03/myproject_virtualenv/src/django-myproject/myproject/apps/ideas/documents.py:182
Methodprepare_text
Called for each language / backend
ch03/myproject_virtualenv/src/django-myproject/myproject/apps/search/search_indexes.py:18
Methodprocess
(self, img)
ch07/myproject_docker/src/myproject/myproject/apps/core/processors.py:8
Methodprocess
(self, img)
ch07/myproject_virtualenv/src/django-myproject/myproject/apps/core/processors.py:8
Functionproduct_photo_upload_to
(instance, filename)
ch06/myproject_virtualenv/src/django-myproject/myproject/apps/products/models.py:14
Methodqueryset
Returns the filtered queryset based on the value provided in the query string and retrievable via `self.value()`.
ch06/myproject_virtualenv/src/django-myproject/myproject/apps/products/admin4.py:125
Methodrandom_published
(self)
ch05/myproject_virtualenv/src/django-myproject/myproject/apps/news/models.py:9
Methodready
(self)
ch01/myproject_virtualenv/src/django-myproject/myproject/apps/magazine/apps.py:9
Methodready
(self)
ch08/myproject_virtualenv/src/django-myproject/myproject/apps/accounts/apps.py:9
Methodready
(self)
ch10/myproject_virtualenv/src/django-myproject/myproject/apps/viral_videos/apps.py:9
Methodready
(self)
ch06/myproject_virtualenv/src/django-myproject/myproject/apps/accounts/apps.py:9
Methodready
(self)
ch07/myproject_docker/src/myproject/myproject/apps/viral_videos/apps.py:9
Methodready
(self)
ch07/myproject_virtualenv/src/django-myproject/myproject/apps/viral_videos/apps.py:9
Methodready
(self)
ch07/myproject_virtualenv/src/django-myproject/myproject/apps/admin_honeypot_fix/apps.py:9
Functionremove_from_query
Renders a link with modified current query parameters
ch12/myproject_virtualenv/src/django-myproject/myproject/apps/core/templatetags/utility_tags.py:233
Functionremove_from_query
Renders a link with modified current query parameters
ch13/myproject_virtualenv/src/django-myproject/myproject/apps/core/templatetags/utility_tags.py:233
Functionremove_from_query
Renders a link with modified current query parameters
ch08/myproject_virtualenv/src/django-myproject/myproject/apps/core/templatetags/utility_tags.py:233
Functionremove_from_query
Renders a link with modified current query parameters
ch09/myproject_virtualenv/src/django-myproject/myproject/apps/core/templatetags/utility_tags.py:233
Functionremove_from_query
Renders a link with modified current query parameters
ch05/myproject_virtualenv/src/django-myproject/myproject/apps/core/templatetags/utility_tags.py:233
Functionremove_from_query
Renders a link with modified current query parameters
ch10/myproject_virtualenv/src/django-myproject/myproject/apps/core/templatetags/utility_tags.py:233
Functionremove_from_query
Renders a link with modified current query parameters
ch06/myproject_virtualenv/src/django-myproject/myproject/apps/core/templatetags/utility_tags.py:233
Functionremove_from_query
Renders a link with modified current query parameters
ch11/myproject_virtualenv/src/django-myproject/myproject/apps/core/templatetags/utility_tags.py:233
Functionremove_from_query
Renders a link with modified current query parameters
ch07/myproject_docker/src/myproject/myproject/apps/core/templatetags/utility_tags.py:233
Functionremove_from_query
Renders a link with modified current query parameters
ch07/myproject_virtualenv/src/django-myproject/myproject/apps/core/templatetags/utility_tags.py:233
Methodrender
(self, context)
ch12/myproject_virtualenv/src/django-myproject/myproject/apps/core/templatetags/utility_tags.py:23
Methodrender
(self, context)
ch12/myproject_virtualenv/src/django-myproject/myproject/apps/core/templatetags/utility_tags.py:61
Methodrender
(self, context)
ch12/myproject_virtualenv/src/django-myproject/myproject/apps/likes/templatetags/likes_tags.py:17
Methodrender
(self, context)
ch12/likes_app_virtualenv/src/django-likes/likes/templatetags/likes_tags.py:17
Methodrender
(self, context)
ch13/myproject_virtualenv/src/django-myproject/myproject/apps/core/templatetags/utility_tags.py:23
Methodrender
(self, context)
ch13/myproject_virtualenv/src/django-myproject/myproject/apps/core/templatetags/utility_tags.py:61
Methodrender
(self, context)
ch13/myproject_virtualenv/src/django-myproject/myproject/apps/likes/templatetags/likes_tags.py:17
Methodrender
(self, context)
ch08/myproject_virtualenv/src/django-myproject/myproject/apps/core/templatetags/utility_tags.py:23
Methodrender
(self, context)
ch08/myproject_virtualenv/src/django-myproject/myproject/apps/core/templatetags/utility_tags.py:61
Methodrender
(self, context)
ch09/myproject_virtualenv/src/django-myproject/myproject/apps/core/templatetags/utility_tags.py:23
Methodrender
(self, context)
ch09/myproject_virtualenv/src/django-myproject/myproject/apps/core/templatetags/utility_tags.py:61
Methodrender
(self, context)
ch05/myproject_virtualenv/src/django-myproject/myproject/apps/core/templatetags/utility_tags.py:23
Methodrender
(self, context)
ch05/myproject_virtualenv/src/django-myproject/myproject/apps/core/templatetags/utility_tags.py:61
Methodrender
(self, context)
ch10/myproject_virtualenv/src/django-myproject/myproject/apps/core/templatetags/utility_tags.py:23
Methodrender
(self, context)
ch10/myproject_virtualenv/src/django-myproject/myproject/apps/core/templatetags/utility_tags.py:61
Methodrender
(self, context)
ch06/myproject_virtualenv/src/django-myproject/myproject/apps/core/templatetags/utility_tags.py:23
Methodrender
(self, context)
ch06/myproject_virtualenv/src/django-myproject/myproject/apps/core/templatetags/utility_tags.py:61
Methodrender
(self, context)
ch11/myproject_virtualenv/src/django-myproject/myproject/apps/core/templatetags/utility_tags.py:23
Methodrender
(self, context)
ch11/myproject_virtualenv/src/django-myproject/myproject/apps/core/templatetags/utility_tags.py:61
Methodrender
(self, context)
ch11/myproject_virtualenv/src/django-myproject/myproject/apps/likes/templatetags/likes_tags.py:17
Methodrender
(self, context)
ch07/myproject_docker/src/myproject/myproject/apps/core/templatetags/utility_tags.py:23
Methodrender
(self, context)
ch07/myproject_docker/src/myproject/myproject/apps/core/templatetags/utility_tags.py:61
Methodrender
(self, context)
ch07/myproject_virtualenv/src/django-myproject/myproject/apps/core/templatetags/utility_tags.py:23
Methodrender
(self, context)
ch07/myproject_virtualenv/src/django-myproject/myproject/apps/core/templatetags/utility_tags.py:61
Methodsave
(self, commit=True)
ch12/myproject_virtualenv/src/django-myproject/myproject/apps/locations/admin2.py:43
Methodsave
(self, commit=True)
ch13/myproject_virtualenv/src/django-myproject/myproject/apps/locations/admin2.py:43
Methodsave
(self, *args, **kwargs)
ch08/myproject_virtualenv/src/django-myproject/myproject/apps/core/models.py:75
Methodsave
(self, *args, **kwargs)
ch08/myproject_virtualenv/src/django-myproject/myproject/apps/core/models.py:146
Methodsave
(self, commit=True)
ch08/myproject_virtualenv/src/django-myproject/myproject/apps/accounts/admin1.py:13
Methodsave
(self, commit=True)
ch08/myproject_virtualenv/src/django-myproject/myproject/apps/accounts/admin2.py:17
Methodsave
(self, *args, **kwargs)
ch03/myproject_virtualenv/src/django-myproject/myproject/apps/core/models.py:75
Methodsave
(self, *args, **kwargs)
ch03/myproject_virtualenv/src/django-myproject/myproject/apps/core/models.py:146
Methodsave
(self, *args, **kwargs)
ch02/myproject_virtualenv/src/django-myproject/myproject/apps/core/models.py:75
Methodsave
(self, *args, **kwargs)
ch02/myproject_virtualenv/src/django-myproject/myproject/apps/core/models.py:146
Methodsave
(self, *args, **kwargs)
ch02/myproject_virtualenv/src/django-myproject/myproject/apps/ideas/models.py:123
Methodsave
(self, *args, **kwargs)
ch05/myproject_virtualenv/src/django-myproject/myproject/apps/core/models.py:75
Methodsave
(self, *args, **kwargs)
ch05/myproject_virtualenv/src/django-myproject/myproject/apps/core/models.py:146
Methodsave
(self, *args, **kwargs)
ch10/myproject_virtualenv/src/django-myproject/myproject/apps/viral_videos/models.py:34
← previousnext →901–1,000 of 1,173, ranked by callers