forked from CGM_Public/pretix_original
Apply suggestions from code review
This commit is contained in:
@@ -154,7 +154,7 @@ in the ``installed`` method:
|
|||||||
Note that ``installed`` will *not* be called if the plugin is indirectly activated for an event
|
Note that ``installed`` will *not* be called if the plugin is indirectly activated for an event
|
||||||
because the event is created with settings copied from another event.
|
because the event is created with settings copied from another event.
|
||||||
|
|
||||||
.. _`Registries`:
|
.. _`registries`:
|
||||||
Registries
|
Registries
|
||||||
----------
|
----------
|
||||||
|
|
||||||
|
|||||||
@@ -145,15 +145,14 @@ To show more sophisticated message strings, e.g. varying the message depending o
|
|||||||
|
|
||||||
.. automethod:: pretix.base.logentrytypes.LogEntryType.display
|
.. automethod:: pretix.base.logentrytypes.LogEntryType.display
|
||||||
|
|
||||||
If your new model object does not belong to an `Event`, you need to implement
|
If your new model object does not belong to an `Event`, you need to inherit directly from ``LogEntryType`` instead
|
||||||
|
of ``EventLogEntryType``, providing your own implementation of ``get_object_link_info`` if object links should be
|
||||||
|
displayed.
|
||||||
|
|
||||||
meow
|
.. autoclass:: pretix.base.logentrytypes.LogEntryType
|
||||||
|
:members: get_object_link_info
|
||||||
|
|
||||||
.. autoclass:: pretix.base.logentrytypes.Registry
|
|
||||||
:members: new
|
|
||||||
|
|
||||||
.. autoclass:: pretix.base.logentrytypes.LogEntryTypeRegistry
|
|
||||||
:members: new, new_from_dict
|
|
||||||
|
|
||||||
Sending notifications
|
Sending notifications
|
||||||
---------------------
|
---------------------
|
||||||
|
|||||||
Reference in New Issue
Block a user