# Django Add Form

> Steps for creating or modifying Django forms and adding validation Use when this capability is needed.

- Skill: `tomevault-io/django-add-form` (Agent Skill, multi-file: 2 files)
- Install (CLI): `npx skillmds@latest add tomevault-io/django-add-form`
- Raw SKILL.md: https://api.skillmd.com/api/skills/tomevault-io/django-add-form/raw
- Safety review: pending (external: skill-scanner PASS, skillspector PASS)
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: tomevault-io (https://skillmd.com/u/tomevault-io)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/tomevault-io/django-add-form

---


## When to use

Use this skill when building or editing forms handling user input for views like back-office organizers (`control/`) or attendee-facing routes (`presale/`).

## Steps

1. Place the new form class strictly alongside its relevant sub-app (e.g., `app/eventyay/base/forms/`, `app/eventyay/control/forms/`).
2. Add specific, individual field-level validation by implementing `clean_<field>()` methods.
3. Add multi-field or cross-field validation logic by implementing generic `clean()` method overrides.

## Validation

1. Confirm the form has definitively been organized within its intended domain scope (e.g. keeping control constraints strictly out of presale domains).

## Gotchas

- Do not bypass Django's built-in validation mechanisms logic when working with forms.
- Do not mix `control/forms/` configurations into `presale/` logic.

---
> Converted and distributed by [TomeVault](https://tomevault.io/claim/fossasia) — claim your Tome and manage your conversions.
<!-- tomevault:4.0:skill_md:2026-04-16 -->

