Topics / apps

Application development

Building applications and data workflows: framework patterns, Django and Wagtail models, Next.js integration, identity schemas and practical data scripts.

Notes
5
Reading
0.2h

Notes

Practical answers in application development.

  1. Note2 min read

    Turn a small CSV into a reliable pandas summary

    Read, clean, filter and aggregate one complete dataset. Use explicit types, safe assignment and month-end resampling without disconnected snippets.

  2. Note2 min read

    Share Django timestamps and UUIDs with abstract models

    Use small abstract models for repeated fields, then account for the save paths that do not update timestamps. UUIDs change identifiers, not authorization.

  3. Note3 min read

    Replace Wagtail ModelAdmin with a ModelViewSet

    Expose a small Django model in the Wagtail admin using the built-in ModelViewSet. Choose list columns, search fields and form fields explicitly.

  4. Note3 min read

    Validate an Ory Kratos username with an identity schema

    Constrain a username to 4–20 ASCII letters, digits or underscores. Put the rule in the identity schema and distinguish validation from identifier uniqueness.

  5. Note3 min read

    Revalidate Next.js pages after Wagtail publishes

    Send an authenticated POST after the CMS transaction commits. Revalidate the public path and register receivers for concrete Wagtail page models.