Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/PacktPublishing/Django-3-Web-Development-Cookbook-Fourth-Edition
/ functions
Functions
1,173 in github.com/PacktPublishing/Django-3-Web-Development-Cookbook-Fourth-Edition
⨍
Functions
1,173
◇
Types & classes
596
↳
Endpoints
9
Function
logout
(request)
ch07/myproject_virtualenv/src/django-myproject/myproject/apps/external_auth/views.py:22
Method
lookups
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
Function
modify_query
Renders a link with modified current query parameters
ch12/myproject_virtualenv/src/django-myproject/myproject/apps/core/templatetags/utility_tags.py:191
Function
modify_query
Renders a link with modified current query parameters
ch13/myproject_virtualenv/src/django-myproject/myproject/apps/core/templatetags/utility_tags.py:191
Function
modify_query
Renders a link with modified current query parameters
ch08/myproject_virtualenv/src/django-myproject/myproject/apps/core/templatetags/utility_tags.py:191
Function
modify_query
Renders a link with modified current query parameters
ch09/myproject_virtualenv/src/django-myproject/myproject/apps/core/templatetags/utility_tags.py:191
Function
modify_query
Renders a link with modified current query parameters
ch03/myproject_virtualenv/src/django-myproject/myproject/apps/core/templatetags/utility_tags.py:26
Function
modify_query
Renders a link with modified current query parameters
ch05/myproject_virtualenv/src/django-myproject/myproject/apps/core/templatetags/utility_tags.py:191
Function
modify_query
Renders a link with modified current query parameters
ch10/myproject_virtualenv/src/django-myproject/myproject/apps/core/templatetags/utility_tags.py:191
Function
modify_query
Renders a link with modified current query parameters
ch06/myproject_virtualenv/src/django-myproject/myproject/apps/core/templatetags/utility_tags.py:191
Function
modify_query
Renders a link with modified current query parameters
ch04/myproject_virtualenv/src/django-myproject/myproject/apps/core/templatetags/utility_tags.py:26
Function
modify_query
Renders a link with modified current query parameters
ch11/myproject_virtualenv/src/django-myproject/myproject/apps/core/templatetags/utility_tags.py:191
Function
modify_query
Renders a link with modified current query parameters
ch07/myproject_docker/src/myproject/myproject/apps/core/templatetags/utility_tags.py:191
Function
modify_query
Renders a link with modified current query parameters
ch07/myproject_virtualenv/src/django-myproject/myproject/apps/core/templatetags/utility_tags.py:191
Function
news_delete_handler
(sender, **kwargs)
ch01/myproject_virtualenv/src/django-myproject/myproject/apps/magazine/signals.py:14
Function
news_save_handler
(sender, **kwargs)
ch01/myproject_virtualenv/src/django-myproject/myproject/apps/magazine/signals.py:8
Function
object_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
Function
object_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
Function
object_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
Function
object_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
Function
object_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
Function
object_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
Function
object_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
Function
object_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
Function
object_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
Function
parse
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
Function
parse
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
Function
parse
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
Function
parse
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
Function
parse
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
Function
parse
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
Function
parse
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
Function
parse
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
Function
parse
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
Function
parse
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
Method
prepare
(self, instance)
ch03/myproject_virtualenv/src/django-myproject/myproject/apps/ideas/documents.py:155
Method
prepare_author
(self, instance)
ch03/myproject_virtualenv/src/django-myproject/myproject/apps/ideas/documents.py:187
Method
prepare_categories
(self, instance)
ch03/myproject_virtualenv/src/django-myproject/myproject/apps/ideas/documents.py:199
Method
prepare_picture_thumbnail_url
(self, instance)
ch03/myproject_virtualenv/src/django-myproject/myproject/apps/ideas/documents.py:182
Method
prepare_text
Called for each language / backend
ch03/myproject_virtualenv/src/django-myproject/myproject/apps/search/search_indexes.py:18
Method
process
(self, img)
ch07/myproject_docker/src/myproject/myproject/apps/core/processors.py:8
Method
process
(self, img)
ch07/myproject_virtualenv/src/django-myproject/myproject/apps/core/processors.py:8
Function
product_photo_upload_to
(instance, filename)
ch06/myproject_virtualenv/src/django-myproject/myproject/apps/products/models.py:14
Method
queryset
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
Method
random_published
(self)
ch05/myproject_virtualenv/src/django-myproject/myproject/apps/news/models.py:9
Method
ready
(self)
ch01/myproject_virtualenv/src/django-myproject/myproject/apps/magazine/apps.py:9
Method
ready
(self)
ch08/myproject_virtualenv/src/django-myproject/myproject/apps/accounts/apps.py:9
Method
ready
(self)
ch10/myproject_virtualenv/src/django-myproject/myproject/apps/viral_videos/apps.py:9
Method
ready
(self)
ch06/myproject_virtualenv/src/django-myproject/myproject/apps/accounts/apps.py:9
Method
ready
(self)
ch07/myproject_docker/src/myproject/myproject/apps/viral_videos/apps.py:9
Method
ready
(self)
ch07/myproject_virtualenv/src/django-myproject/myproject/apps/viral_videos/apps.py:9
Method
ready
(self)
ch07/myproject_virtualenv/src/django-myproject/myproject/apps/admin_honeypot_fix/apps.py:9
Function
remove_from_query
Renders a link with modified current query parameters
ch12/myproject_virtualenv/src/django-myproject/myproject/apps/core/templatetags/utility_tags.py:233
Function
remove_from_query
Renders a link with modified current query parameters
ch13/myproject_virtualenv/src/django-myproject/myproject/apps/core/templatetags/utility_tags.py:233
Function
remove_from_query
Renders a link with modified current query parameters
ch08/myproject_virtualenv/src/django-myproject/myproject/apps/core/templatetags/utility_tags.py:233
Function
remove_from_query
Renders a link with modified current query parameters
ch09/myproject_virtualenv/src/django-myproject/myproject/apps/core/templatetags/utility_tags.py:233
Function
remove_from_query
Renders a link with modified current query parameters
ch05/myproject_virtualenv/src/django-myproject/myproject/apps/core/templatetags/utility_tags.py:233
Function
remove_from_query
Renders a link with modified current query parameters
ch10/myproject_virtualenv/src/django-myproject/myproject/apps/core/templatetags/utility_tags.py:233
Function
remove_from_query
Renders a link with modified current query parameters
ch06/myproject_virtualenv/src/django-myproject/myproject/apps/core/templatetags/utility_tags.py:233
Function
remove_from_query
Renders a link with modified current query parameters
ch11/myproject_virtualenv/src/django-myproject/myproject/apps/core/templatetags/utility_tags.py:233
Function
remove_from_query
Renders a link with modified current query parameters
ch07/myproject_docker/src/myproject/myproject/apps/core/templatetags/utility_tags.py:233
Function
remove_from_query
Renders a link with modified current query parameters
ch07/myproject_virtualenv/src/django-myproject/myproject/apps/core/templatetags/utility_tags.py:233
Method
render
(self, context)
ch12/myproject_virtualenv/src/django-myproject/myproject/apps/core/templatetags/utility_tags.py:23
Method
render
(self, context)
ch12/myproject_virtualenv/src/django-myproject/myproject/apps/core/templatetags/utility_tags.py:61
Method
render
(self, context)
ch12/myproject_virtualenv/src/django-myproject/myproject/apps/likes/templatetags/likes_tags.py:17
Method
render
(self, context)
ch12/likes_app_virtualenv/src/django-likes/likes/templatetags/likes_tags.py:17
Method
render
(self, context)
ch13/myproject_virtualenv/src/django-myproject/myproject/apps/core/templatetags/utility_tags.py:23
Method
render
(self, context)
ch13/myproject_virtualenv/src/django-myproject/myproject/apps/core/templatetags/utility_tags.py:61
Method
render
(self, context)
ch13/myproject_virtualenv/src/django-myproject/myproject/apps/likes/templatetags/likes_tags.py:17
Method
render
(self, context)
ch08/myproject_virtualenv/src/django-myproject/myproject/apps/core/templatetags/utility_tags.py:23
Method
render
(self, context)
ch08/myproject_virtualenv/src/django-myproject/myproject/apps/core/templatetags/utility_tags.py:61
Method
render
(self, context)
ch09/myproject_virtualenv/src/django-myproject/myproject/apps/core/templatetags/utility_tags.py:23
Method
render
(self, context)
ch09/myproject_virtualenv/src/django-myproject/myproject/apps/core/templatetags/utility_tags.py:61
Method
render
(self, context)
ch05/myproject_virtualenv/src/django-myproject/myproject/apps/core/templatetags/utility_tags.py:23
Method
render
(self, context)
ch05/myproject_virtualenv/src/django-myproject/myproject/apps/core/templatetags/utility_tags.py:61
Method
render
(self, context)
ch10/myproject_virtualenv/src/django-myproject/myproject/apps/core/templatetags/utility_tags.py:23
Method
render
(self, context)
ch10/myproject_virtualenv/src/django-myproject/myproject/apps/core/templatetags/utility_tags.py:61
Method
render
(self, context)
ch06/myproject_virtualenv/src/django-myproject/myproject/apps/core/templatetags/utility_tags.py:23
Method
render
(self, context)
ch06/myproject_virtualenv/src/django-myproject/myproject/apps/core/templatetags/utility_tags.py:61
Method
render
(self, context)
ch11/myproject_virtualenv/src/django-myproject/myproject/apps/core/templatetags/utility_tags.py:23
Method
render
(self, context)
ch11/myproject_virtualenv/src/django-myproject/myproject/apps/core/templatetags/utility_tags.py:61
Method
render
(self, context)
ch11/myproject_virtualenv/src/django-myproject/myproject/apps/likes/templatetags/likes_tags.py:17
Method
render
(self, context)
ch07/myproject_docker/src/myproject/myproject/apps/core/templatetags/utility_tags.py:23
Method
render
(self, context)
ch07/myproject_docker/src/myproject/myproject/apps/core/templatetags/utility_tags.py:61
Method
render
(self, context)
ch07/myproject_virtualenv/src/django-myproject/myproject/apps/core/templatetags/utility_tags.py:23
Method
render
(self, context)
ch07/myproject_virtualenv/src/django-myproject/myproject/apps/core/templatetags/utility_tags.py:61
Method
save
(self, commit=True)
ch12/myproject_virtualenv/src/django-myproject/myproject/apps/locations/admin2.py:43
Method
save
(self, commit=True)
ch13/myproject_virtualenv/src/django-myproject/myproject/apps/locations/admin2.py:43
Method
save
(self, *args, **kwargs)
ch08/myproject_virtualenv/src/django-myproject/myproject/apps/core/models.py:75
Method
save
(self, *args, **kwargs)
ch08/myproject_virtualenv/src/django-myproject/myproject/apps/core/models.py:146
Method
save
(self, commit=True)
ch08/myproject_virtualenv/src/django-myproject/myproject/apps/accounts/admin1.py:13
Method
save
(self, commit=True)
ch08/myproject_virtualenv/src/django-myproject/myproject/apps/accounts/admin2.py:17
Method
save
(self, *args, **kwargs)
ch03/myproject_virtualenv/src/django-myproject/myproject/apps/core/models.py:75
Method
save
(self, *args, **kwargs)
ch03/myproject_virtualenv/src/django-myproject/myproject/apps/core/models.py:146
Method
save
(self, *args, **kwargs)
ch02/myproject_virtualenv/src/django-myproject/myproject/apps/core/models.py:75
Method
save
(self, *args, **kwargs)
ch02/myproject_virtualenv/src/django-myproject/myproject/apps/core/models.py:146
Method
save
(self, *args, **kwargs)
ch02/myproject_virtualenv/src/django-myproject/myproject/apps/ideas/models.py:123
Method
save
(self, *args, **kwargs)
ch05/myproject_virtualenv/src/django-myproject/myproject/apps/core/models.py:75
Method
save
(self, *args, **kwargs)
ch05/myproject_virtualenv/src/django-myproject/myproject/apps/core/models.py:146
Method
save
(self, *args, **kwargs)
ch10/myproject_virtualenv/src/django-myproject/myproject/apps/viral_videos/models.py:34
← previous
next →
901–1,000 of 1,173, ranked by callers