Skip to content

Commit dc004f7

Browse files
committed
Move Admin Integration below Example App
1 parent 96fe0b2 commit dc004f7

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -140,10 +140,6 @@ from generic_notifications.frequencies import DailyFrequency
140140
send_notification_digests(frequency=DailyFrequency, dry_run=False)
141141
```
142142

143-
## Admin Integration
144-
145-
While the library doesn't register admin classes by default, the [example app](#example-app) includes [admin configuration](https://github.com/loopwerk/django-generic-notifications/tree/main/example/notifications/admin.py) that you can copy into your project for debugging and monitoring purposes.
146-
147143
## Example App
148144

149145
An example app is provided, which shows how to create a custom notification type, how to send a notification, it has a nice looking notification center with unread notifications as well as an archive of all read notifications, plus a settings view where you can manage notification preferences.
@@ -156,6 +152,10 @@ uv run ./manage.py runserver
156152

157153
Then open http://127.0.0.1:8000/.
158154

155+
## Admin Integration
156+
157+
While the library doesn't register admin classes by default, the example app includes [admin configuration](https://github.com/loopwerk/django-generic-notifications/tree/main/example/notifications/admin.py) that you can copy into your project for debugging and monitoring purposes.
158+
159159
## Further Documentation
160160

161161
- [Migrate to a newer version of this library](https://github.com/loopwerk/django-generic-notifications/tree/main/docs/migrate.md)

0 commit comments

Comments
 (0)