Welcome | Get started | Dive | Contribute | Topics | Reference | Changes | More
lino.modlib.restful¶
Lino’s lino.modlib.restful
plugin is an adapter to the
django-restful framework.
Usage:
Add
'lino.modlib.restful'
to yourget_installed_plugins()
.Install djangorestframework manually in case it is not installed automatically:
$ pip install djangorestframework
Set your
root_urlconf
to ‘mysite.urls’Write your mysite/urls.py using lino_noi.projects.team.urls as example.
Login and logout views for the browsable API. |
Classes
|
See More about plugins. |
- class lino.modlib.restful.Plugin(site, app_label, app_name, app_module, needed_by, configs: dict)¶
Bases:
Plugin
See More about plugins.