Hi!
I am using the Site app to serve multiple sites with shared content in
the same django project. Now I want to be able to assign a owner
company for each site to display different copyright info, etc. So
what I would like to do is to add a ForeignKey to the site model
without having to create
Hi!
I am working on a project with multiple sites and are using the
contrib.site app to separate them from eachother. The number of sites
will be high and changing often, so I don't want to modify the Apache
config and create a new VirtualHost/Location for each new site. I have
solved this by wri
except User.DoesNotExist:
return None
def get_user(self, user_id):
try:
return SiteUser.objects.get(pk=user_id)
except SiteUser.DoesNotExist:
return None
/Fredrik
On 17 Au
3 matches
Mail list logo