horizon/openstack_dashboard
Tihomir Trifonov 0c0153a037 Improvements in csv export for usage data
Added a csv writer using the 'csv' library to format
properly exported data - escaping, encoding etc.
Added a HttpResponse-based class to handle csv generation
Added translation for the CSV columns and template.

Fix bug #1158383

Renamed few occurencies of 'tenant' to 'project'.

Also added a new 'project' in nova_data.py, which required
some refactoring of few tests, that didn't consider the current project
for project-based calls.

Note: I've added a StreamingHttpResponse example,
which is introduced in Django 1.5+ and being advised in the ticket.
However, my opinion is that at the moment we don't need this - it is
too complicated for the current usage.

Change-Id: I18bd70a23b7b8389c7c0f96dbf8794fea5e1e75b
2013-06-21 14:00:37 +03:00
..
api Remove pool selection from "Add Monitor" page 2013-06-18 12:26:35 +04:00
dashboards Improvements in csv export for usage data 2013-06-21 14:00:37 +03:00
local Merge "Refactoring url_for to remove admin parameter" 2013-06-12 20:04:45 +00:00
locale Correct a wonky translation from commit b7e3624 2013-05-13 22:22:44 -07:00
static Adds d3.js library and reworked quota infographics 2013-05-09 10:44:19 -07:00
templates Update Horizon for Django 1.5 compatibility 2013-04-30 20:54:39 -07:00
test Improvements in csv export for usage data 2013-06-21 14:00:37 +03:00
usage Improvements in csv export for usage data 2013-06-21 14:00:37 +03:00
wsgi Updated the django.wsgi file for devstack. 2012-02-29 01:37:37 -08:00
__init__.py Unifies the project packaging into one set of modules. 2012-02-29 00:20:13 -08:00
context_processors.py Splits OpenStack Dashboard bits from framework app code. 2012-10-11 11:47:50 -07:00
exceptions.py Switch to using cinderclient. 2012-08-14 14:50:15 -07:00
settings.py Remove deprecated features 2013-04-24 13:08:43 +02:00
urls.py Sort imports alphabetically 2013-06-14 12:05:55 +02:00
views.py Splits OpenStack Dashboard bits from framework app code. 2012-10-11 11:47:50 -07:00