Skip to content

Commit

Permalink
Make export of migrations False by default (#313)
Browse files Browse the repository at this point in the history
Co-authored-by: kwabena <[email protected]>
  • Loading branch information
kaypee90 and kwabena authored Jul 14, 2022
1 parent 951ab49 commit ac0204c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion django_prometheus/apps.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,5 +20,5 @@ def ready(self):
are usually short-lived), but can be useful for debugging.
"""
SetupPrometheusExportsFromConfig()
if getattr(settings, "PROMETHEUS_EXPORT_MIGRATIONS", True):
if getattr(settings, "PROMETHEUS_EXPORT_MIGRATIONS", False):
ExportMigrations()

0 comments on commit ac0204c

Please sign in to comment.