|
1 |
|
2 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" |
|
3 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
|
4 |
|
5 <html xmlns="http://www.w3.org/1999/xhtml"> |
|
6 <head> |
|
7 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> |
|
8 <title>pyams_notify.views package — PyAMS User Guide 0.1.0 documentation</title> |
|
9 <link rel="stylesheet" href="_static/pyramid.css" type="text/css" /> |
|
10 <link rel="stylesheet" href="_static/pygments.css" type="text/css" /> |
|
11 <script type="text/javascript"> |
|
12 var DOCUMENTATION_OPTIONS = { |
|
13 URL_ROOT: './', |
|
14 VERSION: '0.1.0', |
|
15 COLLAPSE_INDEX: false, |
|
16 FILE_SUFFIX: '.html', |
|
17 HAS_SOURCE: true, |
|
18 SOURCELINK_SUFFIX: '.txt' |
|
19 }; |
|
20 </script> |
|
21 <script type="text/javascript" src="_static/jquery.js"></script> |
|
22 <script type="text/javascript" src="_static/underscore.js"></script> |
|
23 <script type="text/javascript" src="_static/doctools.js"></script> |
|
24 <link rel="index" title="Index" href="genindex.html" /> |
|
25 <link rel="search" title="Search" href="search.html" /> |
|
26 <link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Neuton&subset=latin" type="text/css" media="screen" charset="utf-8" /> |
|
27 <link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Nobile:regular,italic,bold,bolditalic&subset=latin" type="text/css" media="screen" charset="utf-8" /> |
|
28 <!--[if lte IE 6]> |
|
29 <link rel="stylesheet" href="_static/ie6.css" type="text/css" media="screen" charset="utf-8" /> |
|
30 <![endif]--> |
|
31 |
|
32 </head> |
|
33 <body> |
|
34 |
|
35 <div class="related" role="navigation" aria-label="related navigation"> |
|
36 <h3>Navigation</h3> |
|
37 <ul> |
|
38 <li class="right" style="margin-right: 10px"> |
|
39 <a href="genindex.html" title="General Index" |
|
40 accesskey="I">index</a></li> |
|
41 <li class="right" > |
|
42 <a href="py-modindex.html" title="Python Module Index" |
|
43 >modules</a> |</li> |
|
44 <li class="nav-item nav-item-0"><a href="index.html">PyAMS User Guide 0.1.0 documentation</a> »</li> |
|
45 </ul> |
|
46 </div> |
|
47 |
|
48 <div class="document"> |
|
49 <div class="documentwrapper"> |
|
50 <div class="bodywrapper"> |
|
51 <div class="body" role="main"> |
|
52 |
|
53 <div class="section" id="pyams-notify-views-package"> |
|
54 <h1>pyams_notify.views package<a class="headerlink" href="#pyams-notify-views-package" title="Permalink to this headline">¶</a></h1> |
|
55 <div class="section" id="submodules"> |
|
56 <h2>Submodules<a class="headerlink" href="#submodules" title="Permalink to this headline">¶</a></h2> |
|
57 </div> |
|
58 <div class="section" id="module-pyams_notify.views.context"> |
|
59 <span id="pyams-notify-views-context-module"></span><h2>pyams_notify.views.context module<a class="headerlink" href="#module-pyams_notify.views.context" title="Permalink to this headline">¶</a></h2> |
|
60 <dl class="function"> |
|
61 <dt id="pyams_notify.views.context.NotificationsContextView"> |
|
62 <code class="descclassname">pyams_notify.views.context.</code><code class="descname">NotificationsContextView</code><span class="sig-paren">(</span><em>request</em><span class="sig-paren">)</span><a class="headerlink" href="#pyams_notify.views.context.NotificationsContextView" title="Permalink to this definition">¶</a></dt> |
|
63 <dd><p>Get context for notifications</p> |
|
64 </dd></dl> |
|
65 |
|
66 </div> |
|
67 <div class="section" id="module-pyams_notify.views.notification"> |
|
68 <span id="pyams-notify-views-notification-module"></span><h2>pyams_notify.views.notification module<a class="headerlink" href="#module-pyams_notify.views.notification" title="Permalink to this headline">¶</a></h2> |
|
69 <dl class="class"> |
|
70 <dt id="pyams_notify.views.notification.UserNotificationsView"> |
|
71 <em class="property">class </em><code class="descclassname">pyams_notify.views.notification.</code><code class="descname">UserNotificationsView</code><span class="sig-paren">(</span><em>request</em><span class="sig-paren">)</span><a class="headerlink" href="#pyams_notify.views.notification.UserNotificationsView" title="Permalink to this definition">¶</a></dt> |
|
72 <dd><p>Bases: <code class="xref py py-class docutils literal"><span class="pre">object</span></code></p> |
|
73 <p>User notifications view</p> |
|
74 <dl class="attribute"> |
|
75 <dt id="pyams_notify.views.notification.UserNotificationsView.cache_server"> |
|
76 <code class="descname">cache_server</code><a class="headerlink" href="#pyams_notify.views.notification.UserNotificationsView.cache_server" title="Permalink to this definition">¶</a></dt> |
|
77 <dd></dd></dl> |
|
78 |
|
79 </dd></dl> |
|
80 |
|
81 <dl class="function"> |
|
82 <dt id="pyams_notify.views.notification.get_user_notifications"> |
|
83 <code class="descclassname">pyams_notify.views.notification.</code><code class="descname">get_user_notifications</code><span class="sig-paren">(</span><em>cache_server</em>, <em>request</em><span class="sig-paren">)</span><a class="headerlink" href="#pyams_notify.views.notification.get_user_notifications" title="Permalink to this definition">¶</a></dt> |
|
84 <dd><p>Get notifications for given request</p> |
|
85 </dd></dl> |
|
86 |
|
87 </div> |
|
88 <div class="section" id="module-pyams_notify.views"> |
|
89 <span id="module-contents"></span><h2>Module contents<a class="headerlink" href="#module-pyams_notify.views" title="Permalink to this headline">¶</a></h2> |
|
90 </div> |
|
91 </div> |
|
92 |
|
93 |
|
94 </div> |
|
95 </div> |
|
96 </div> |
|
97 <div class="sphinxsidebar" role="navigation" aria-label="main navigation"> |
|
98 <div class="sphinxsidebarwrapper"> |
|
99 <h3><a href="index.html">Table Of Contents</a></h3> |
|
100 <ul> |
|
101 <li><a class="reference internal" href="#">pyams_notify.views package</a><ul> |
|
102 <li><a class="reference internal" href="#submodules">Submodules</a></li> |
|
103 <li><a class="reference internal" href="#module-pyams_notify.views.context">pyams_notify.views.context module</a></li> |
|
104 <li><a class="reference internal" href="#module-pyams_notify.views.notification">pyams_notify.views.notification module</a></li> |
|
105 <li><a class="reference internal" href="#module-pyams_notify.views">Module contents</a></li> |
|
106 </ul> |
|
107 </li> |
|
108 </ul> |
|
109 |
|
110 <div id="searchbox" style="display: none" role="search"> |
|
111 <h3>Quick search</h3> |
|
112 <form class="search" action="search.html" method="get"> |
|
113 <div><input type="text" name="q" /></div> |
|
114 <div><input type="submit" value="Go" /></div> |
|
115 <input type="hidden" name="check_keywords" value="yes" /> |
|
116 <input type="hidden" name="area" value="default" /> |
|
117 </form> |
|
118 </div> |
|
119 <script type="text/javascript">$('#searchbox').show(0);</script> |
|
120 </div> |
|
121 </div> |
|
122 <div class="clearer"></div> |
|
123 </div> |
|
124 <div class="related" role="navigation" aria-label="related navigation"> |
|
125 <h3>Navigation</h3> |
|
126 <ul> |
|
127 <li class="right" style="margin-right: 10px"> |
|
128 <a href="genindex.html" title="General Index" |
|
129 >index</a></li> |
|
130 <li class="right" > |
|
131 <a href="py-modindex.html" title="Python Module Index" |
|
132 >modules</a> |</li> |
|
133 <li class="nav-item nav-item-0"><a href="index.html">PyAMS User Guide 0.1.0 documentation</a> »</li> |
|
134 </ul> |
|
135 </div> |
|
136 <div class="footer" role="contentinfo"> |
|
137 © Copyright 2017, Thierry Florac. |
|
138 Created using <a href="http://sphinx-doc.org/">Sphinx</a> 1.6.5. |
|
139 </div> |
|
140 </body> |
|
141 </html> |