mirror of
https://github.com/pretix/pretix.git
synced 2026-05-03 14:54:04 +00:00
Rename {pretix,external}_pk to {pretix,external}_id_field
This commit is contained in:
@@ -55,9 +55,6 @@ needs to provide a list of mappings, with at least the properties defined in
|
||||
]
|
||||
|
||||
|
||||
.. autoclass:: pretix.base.datasync.datasync.OutboundSyncProvider
|
||||
:members: mappings
|
||||
|
||||
Currently, we support ``Order`` and ``OrderPosition`` as data sources, with the data fields defined in
|
||||
:func:`pretix.base.datasync.sourcefields.get_data_fields`.
|
||||
|
||||
@@ -71,9 +68,6 @@ For each order that was enqueued using ``enqueue_order``:
|
||||
- ``finalize_sync_order`` is called one time after all calls to ``sync_object_with_properties``.
|
||||
|
||||
|
||||
.. autoclass:: pretix.base.datasync.datasync.OutboundSyncProvider
|
||||
:members: sync_object_with_properties, finalize_sync_order
|
||||
|
||||
For example implementations, see the test cases in :package:``tests.base.test_datasync``.
|
||||
In :class:`SimpleOrderSync`, a basic data transfer of order data only is
|
||||
shown. Therein, a ``sync_object_with_properties`` method is defined like as follows:
|
||||
@@ -128,3 +122,6 @@ shown. Therein, a ``sync_object_with_properties`` method is defined like as foll
|
||||
In :class:`OrderAndTicketAssociationSync`, an example is given where orders, order positions,
|
||||
and the association between them are transferred.
|
||||
|
||||
|
||||
.. autoclass:: pretix.base.datasync.datasync.OutboundSyncProvider
|
||||
:members:
|
||||
Reference in New Issue
Block a user