This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from lfcore.ident.api import IdentAPI | |
import time | |
d = Domain.objects.get(name="rooms.fisher-0.fyre.co") | |
#d = Domain.objects.get(pk=5) | |
#all_users = UserProfile.objects.filter(domain=d)[:20] | |
all_users = UserProfile.objects.filter(domain=d, state=RowState.enums().ENABLED) | |
site = Site.objects.filter(domain=d)[0] | |
data = { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from lfcore.domain.api import DomainAPI | |
#Change the subdomain name and filename of sites | |
#Filename of sites should be list of sites, one on each line | |
subdomain = 'fisher-1' | |
sitefile = open("/tmp/list.txt", 'r') | |
d = Domain.objects.get(name='rooms.%s.fyre.co' % subdomain) | |
print "Domain: "+str(d) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@import "globals.j" | |
//@import "WordsController.j" | |
@implementation LessonsController : CPObject | |
{ | |
JSObject objs @accessors; | |
JSObject dataObject; | |
@outlet CPScrollView lessonsScrollView; | |
@outlet CPTableView lessonsTableView; | |
@outlet CPLabel appLabel; |
NewerOlder