On 1/14/07, James Tauber <[EMAIL PROTECTED]> wrote:
What's the easiest way to write an add manipulator that automatically
provides the current authenticated user for that field?
What I usually do is write the manipulator so its __init__ takes an
extra argument -- a user -- and have its save()
On 1/14/07, James Tauber <[EMAIL PROTECTED]> wrote:
On 14/01/2007, at 10:29 AM, Honza Kr l wrote:
> On 1/14/07, James Tauber <[EMAIL PROTECTED]> wrote:
>>
>> I have a model with a required field of ForeignKey(User)
>>
>> What's the easiest way to write an add manipulator that automatically
>>
On 14/01/2007, at 10:29 AM, Honza Král wrote:
On 1/14/07, James Tauber <[EMAIL PROTECTED]> wrote:
I have a model with a required field of ForeignKey(User)
What's the easiest way to write an add manipulator that automatically
provides the current authenticated user for that field?
do not
On 1/14/07, James Tauber <[EMAIL PROTECTED]> wrote:
I have a model with a required field of ForeignKey(User)
What's the easiest way to write an add manipulator that automatically
provides the current authenticated user for that field?
do not write it at all, use generic views and wrap it in
I have a model with a required field of ForeignKey(User)
What's the easiest way to write an add manipulator that automatically
provides the current authenticated user for that field?
James
--
James Tauber http://jtauber.com/
journeyman of some http://jtauber.com/blog/
5 matches
Mail list logo