flowchart TD
Start[🖼️ Image in the CMS] --> B{Vanilla image model\n alt text\n implementation?}
B -- Yes --> G
from django.core.exceptions import ValidationError | |
from django.http import QueryDict | |
class PublishRequiresMixin: | |
_required_for_publishing = [] | |
_block_schedule = False | |
def __init__(self, *args, **kwargs): | |
if len(args) > 0 and isinstance(args[0], QueryDict): |
Taken from
Perusal of readability with focus on web content understandability
Pawan Kumar Ojha, Abid Ismail, Kuppusamy Kundumani Srinivasan, Journal of King Saud University - Computer and Information Sciences, Volume 33, Issue 1, 2021, Pages 1-10, ISSN 1319-1578,
| Attributes | FRE | Dale-Chall readability | FKGL | Gunning Fog Index | SMOG | ARI | FRY | Forcast | PSK | SPACHE | CLI | BRI | LI× | Raygor Estimate Graph | Djoko Formula | New Fog Count | Pisarek’s Index | Fernandez Huerta Index | Kandal and Moles Index | Al-Heeti Grade Level | Lexile |
For wagtail-content-import. Uses mammoth to convert .docx
to HTML, rather than python-docx.
Settings:
WAGTAILCONTENTIMPORT_DOCX_PARSER = "content_import_parsers.DocxHTMLParser"
Mapper to a page’s body
StreamBlock:
Sample scripts to fetch recently-used repositories in bulk from GitHub and GitLab.
With basic filtering of specific repositories, and of specific files within repositories.
Use your local copy of the code with ag The Silver Searcher, ripgrep, or your IDE.
import { gql } from 'graphql-tag'; | |
// Generic `page` query, by site and URL path (unique per site). | |
export const pageQuery = gql` | |
query ($urlPath: String, $siteId: ID, $previewToken: String) { | |
site(id: $siteId) { | |
id | |
page(urlPath: $urlPath, token: $previewToken) { | |
...getBaseContentPageFields | |
} |
This group supports package maintainers in the Django ecosystem. Packages are an important part of the experience of using Django, and their maintainers can benefit from different forms of support than Django contributors and users.
The goals of the group are:
- To facilitate discussions and share knowledge about common issues or tasks in package maintenance.
Chapter outlines as a spreadsheet
| 2022 | 2021 | 2020 | 2019 | | ---------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------
For all 9k wheels only or 16k all-format packages, view the full spreadsheet: Django-Wagtail packages ecosystem on PyPI