wille.app

Wille App Module

Using Apps:

>>> import app

Load Fileserver app from folder

>>> fileserver_app = app.App('fileserver', '../../../apps')

App variables can be accessed:

>>> fileserver_app.name
'fileserver'

URL to app can be generated by invoking:

>>> fileserver_app.make_url('http://localhost')
'http://localhost/apps/fileserver'

App can be also reloaded when code changes:

>>> fileserver_app.reload()
True
class wille.app.App(name, path)

Base Class For Wille Apps

make_url(base_url)

Make URL for the app using given base URL

reload()

Reload App

class wille.app.SourceCodeErrorView

Displayed in case there is an error in source code

Previous topic

Troubleshooting

Next topic

wille.auth

This Page