Skip to content

Commit caec726

Browse files
committed
Add django-model-info.
1 parent e797db2 commit caec726

4 files changed

Lines changed: 76 additions & 8 deletions

File tree

hypha/settings/dev.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -159,4 +159,10 @@
159159
"SHOW_COLLAPSED": True,
160160
}
161161

162+
# Add django-model-info.
163+
INSTALLED_APPS = [
164+
*INSTALLED_APPS,
165+
"django_model_info.apps.DjangoModelInfoConfig",
166+
]
167+
162168
SENTRY_DENY_URLS += ["__reload__", "/favicon.ico", "/media/", "/static/", "__debug__"]

pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,7 @@ dependencies = [
7474
"django-coverage-plugin>=3.2.0",
7575
"django-debug-toolbar>=6.1.0",
7676
"django-dynamic-fixture>=4.0.1",
77+
"django-model-info>=2024.11.5",
7778
"djhtml>=3.0.10",
7879
"dslr>=0.6.0",
7980
"factory_boy>=3.3.3",

requirements/dev.txt

Lines changed: 26 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -518,6 +518,7 @@ django==5.2.11 \
518518
# django-heroku
519519
# django-hijack
520520
# django-htmx
521+
# django-model-info
521522
# django-modelcluster
522523
# django-nh3
523524
# django-otp
@@ -605,6 +606,9 @@ django-htmx==1.27.0 \
605606
--hash=sha256:036e5da801bfdf5f1ca815f21592cfb9f004a898f330c842f15e55c70e301a75 \
606607
--hash=sha256:13e1e13b87d39b57f95aae6e4987cb3df056d0b1373a41f4a94504a00298ffd8
607608
# via hypha
609+
django-model-info==2024.11.5 \
610+
--hash=sha256:3ceffa8f9b8d6f98fef9e0d4bad7a6f35694315f3fdb30f21e687ecba79bc071 \
611+
--hash=sha256:fe8497cb71cd045b929d79548bf7f5f3f5261e15c8b585005d684838363d9f7d
608612
django-modelcluster==6.4.1 \
609613
--hash=sha256:ccc190cd9e22c24900ea2410bff64d444d48f43f0f4aedeed0f6cd94e2536698 \
610614
--hash=sha256:e736fcee925f83b63218dbf9c869ab50618b0f5e98869a5aa497f7a5331aa263
@@ -1260,6 +1264,14 @@ natsort==8.4.0 \
12601264
--hash=sha256:45312c4a0e5507593da193dedd04abb1469253b601ecaf63445ad80f0a1ea581 \
12611265
--hash=sha256:4732914fb471f56b5cce04d7bae6f164a592c7712e1c85f9ef585e197299521c
12621266
# via mkdocs-awesome-pages-plugin
1267+
networkx==3.4.2 ; python_full_version < '3.11' \
1268+
--hash=sha256:307c3669428c5362aab27c8a1260aa8f47c4e91d3891f48be0141738d8d053e1 \
1269+
--hash=sha256:df5d4365b724cf81b8c6a7312509d0c22386097011ad1abe274afd5e9d3bbc5f
1270+
# via django-model-info
1271+
networkx==3.6.1 ; python_full_version >= '3.11' \
1272+
--hash=sha256:26b7c357accc0c8cde558ad486283728b65b6a95d85ee1cd66bafab4c8168509 \
1273+
--hash=sha256:d47fbf302e7d9cbbb9e2555a0d267983d2aa476bac30e90dfbe5669bd57f3762
1274+
# via django-model-info
12631275
nh3==0.3.3 \
12641276
--hash=sha256:0d5eb734a78ac364af1797fef718340a373f626a9ff6b4fb0b4badf7927e7b81 \
12651277
--hash=sha256:185ed41b88c910b9ca8edc89ca3b4be688a12cb9de129d84befa2f74a0039fee \
@@ -1597,6 +1609,10 @@ pycparser==3.0 ; implementation_name != 'PyPy' and platform_python_implementatio
15971609
--hash=sha256:600f49d217304a5902ac3c37e1281c9fe94e4d0489de643a9504c5cdfdfc6b29 \
15981610
--hash=sha256:b727414169a36b7d524c1c3e31839a521725078d7b2ff038656844266160a992
15991611
# via cffi
1612+
pydot==4.0.1 \
1613+
--hash=sha256:869c0efadd2708c0be1f916eb669f3d664ca684bc57ffb7ecc08e70d5e93fee6 \
1614+
--hash=sha256:c2148f681c4a33e08bf0e26a9e5f8e4099a82e0e2a068098f32ce86577364ad5
1615+
# via django-model-info
16001616
pygments==2.19.2 \
16011617
--hash=sha256:636cb2477cec7f8952536970bc533bc43743542f70392ae026374600add5b887 \
16021618
--hash=sha256:86540386c03d588bb81d44bc3928634ff26449851e99741617ecb9037ee5ec0b
@@ -1624,6 +1640,10 @@ pymdown-extensions==10.21 \
16241640
# via
16251641
# mkdocs-material
16261642
# mkdocstrings
1643+
pyparsing==3.3.2 \
1644+
--hash=sha256:850ba148bd908d7e2411587e247a1e4f0327839c40e2e5e6d05a007ecc69911d \
1645+
--hash=sha256:c777f4d763f140633dcb6d8a3eda953bf7a214dc4eff598413c070bcdc117cbc
1646+
# via pydot
16271647
pypdf==6.7.1 \
16281648
--hash=sha256:6b7a63be5563a0a35d54c6d6b550d75c00b8ccf36384be96365355e296e6b3b0 \
16291649
--hash=sha256:a02ccbb06463f7c334ce1612e91b3e68a8e827f3cee100b9941771e6066b094e
@@ -1860,7 +1880,9 @@ responses==0.25.8 \
18601880
rich==13.9.4 \
18611881
--hash=sha256:439594978a49a09530cff7ebc4b5c7103ef57baf48d5ea3184f21d9a2befa098 \
18621882
--hash=sha256:6049d5e6ec054bf2779ab3358186963bac2ea89175919d699e378b99738c2a90
1863-
# via dslr
1883+
# via
1884+
# django-model-info
1885+
# dslr
18641886
ruff==0.15.1 \
18651887
--hash=sha256:1d83466455fdefe60b8d9c8df81d3c1bbb2115cede53549d3b522ce2bc703899 \
18661888
--hash=sha256:1fe5c41ab43e3a06778844c586251eb5a510f67125427625f9eb2b9526535779 \
@@ -2202,9 +2224,9 @@ vine==5.1.0 \
22022224
# amqp
22032225
# celery
22042226
# kombu
2205-
virtualenv==20.37.0 \
2206-
--hash=sha256:5d3951c32d57232ae3569d4de4cc256c439e045135ebf43518131175d9be435d \
2207-
--hash=sha256:6f7e2064ed470aa7418874e70b6369d53b66bcd9e9fd5389763e96b6c94ccb7c
2227+
virtualenv==20.38.0 \
2228+
--hash=sha256:94f39b1abaea5185bf7ea5a46702b56f1d0c9aa2f41a6c2b8b0af4ddc74c10a7 \
2229+
--hash=sha256:d6e78e5889de3a4742df2d3d44e779366325a90cf356f15621fddace82431794
22082230
# via pre-commit
22092231
wagtail==7.0.5 \
22102232
--hash=sha256:83851ff26ca451d56b26c4d162eddfe6fa8f876e26acb610d5480c1d042c4c2f \

uv.lock

Lines changed: 43 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)