On 24 Jan 2009, at 06:22 , Vbabiy wrote: > > def test_showAccountWithZeroTrackers(self): > self.client.login(username='user', password='test123') > > How can I get the user model when I use the client to login in to the > application? > Why not simply use `User.objects.get(username='user')`?
--~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---