On 2/22/07, Mary <[EMAIL PROTECTED]> wrote:
>
> hi all;
>
> I am creating a model that will create a table that will contain some
> articles that will be filled by admin people so i need to know how can
> i create a
>
> field in the database that adds the user name of the logged person
> when he add an article

see http://code.djangoproject.com/wiki/CookBookThreadlocalsAndUser

>
> Also how can i create a field that add a time stamp

just create a DateTimeField( auto_now=True )

>
> thank you in advance;
>
> Mary Adel
>
>
> >
>


-- 
Honza Kr�l
E-Mail: [EMAIL PROTECTED]
ICQ#:   107471613
Phone:  +420 606 678585

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to