package documentation
Undocumented
Module | base |
No module docstring; 1/1 class documented |
Module | fields |
Undocumented |
Module | models |
Undocumented |
Module | special |
Undocumented |
From __init__.py
:
Class |
|
Undocumented |
Class |
|
Add a field to a model. |
Class |
|
Add an index on a model. |
Class |
|
Alter a field's database column (e.g. null, max_length) to the provided new field. |
Class |
|
Change the value of index_together to the target one. Input value of index_together must be a set of tuples. |
Class |
|
Alter the model's managers. |
Class |
|
Set new model options that don't directly affect the database schema (like verbose_name, permissions, ordering). Python code in migrations may still need them. |
Class |
|
Rename a model's table. |
Class |
|
Represent a change with the order_with_respect_to option. |
Class |
|
Change the value of unique_together to the target one. Input value of unique_together must be a set of tuples. |
Class |
|
Create a model's table. |
Class |
|
Drop a model's table. |
Class |
|
Undocumented |
Class |
|
Remove a field from a model. |
Class |
|
Remove an index from a model. |
Class |
|
Rename a field on the model. Might affect db_column too. |
Class |
|
Rename an index. |
Class |
|
Rename a model. |
Class |
|
Run Python code in a context suitable for doing versioned ORM operations. |
Class |
|
Run some raw SQL. A reverse SQL statement may be provided. |
Class |
|
Take two lists of operations - ones that will be used for the database, and ones that will be used for the state change. This allows operations that don't support state change to have it applied, or have operations that affect the state or not the database, or so on. |