Base elements are the GUI-based development tools that let you build applications without leaving your browser. These tools are themselves Pytigon applications, demonstrating the framework's capabilities even as you use them.
The base element tools are designed around a common philosophy:
.ihtml template you can customizeEach base element is documented in detail on its own page. This overview introduces the concepts they share.
Most base element editors use a two-pane layout:
This pattern appears in the Project View, Tables Editor, Views Editor, and Forms Editor.
Where applicable, editors include a live preview mode. The Template Editor shows rendered output side-by-side with source code. The Forms Editor lets you test form submissions without leaving the tool.
Pytigon automatically discovers:
- Models defined in models.py
- Views defined in views.py
- URL patterns defined in urls.py
- Tasks defined in tasks.py
- Template tags and filters in templatetags/
You don't need to register components manually — just create the file in the right place and Pytigon finds it.
When you modify a table structure through the Tables Editor, Pytigon: 1. Detects the schema change 2. Generates a Django migration file 3. Prompts you to apply it 4. Applies it automatically (in development mode)
For production, migrations follow the standard Django workflow.