Hi al, how can you put the logged-in user.username in model's textbox default value ? You don't have the "request" object in a model.
ex: class PizzaOrder(models.Model): submitter = models.CharField(max_length=50, default=' ...,< logged- in username >') thanks. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---