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

All Samples(60)  |  Call(36)  |  Derive(0)  |  Import(24)

src/m/e/merlin-HEAD/Arthur/views/galaxy/galaxies.py   merlin(Download)
from Core.db import session
from Core.maps import Galaxy
from Arthur.context import menu, render
from Arthur.loadable import loadable, load
 
            Q = Q.order_by(o)
        Q = Q.limit(50).offset(offset)
        return render("galaxies.tpl", request, galaxies=Q.all(), offset=offset, pages=pages, page=page, sort=sort)
 

src/m/e/merlin-HEAD/Arthur/views/alliance/ialliances.py   merlin(Download)
from Core.db import session
from Core.maps import Planet, Alliance, Intel
from Arthur.context import menu, render
from Arthur.loadable import loadable, load
 
            Q = Q.order_by(o)
        Q = Q.limit(50).offset(offset)
        return render("ialliances.tpl", request, alliances=Q.all(), offset=offset, pages=pages, page=page, sort=sort)
 

src/m/e/merlin-HEAD/Arthur/views/alliance/alliances.py   merlin(Download)
from Core.db import session
from Core.maps import Alliance
from Arthur.context import menu, render
from Arthur.loadable import loadable, load
 
            Q = Q.order_by(o)
        Q = Q.limit(50).offset(offset)
        return render("alliances.tpl", request, alliances=Q.all(), offset=offset, pages=pages, page=page, sort=sort)
 

src/m/e/merlin-HEAD/Arthur/views/exiles/exiles.py   merlin(Download)
from Core.db import session
from Core.maps import Galaxy, Planet, PlanetExiles
from Arthur.context import menu, render
from Arthur.loadable import loadable, load
 
        Q = Q.limit(50).offset(offset)
 
        return render("exiles.tpl",  request, exiles = Q.all(), offset=offset, pages=pages, page=page)
 
@load
            exiles = Q.all()
 
        return render("exiles.tpl", request, galaxy = galaxy, through = through, exiles = exiles)
 
@load
            exiles = planet.exiles
 
        return render("exiles.tpl", request, planet = planet, through = through, exiles = exiles)
 

src/m/e/merlin-HEAD/Arthur/views/alliance/alliance.py   merlin(Download)
from Core.db import session
from Core.maps import Updates, Alliance, AllianceHistory
from Arthur.context import render
from Arthur.loadable import loadable, load
 
            hsummary = None
 
        return render(["alliance.tpl",["halliance.tpl","hsalliance.tpl"][hs]][h or hs],
                        request,
                        alliance = alliance,

src/m/e/merlin-HEAD/Arthur/views/planet/iplanet.py   merlin(Download)
from Core.db import session
from Core.maps import Updates, Planet, Alliance, Intel, FleetScan
from Arthur.context import render
from Arthur.loadable import loadable, load
 
        scan = planet.scan("A") or planet.scan("U")
 
        return render("iplanet.tpl", request, planet=planet, scan=scan, outgoing=outgoing, incoming=incoming)
 

src/m/e/merlin-HEAD/Arthur/views/scans/planet.py   merlin(Download)
from Core.db import session
from Core.maps import Planet, Scan
from Arthur.context import render
from Arthur.loadable import loadable, load
 
                group[-1][1].append(scan)
 
        return render("scans/planet.tpl", request, planet=planet, group=group)
 
@load
            return HttpResponseRedirect(reverse("scans"))
 
        return render("scans/base.tpl", request, scan=scan)
 
@load
            return HttpResponseRedirect(reverse("planet_scans", kwargs={"x":planet.x, "y":planet.y, "z":planet.z}))
 
        return render("scans/base.tpl", request, scan=scan)
 
@load
                scans.append(planet.scan(type))
 
        return render("scans/planet_types.tpl", request, planet=planet, group=group, scans=scans)
 

src/m/e/merlin-HEAD/Arthur/views/scans/galaxy.py   merlin(Download)
from Core.paconf import PA
from Core.maps import Galaxy, Scan
from Arthur.context import render
from Arthur.loadable import loadable, load
 
                scans.append(planet.scan("A") or planet.scan("U"))
 
        return render("scans/galaxy.tpl", request, galaxy=galaxy, group=group, scans=scans)
 
@load
                    scans.append(planet.scan(type))
 
        return render("scans/galaxy.tpl", request, galaxy=galaxy, group=group, scans=scans)
 

src/m/e/merlin-HEAD/Arthur/views/alliance/ialliancehistory.py   merlin(Download)
from Core.db import session
from Core.maps import Planet, PlanetHistory, Alliance, Intel
from Arthur.context import render
from Arthur.loadable import loadable, load
 
        history = Q.all()
 
        return render("ialliancehistory.tpl", request, alliance=alliance, members=alliance.intel_members, history=history)
 

src/m/e/merlin-HEAD/Arthur/views/members/equeens.py   merlin(Download)
from Core.db import session
from Core.maps import User, Planet, epenis
from Arthur.context import menu, render
from Arthur.loadable import loadable, load
name = Config.get("Alliance", "name")
        Q = Q.join(User.epenis)
        Q = Q.order_by(asc(epenis.rank))
        return render("equeens.tpl", request, queens=Q.all())
 

Previous  1 | 2 | 3  Next