Пример #1
0
from ferris.core import routing, plugins
from ferris.controllers.download import Download

# Routes all App handlers
routing.auto_route()
routing.route_controller(Download)
# Default root route
routing.redirect('/', to='/main')


# Plugins
#plugins.enable('settings')
#plugins.enable('oauth_manager')
plugins.enable('angular')
Пример #2
0
from ferris.core import routing, plugins

# Routes all App handlers
routing.auto_route()

# Default root route
# routing.default_root()

routing.redirect('/', to='/index')


# Plugins
plugins.enable('settings')
plugins.enable('oauth_manager')
Пример #3
0
from ferris.core import routing, plugins

# Routes all App handlers
routing.auto_route()

# Default root route
routing.default_root()
routing.redirect('/mayorista', to='/mayorista/index')
#routing.redirect('/', to='/mayorista/index')

# Plugins
#plugins.enable('settings')
#plugins.enable('oauth_manager')
plugins.enable('custom_auth')
plugins.enable('recaptcha')
Пример #4
0
from ferris.core import routing, plugins

# Routes all App handlers
routing.auto_route()

# Default root route
routing.redirect('/', to='/main')

# Plugins
#plugins.enable('settings')
#plugins.enable('oauth_manager')
plugins.enable('angular')
plugins.enable('google_directory')
Пример #5
0
from ferris.core import routing, plugins

# Routes all App handlers
routing.auto_route()

# Default root route
routing.redirect('/', to='/home/index')

# Plugins
plugins.enable('settings')
plugins.enable('oauth_manager')
plugins.enable('template_tester')
Пример #6
0
from ferris.core import routing
from ferris.core import plugins

# Routes all App handlers
routing.auto_route()

# Default root route
# routing.default_root()
routing.redirect('/', to='/questions')
# routing.redirect('/', to='/index')

# Plugins
plugins.enable('settings')
plugins.enable('oauth_manager')
plugins.enable('custom_auth')
plugins.enable('recaptcha')
Пример #7
0
from ferris.core import routing, plugins

# Routes all App handlers
routing.auto_route()

# Default root route
routing.redirect('/', to='/main')


# Plugins
#plugins.enable('settings')
#plugins.enable('oauth_manager')
plugins.enable('angular')
plugins.enable('google_directory')