Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(3)  |  Call(0)  |  Derive(0)  |  Import(3)

src/n/u/numericube-twistranet-2.0.0/twistranet/twistapp/models/__init__.py   numericube-twistranet(Download)
 
# Higher level stuff
from account import UserAccount, SystemAccount
from community import GlobalCommunity, AdminCommunity
from network import Network

src/n/u/numericube-twistranet-2.0.0/twistranet/twistapp/models/twistable.py   numericube-twistranet(Download)
        Just pass the request object.
        """
        from account import Account, AnonymousAccount, UserAccount
        u = getattr(request, 'user', None)
        if isinstance(u, User):
        If you want to use a system account, declare a '__account__' variable in your caller function.
        """
        from account import Account, AnonymousAccount, UserAccount
 
        # If we have the __account__ object, then it's quite obvious here...