- Timestamp:
- Dec 30, 2008, 9:59:35 PM (16 years ago)
- Location:
- trunk/exodus
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/exodus/urls.py
r6517 r6522 14 14 (r'^view/nodelist/$', 'exodus.views.viewNodelist'), 15 15 (r'^view/node/(?P<node>.+)/$', 'exodus.views.viewNode'), 16 (r'^nagios/$', 'exodus.views.nagios'), 16 17 17 18 # config urls -
trunk/exodus/views.py
r6517 r6522 35 35 mimetype='text/plain') 36 36 37 def nagios(request): 38 nodes = Node.objects.all() 39 return render_to_response('nagios.txt', {'nodes' : nodes}, 40 mimetype='text/plain') 41
Note:
See TracChangeset
for help on using the changeset viewer.