Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/CodingForEverybody/learn-wagtail
/ functions
Functions
33 in github.com/CodingForEverybody/learn-wagtail
⨍
Functions
33
◇
Types & classes
72
↳
Endpoints
4
↓ 4 callers
Method
get_context
Adding custom stuff to our context.
blog/models.py:207
Method
__init__
( self, required=True, help_text=None, editor="default", features=None, **kwargs )
streams/blocks.py:64
Method
__str__
String repr of this class.
blog/models.py:115
Method
__str__
(self)
blog/models.py:148
Method
__str__
Str repr of this object.
subscribers/models.py:10
Method
__str__
(self)
menus/models.py:79
Method
a_custom_api_response
(self)
home/models.py:104
Method
author_image
(self)
blog/models.py:66
Method
author_name
(self)
blog/models.py:58
Method
author_website
(self)
blog/models.py:62
Method
blogs_by_year
(self, request, year=None, month=None)
blog/models.py:240
Method
category_view
Find blog posts based on a category.
blog/models.py:256
Function
create_homepage
(apps, schema_editor)
home/migrations/0002_create_homepage.py:5
Method
get_admin_display_title
(self)
home/models.py:152
Method
get_api_representation
(self, value, context=None)
streams/blocks.py:52
Method
get_child_pages
(self)
blog/models.py:203
Function
get_menu
(slug)
menus/templatetags/menus_tags.py:9
Method
get_sitemap_urls
(self, request)
blog/models.py:286
Function
global_admin_css
Add /static/css/custom.css to the admin.
core/wagtail_hooks.py:7
Function
global_admin_js
Add /static/css/custom.js to the admin.
core/wagtail_hooks.py:16
Method
latest_blog_posts_only_shows_last_5
(self, request, *args, **kwargs)
blog/models.py:281
Method
link
(self)
menus/models.py:47
Function
register_centertext_feature
Creates centered text in our richtext editor and page.
streams/wagtail_hooks.py:45
Function
register_code_styling
Add the <code> to the richtext editor and page.
streams/wagtail_hooks.py:10
Function
remove_homepage
(apps, schema_editor)
home/migrations/0002_create_homepage.py:37
Method
save
Create a template fragment key. Then delete the key.
blog/models.py:366
Function
search
(request)
search/views.py:8
Method
the_subscribe_page
(self, request, *args, **kwargs)
home/models.py:148
Method
title
(self)
menus/models.py:55
Method
to_representation
Return the image URL, title and dimensions.
blog/models.py:34
Method
to_representation
(self, child_pages)
blog/models.py:156
Method
to_representation
(self, page)
home/models.py:48
Method
url
(self)
streams/blocks.py:94