# We also need the logic to manage the resourcebse per site belonging, like signals?
class SiteResources(models.Model):
"""Relations to link the resources to the sites"""
site = models.OneToOneField(Site)
resources = models.ManyToManyField(ResourceBase)
def __unicode__(self):
return resource.title
ResourceBase should cover Layers, Maps, Documents. However users and groups will also need to be based per site.
I see the api changes. Is it only the Filter by Site line being changed here or are there other changes?
From simod's initial push:
ResourceBase should cover Layers, Maps, Documents. However users and groups will also need to be based per site.
I see the api changes. Is it only the Filter by Site line being changed here or are there other changes?