3 ms·
> 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 hav
by LordLandon_ 16y 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)
- vaughnkoch 16y agoOr even easier: ipython >>> from django.http import * >>> HttpRequest?? # prints out source code for HttpRequest