Skip to content

Commit

Permalink
Fix register_datamodel
Browse files Browse the repository at this point in the history
  • Loading branch information
marioba committed Jul 8, 2021
1 parent 81c7990 commit 024f02b
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions manage.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,13 @@
import sys
from django.core.management import execute_from_command_line
from comptages.datamodel import config
from qdmtk import register_datamodel


if __name__ == "__main__":
try:
register_datamodel(config.DATAMODEL_NAME, config.INSTALLED_APPS, config.DATABASE)
except Exception:
pass

execute_from_command_line(sys.argv)

0 comments on commit 024f02b

Please sign in to comment.