MCPcopy Create free account

hub / github.com/CodingForEverybody/learn-wagtail / functions

Functions33 in github.com/CodingForEverybody/learn-wagtail

↓ 4 callersMethodget_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
Methoda_custom_api_response
(self)
home/models.py:104
Methodauthor_image
(self)
blog/models.py:66
Methodauthor_name
(self)
blog/models.py:58
Methodauthor_website
(self)
blog/models.py:62
Methodblogs_by_year
(self, request, year=None, month=None)
blog/models.py:240
Methodcategory_view
Find blog posts based on a category.
blog/models.py:256
Functioncreate_homepage
(apps, schema_editor)
home/migrations/0002_create_homepage.py:5
Methodget_admin_display_title
(self)
home/models.py:152
Methodget_api_representation
(self, value, context=None)
streams/blocks.py:52
Methodget_child_pages
(self)
blog/models.py:203
Functionget_menu
(slug)
menus/templatetags/menus_tags.py:9
Methodget_sitemap_urls
(self, request)
blog/models.py:286
Functionglobal_admin_css
Add /static/css/custom.css to the admin.
core/wagtail_hooks.py:7
Functionglobal_admin_js
Add /static/css/custom.js to the admin.
core/wagtail_hooks.py:16
Methodlatest_blog_posts_only_shows_last_5
(self, request, *args, **kwargs)
blog/models.py:281
Methodlink
(self)
menus/models.py:47
Functionregister_centertext_feature
Creates centered text in our richtext editor and page.
streams/wagtail_hooks.py:45
Functionregister_code_styling
Add the <code> to the richtext editor and page.
streams/wagtail_hooks.py:10
Functionremove_homepage
(apps, schema_editor)
home/migrations/0002_create_homepage.py:37
Methodsave
Create a template fragment key. Then delete the key.
blog/models.py:366
Functionsearch
(request)
search/views.py:8
Methodthe_subscribe_page
(self, request, *args, **kwargs)
home/models.py:148
Methodtitle
(self)
menus/models.py:55
Methodto_representation
Return the image URL, title and dimensions.
blog/models.py:34
Methodto_representation
(self, child_pages)
blog/models.py:156
Methodto_representation
(self, page)
home/models.py:48
Methodurl
(self)
streams/blocks.py:94