Link to source code in docs
|Reported by:||santiagobasulto||Owned by:||nobody|
|Has patch:||no||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
I think it would be useful to have a link to the source code for each class in the documentation. For example if somebody is looking for the ObjectDoesNotExist exception (https://docs.djangoproject.com/en/1.3/ref/exceptions/#django.core.exceptions.ObjectDoesNotExist), it would be nice to browse the source code.
CakePHP documentation does something similar.
Of course it's possible to get the source code through the package definition, i've done this and found the exception code: https://github.com/django/django/blob/master/django/core/exceptions.py
But with a link would be easier.
Change History (4)
comment:1 Changed 2 years ago by ptone
- Needs documentation unset
- Needs tests unset
- Patch needs improvement unset
comment:2 Changed 2 years ago by aaugustin
- Triage Stage changed from Unreviewed to Design decision needed
comment:3 Changed 2 years ago by aaugustin
- Triage Stage changed from Design decision needed to Accepted