Add support for ordering in ListCommand
Make list command order results either by 'order_by' class attribute,or by primary key.
Fix import and add main to unittests
Move astakos lib from snf-common to snf-django-lib
Use pprint_table in server-show command
Fix CSV output of ListCommand
Fix CSV output format of ListCommand using csv python module, insteadof manually trying to format them. Also fix small issueswith --no-headers option.
Move UserCache from cyclades.common to lib.astakos
Move UserCache from synnefo.management.common to synnefo.lib.astakos.Also, update ListCommand with 'astakos_url' and 'astakos_token' classattributes, which must be declared only when 'user_uuid_field' is used.
Move common code for mngmt commands to webproject
Move cyclades functions that are useful for all managament commands, likepprint_table or parse_filters, to snf-webproject.
Add ListCommand to be used for all *-list commands
Create a generic ListCommand to be user for all *-list managementcommands. ListCommand handles must tasks that are common to allmanagement commands, like retrieving objects from db, filteringresults and formating output to a pretty table, json or csv....
Move link_static management command in webproject
Initial commit for snf-webproject
- new package snf-webproject- moved basic django related settings in snf-webproject- added new entry point utils to ease the extension mechanism of snf-webproject (urlpatterns, middleware, static_files, installed_apps)...