Apply suggestions from code review

This commit is contained in:
Mira
2024-12-19 17:38:05 +01:00
committed by GitHub
parent 3b5630a66c
commit 2ea25cfd5a
2 changed files with 6 additions and 7 deletions

View File

@@ -154,7 +154,7 @@ in the ``installed`` method:
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.
.. _`Registries`:
.. _`registries`:
Registries
----------

View File

@@ -145,15 +145,14 @@ To show more sophisticated message strings, e.g. varying the message depending o
.. 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
---------------------