mirror of
https://github.com/pretix/pretix.git
synced 2026-05-09 15:54:03 +00:00
Fix Sphinx warnings
This commit is contained in:
@@ -281,7 +281,7 @@ class Event(EventMixin, LoggedModel):
|
|||||||
self.cache.clear()
|
self.cache.clear()
|
||||||
return obj
|
return obj
|
||||||
|
|
||||||
def get_plugins(self) -> "list[str]":
|
def get_plugins(self):
|
||||||
"""
|
"""
|
||||||
Returns the names of the plugins activated for this event as a list.
|
Returns the names of the plugins activated for this event as a list.
|
||||||
"""
|
"""
|
||||||
|
|||||||
@@ -58,7 +58,7 @@ class Organizer(LoggedModel):
|
|||||||
self.get_cache().clear()
|
self.get_cache().clear()
|
||||||
return obj
|
return obj
|
||||||
|
|
||||||
def get_cache(self) -> "pretix.base.cache.ObjectRelatedCache":
|
def get_cache(self):
|
||||||
"""
|
"""
|
||||||
Returns an :py:class:`ObjectRelatedCache` object. This behaves equivalent to
|
Returns an :py:class:`ObjectRelatedCache` object. This behaves equivalent to
|
||||||
Django's built-in cache backends, but puts you into an isolated environment for
|
Django's built-in cache backends, but puts you into an isolated environment for
|
||||||
|
|||||||
Reference in New Issue
Block a user