Hacker News new | ask | show | jobs
by LordLandon_ 5832 days ago
> If Django were in C, I would know what a request object really was, grep for it, and look up the header file.

If Django were in python, you wouldn't even have to grep

>>> import django.http, inspect >>> print inspect.getsource(django.http.HttpRequest)

1 comments

Or even easier: ipython >>> from django.http import * >>> HttpRequest?? # prints out source code for HttpRequest