permalink decorator used in doc and then pre-decorator method used without notice.
|Reported by:||bartek||Owned by:||nobody|
|Cc:||Triage Stage:||Ready for checkin|
|Has patch:||yes||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
Just a small thing but..
Confused me for a bit because there is no mention as to why all of a sudden the doc uses the pre-decorator method of:
get_absolute_url = permalink(get_absolute_url)
Would be nice to have it fully switched to using a decorator or put a note "For python 2.3 or earlier, use this:"
I hope this hasn't been submitted before :)
Change History (4)
comment:2 Changed 7 years ago by
|Triage Stage:||Accepted → Ready for checkin|
|Version:||1.0 → SVN|