Skip to content

Instantly share code, notes, and snippets.

@gregnewman
Forked from ask/djpydoc
Created June 25, 2009 12:23
Show Gist options
  • Save gregnewman/135818 to your computer and use it in GitHub Desktop.
Save gregnewman/135818 to your computer and use it in GitHub Desktop.
# A pydoc that can read modules using Django.
#!/usr/bin/env python
from django.conf import settings
if not settings.configured:
settings.configure()
import pydoc
if __name__ == "__main__":
pydoc.cli()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment