Skip to content

Latest commit

 

History

History
149 lines (84 loc) · 2.17 KB

File metadata and controls

149 lines (84 loc) · 2.17 KB

Simple Examples

.. rst-class:: html-toggle

Basic

.. literalinclude::  ../../examples/basic.py


.. rst-class:: html-toggle

Comments

.. literalinclude::  ../../examples/basic_comments.py


.. rst-class:: html-toggle

Prefetching

.. literalinclude::  ../../examples/complex_prefetching.py


.. rst-class:: html-toggle

Transactions

.. literalinclude::  ../../examples/transactions.py


.. rst-class:: html-toggle

Functions

.. literalinclude::  ../../examples/functions.py


.. rst-class:: html-toggle

Group By

.. literalinclude::  ../../examples/group_by.py


.. rst-class:: html-toggle

Schema creation

.. literalinclude::  ../../examples/schema_create.py


.. rst-class:: html-toggle

Two Databases

.. literalinclude::  ../../examples/two_databases.py


.. rst-class:: html-toggle

Filtering

.. literalinclude::  ../../examples/complex_filtering.py


.. rst-class:: html-toggle

Relations

.. literalinclude::  ../../examples/relations.py


.. rst-class:: html-toggle

Relations with Unique field

.. literalinclude::  ../../examples/relations_with_unique.py


.. rst-class:: html-toggle

Recursive Relations

.. literalinclude::  ../../examples/relations_recursive.py


.. rst-class:: html-toggle

Enumeration Fields

.. literalinclude::  ../../examples/enum_fields.py


.. rst-class:: html-toggle

Model Signals

.. literalinclude::  ../../examples/signals.py


.. rst-class:: html-toggle

Manual SQL

.. literalinclude::  ../../examples/manual_sql.py


Router

.. literalinclude::  ../../examples/router.py


.. rst-class:: html-toggle