Re: [Snowy] Where does this magic come from?
- From: Jeff Schroeder <jeffschroeder computer org>
- To: snowy-list gnome org
- Subject: Re: [Snowy] Where does this magic come from?
- Date: Tue, 7 Sep 2010 22:50:13 -0700
On Tue, Sep 7, 2010 at 10:25 PM, Jeff Schroeder
<jeffschroeder computer org> wrote:
> I've been trying to hunt down what provides
> note.get_permissions_display in note_list_snippet.html and am unable
> to find the guilty party. I know it is a curried instance method, but
> thats about it.
>
> At first I assumed it was an model method or a property. Now I'm just
> confused. Help :)
I didn't realize it was something magical in the bowels of django that
adds this. For those curious, search django's source tree for:
get_%s_display
--
Jeff Schroeder
Don't drink and derive, alcohol and analysis don't mix.
http://www.digitalprognosis.com
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]