You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Conditional fields.when on a Field, a component, a FormSet or
a FormSetGroup shows it only while the form's values meet a condition,
written as a Django Q object: a discount code once the type is "Sale"
(when=Q(type="sale")), a callout while the publication date lies ahead
(when=Q(published_at__gt=Now())). The edit page applies it as the
editor types. Conditions combine with &, | and ~, compare with
other fields (F()) and the current time (Now(), with an offset), and
support the common lookups. A hidden field is not saved and not
required: its stored value stays, which the server decides again on
save. For rules a Q cannot express, subclass Condition and decide in
Python, such as a house style check on the description; the admin asks
the server as the editor types. System check content_studio.E040
reports conditions on fields the form does not hold, and content_studio.W024 required fields that only show under a condition.
Docs for AI agents. The docs website publishes llms.txt, an index of the
documentation, and llms-full.txt, every page in one file, both
generated from the docs when the website is built. Each page is also
available as Markdown at its address plus .md. An agent skill
(SKILL.md) for AI coding agents such as Claude Code covers the setup,
the main APIs and the common mistakes; the new AI agents page says how
to install it.
Fixes
UmamiProvider import.from content_studio.analytics import UmamiProvider, as the analytics docs show it, now works. The content_studio.analytics names are listed in the public API.