Skip to content

Commit 0a6c082

Browse files
move paragraph to main part of model section
1 parent b9559dc commit 0a6c082

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -211,6 +211,8 @@ All models and their managers provide async methods for database operations and
211211
212212
It also has support for automatically cleaning up old events based on your configuration, via the `acleanup_events` manager method and the `GITHUB_APP["DAYS_TO_KEEP_EVENTS"]` setting. For more details, see the sections on [`AUTO_CLEANUP_EVENTS`](#auto_cleanup_events) and [`DAYS_TO_KEEP_EVENTS`](#days_to_keep_events) in the [Configuration](#configuration) documentation below.
213213
214+
The model primarily serves the webhook handling system, but you can also use it to query past events if needed.
215+
214216
##### Manager methods
215217
216218
- `acreate_from_event`/`create_from_event`: Store incoming webhook events _(primarily for internal use)_
@@ -220,8 +222,6 @@ It also has support for automatically cleaning up old events based on your confi
220222
221223
- `action`: Extract action from event payload, if present
222224
223-
The model primarily serves the webhook handling system, but you can also use it to query past events if needed.
224-
225225
#### `Installation`
226226
227227
`django_github_app.models.Installation` represents where your GitHub App is installed. Stores the installation ID and metadata from GitHub, and provides methods for authentication:

0 commit comments

Comments
 (0)