Created
December 10, 2025 17:46
-
-
Save rochacbruno/110ee4ab1c5959b1a7c63cbe88b8093d to your computer and use it in GitHub Desktop.
pdoc django setup
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env python | |
| import os | |
| import sys | |
| os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'platform_service_example.settings') | |
| import django | |
| django.setup() | |
| from pdoc.__main__ import cli | |
| sys.exit(cli()) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment