lino_react.react.views¶
Views for lino_react.react.
(This module's source code is available here.)
Functions
|
Respone used for rendering XML views in react. |
|
Returns the index of an element in a callable which can be use a key function |
|
Deserves a docstring |
Classes
|
|
|
|
|
|
|
|
|
Creates a large JSON model that contains all the choicelists + choices |
|
|
|
|
|
Main app entry point, Also builds linoweb file for current user type. |
|
|
|
Just returns 200, used in an iframe to cause the browser to trigger "Do you want to remember this pw" dialog |
|
Used to collaborate with a restful Ext.data.Store. |
|
|
|
Ajax interface for getting the current session/user settings. |
-
lino_react.react.views.
find
(itter, target, key=None)¶ Returns the index of an element in a callable which can be use a key function
-
class
lino_react.react.views.
ChoiceListModel
(**kwargs)¶ Bases:
django.views.generic.base.View
Creates a large JSON model that contains all the choicelists + choices
Note: This could be improved, or might cause issues due to changing language
-
class
lino_react.react.views.
Restful
(**kwargs)¶ Bases:
django.views.generic.base.View
Used to collaborate with a restful Ext.data.Store.
-
get
(request, app_label=None, actor=None, pk=None)¶ Works, but is ugly to get list and detail
-
-
lino_react.react.views.
http_response
(ar, tplname, context)¶ Deserves a docstring
-
lino_react.react.views.
XML_response
(ar, tplname, context)¶ Respone used for rendering XML views in react. Includes some helper functions for rendering.
-
class
lino_react.react.views.
Null
(**kwargs)¶ Bases:
django.views.generic.base.View
Just returns 200, used in an iframe to cause the browser to trigger "Do you want to remember this pw" dialog
-
class
lino_react.react.views.
Index
(**kwargs)¶ Bases:
django.views.generic.base.View
Main app entry point, Also builds linoweb file for current user type. Content is mostly in the
react/main.html
template.
-
class
lino_react.react.views.
UserSettings
(**kwargs)¶ Bases:
django.views.generic.base.View
Ajax interface for getting the current session/user settings.