Skip to content

Commit

Permalink
➕ [#16] Add django-timeline-logger package
Browse files Browse the repository at this point in the history
  • Loading branch information
sergei-maertens committed Oct 9, 2024
1 parent 1ae98e5 commit 0438ab5
Show file tree
Hide file tree
Showing 9 changed files with 34 additions and 3 deletions.
1 change: 1 addition & 0 deletions requirements/base.in
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ django-axes[ipware]
django-capture-tag
django-hijack
django-rosetta
django-timeline-logger
django-treebeard

# DRF & other API tooling
Expand Down
7 changes: 6 additions & 1 deletion requirements/base.txt
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,7 @@ django==4.2.16
# django-setup-configuration
# django-simple-certmanager
# django-solo
# django-timeline-logger
# django-treebeard
# django-two-factor-auth
# djangorestframework
Expand All @@ -109,7 +110,9 @@ django==4.2.16
django-admin-index==3.1.1
# via open-api-framework
django-appconf==1.0.6
# via django-log-outgoing-requests
# via
# django-log-outgoing-requests
# django-timeline-logger
django-axes==6.5.1
# via
# -r requirements/base.in
Expand Down Expand Up @@ -168,6 +171,8 @@ django-solo==2.3.0
# mozilla-django-oidc-db
# notifications-api-common
# zgw-consumers
django-timeline-logger==4.0.0
# via -r requirements/base.in
django-treebeard==4.7.1
# via -r requirements/base.in
django-two-factor-auth==1.17.0
Expand Down
6 changes: 6 additions & 0 deletions requirements/ci.txt
Original file line number Diff line number Diff line change
Expand Up @@ -165,6 +165,7 @@ django==4.2.16
# django-setup-configuration
# django-simple-certmanager
# django-solo
# django-timeline-logger
# django-treebeard
# django-two-factor-auth
# djangorestframework
Expand All @@ -189,6 +190,7 @@ django-appconf==1.0.6
# -c requirements/base.txt
# -r requirements/base.txt
# django-log-outgoing-requests
# django-timeline-logger
django-axes==6.5.1
# via
# -c requirements/base.txt
Expand Down Expand Up @@ -309,6 +311,10 @@ django-solo==2.3.0
# mozilla-django-oidc-db
# notifications-api-common
# zgw-consumers
django-timeline-logger==4.0.0
# via
# -c requirements/base.txt
# -r requirements/base.txt
django-treebeard==4.7.1
# via
# -c requirements/base.txt
Expand Down
6 changes: 6 additions & 0 deletions requirements/dev.txt
Original file line number Diff line number Diff line change
Expand Up @@ -186,6 +186,7 @@ django==4.2.16
# django-setup-configuration
# django-simple-certmanager
# django-solo
# django-timeline-logger
# django-treebeard
# django-two-factor-auth
# djangorestframework
Expand All @@ -210,6 +211,7 @@ django-appconf==1.0.6
# -c requirements/ci.txt
# -r requirements/ci.txt
# django-log-outgoing-requests
# django-timeline-logger
django-axes==6.5.1
# via
# -c requirements/ci.txt
Expand Down Expand Up @@ -334,6 +336,10 @@ django-solo==2.3.0
# mozilla-django-oidc-db
# notifications-api-common
# zgw-consumers
django-timeline-logger==4.0.0
# via
# -c requirements/ci.txt
# -r requirements/ci.txt
django-treebeard==4.7.1
# via
# -c requirements/ci.txt
Expand Down
6 changes: 6 additions & 0 deletions requirements/type-checking.txt
Original file line number Diff line number Diff line change
Expand Up @@ -186,6 +186,7 @@ django==4.2.16
# django-solo
# django-stubs
# django-stubs-ext
# django-timeline-logger
# django-treebeard
# django-two-factor-auth
# djangorestframework
Expand All @@ -210,6 +211,7 @@ django-appconf==1.0.6
# -c requirements/ci.txt
# -r requirements/ci.txt
# django-log-outgoing-requests
# django-timeline-logger
django-axes==6.5.1
# via
# -c requirements/ci.txt
Expand Down Expand Up @@ -340,6 +342,10 @@ django-stubs-ext==5.0.4
# via
# -r requirements/type-checking.in
# django-stubs
django-timeline-logger==4.0.0
# via
# -c requirements/ci.txt
# -r requirements/ci.txt
django-treebeard==4.7.1
# via
# -c requirements/ci.txt
Expand Down
2 changes: 2 additions & 0 deletions src/woo_publications/conf/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,12 @@
"capture_tag",
"hijack",
"hijack.contrib.admin",
"timeline_logger",
"treebeard",
# Project applications.
"woo_publications.accounts",
"woo_publications.api",
"woo_publications.logging",
"woo_publications.metadata",
"woo_publications.publications",
"woo_publications.utils",
Expand Down
4 changes: 2 additions & 2 deletions src/woo_publications/fixtures/default_admin_index.json
Original file line number Diff line number Diff line change
Expand Up @@ -143,11 +143,11 @@
"models": [
[
"publications",
"publication"
"document"
],
[
"publications",
"document"
"publication"
]
]
}
Expand Down
Empty file.
5 changes: 5 additions & 0 deletions src/woo_publications/logging/admin.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
from django.contrib import admin

from timeline_logger.models import TimelineLog

admin.site.unregister(TimelineLog)

0 comments on commit 0438ab5

Please sign in to comment.