Robert Dailey wrote:
> On Oct 28, 2:47 pm, Robert Dailey <[EMAIL PROTECTED]> wrote:
>
>> On Oct 28, 11:17 am, Steve Holden <[EMAIL PROTECTED]> wrote:
>> [...]
>>
>> I'm have some more questions for you if you don't mind. When I add a
>> note, now there is a combo box with a list of users to cho
You need a save_model() method in your corresponding admin class:
def save_model(self, request, obj, form, change):
obj.user = request.user
obj.save()
http://docs.djangoproject.com/en/dev/ref/contrib/admin/#modeladmin-methods
--~--~-~--~~~---~--~
On Oct 28, 2:47 pm, Robert Dailey <[EMAIL PROTECTED]> wrote:
> On Oct 28, 11:17 am, Steve Holden <[EMAIL PROTECTED]> wrote:
>
>
>
> > Robert Dailey wrote:
> > > On Oct 28, 10:29 am, Steve Holden <[EMAIL PROTECTED]> wrote:
>
> > >> Robert Dailey wrote:
>
> > >>> Hi,
>
> > >>> I currently have the f
On Oct 28, 11:17 am, Steve Holden <[EMAIL PROTECTED]> wrote:
> Robert Dailey wrote:
> > On Oct 28, 10:29 am, Steve Holden <[EMAIL PROTECTED]> wrote:
>
> >> Robert Dailey wrote:
>
> >>> Hi,
>
> >>> I currently have the following model:
>
> >>> class Note( models.Model ):
> >>> content = models.T
Robert Dailey wrote:
> On Oct 28, 10:29 am, Steve Holden <[EMAIL PROTECTED]> wrote:
>
>> Robert Dailey wrote:
>>
>>> Hi,
>>>
>>> I currently have the following model:
>>>
>>> class Note( models.Model ):
>>>content = models.TextField()
>>>
>>> I've setup the admin p
On Oct 28, 10:29 am, Steve Holden <[EMAIL PROTECTED]> wrote:
> Robert Dailey wrote:
> > Hi,
>
> > I currently have the following model:
>
> > class Note( models.Model ):
> > content = models.TextField()
>
> > I've setup the admin page to allow users to add "notes", which
> > basically lets them
Robert Dailey wrote:
> Hi,
>
> I currently have the following model:
>
> class Note( models.Model ):
> content = models.TextField()
>
> I've setup the admin page to allow users to add "notes", which
> basically lets them fill in the content variable. However, on the
> admin page I want to ad
Hi,
I currently have the following model:
class Note( models.Model ):
content = models.TextField()
I've setup the admin page to allow users to add "notes", which
basically lets them fill in the content variable. However, on the
admin page I want to add a column to show the user that add
8 matches
Mail list logo