Re: Proxy Model and casting

2011-07-14 Thread Tom Evans
On Thu, Jul 14, 2011 at 2:09 PM, tom wrote: > Hello, > > I have following proxy model > > class UserForSubdomain(User): >    """ >    This Model acts as a proxy to the django model:``User`` and >    allows to store the subdomain with the username to support >    the same usernames with different s

Proxy Model and casting

2011-07-14 Thread tom
Hello, I have following proxy model class UserForSubdomain(User): """ This Model acts as a proxy to the django model:``User`` and allows to store the subdomain with the username to support the same usernames with different subdomains. The username is split with the first '.'.