horizon/openstack_dashboard/dashboards/admin
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
..
domains Sort imports alphabetically 2013-06-14 12:05:55 +02:00
flavors Sort imports alphabetically 2013-06-14 12:05:55 +02:00
groups Sort imports alphabetically 2013-06-14 12:05:55 +02:00
images Sort imports alphabetically 2013-06-14 12:05:55 +02:00
info Sort imports alphabetically 2013-06-14 12:05:55 +02:00
instances Improvements in csv export for usage data 2013-06-21 14:00:37 +03:00
networks Sort imports alphabetically 2013-06-14 12:05:55 +02:00
overview Improvements in csv export for usage data 2013-06-21 14:00:37 +03:00
projects Improvements in csv export for usage data 2013-06-21 14:00:37 +03:00
roles Sort imports alphabetically 2013-06-14 12:05:55 +02:00
routers Sort imports alphabetically 2013-06-14 12:05:55 +02:00
users Sort imports alphabetically 2013-06-14 12:05:55 +02:00
volumes Sort imports alphabetically 2013-06-14 12:05:55 +02:00
__init__.py Splits OpenStack Dashboard bits from framework app code. 2012-10-11 11:47:50 -07:00
dashboard.py Group CRUD and Management in Admin Dashboard. 2013-05-27 21:45:41 -07:00
models.py Splits OpenStack Dashboard bits from framework app code. 2012-10-11 11:47:50 -07:00