Hello, I have two questions:

-Where can I browse the django API?

- I have made a news app. One of the fields is author, i want to set
its default value to the username logged in the admin zone. How could
I do it? What do I have to import to use request.username? so I would
do: default= request.username, editable=False.

Thank you!


--~--~---------~--~----~------------~-------~--~----~
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