1 from django.conf import settings
2 from core.models import Site
5 def planetstack(request):
7 for site in Site.objects.all():
8 allowNewUsers = True # replace with logic for blessing sites for registration, if necessary
9 allSites.append( {"name": site.name,
11 "allowNewUsers": allowNewUsers} )
13 return {"DISABLE_MINIDASHBOARD": settings.DISABLE_MINIDASHBOARD,