Statistics
| Branch: | Tag: | Revision:

root / snf-webproject / synnefo / webproject @ b0e7f310

Name Size
  management
  middleware
  settings
  templates
__init__.py 0 Bytes
i18n.py 2.3 kB
manage.py 12.8 kB
models.py 0 Bytes
urls.py 3.8 kB

Latest revisions

# Date Author Comment
225cea18 03/14/2013 03:58 pm Christos Stavrakakis

Move common code for mngmt commands to webproject

Move cyclades functions that are useful for all managament commands, like
pprint_table or parse_filters, to snf-webproject.

b0e7f310 03/14/2013 03:58 pm Christos Stavrakakis

Add ListCommand to be used for all *-list commands

Create a generic ListCommand to be user for all *-list management
commands. ListCommand handles must tasks that are common to all
management commands, like retrieving objects from db, filtering
results and formating output to a pretty table, json or csv....

01e056b7 03/04/2013 08:18 pm Kostas Papadimitriou

Change default TEMPLATE_DIRS setting

Refs #3363

/var/lib/* is commonly used to store application generated data and not
as a place to configure installed software.

For every Synnefo app, the administrator is free to install a modified
copy of a template under /etc/synnefo/templates....

6a8d05b4 02/14/2013 05:21 pm Christos Stavrakakis

Rewrite logging settings

e43ac298 01/17/2013 04:38 pm Christos Stavrakakis

Check subcommand for encoding stdout

Dummy check, forced by bug in builtin `isatty` method:
https://bugzilla.redhat.com/show_bug.cgi?id=841152

c9284fad 01/07/2013 02:39 pm Christos Stavrakakis

Fix bug in encoding stdout

Propagate attribute access to original sys.stdout. Also fix corner case where
sys.stdout does not have encoding attribute.

65e4e685 01/04/2013 02:20 pm Christos Stavrakakis

Fix typo

21ce46e9 01/04/2013 02:09 pm Christos Stavrakakis

Avoid the use of sys__stdout__

a45fc1ae 01/04/2013 01:28 pm Christos Stavrakakis

Fix UnicodeError when writing to sys.stdout

Due to a bug the was fixed in Python-2.7, in Python-2.6 unicode strings
that are written to sys.stdout (using sys.stdout.write) are not
converted to bytestrings using the file.encoding. Instead
sys.stdout.encoding is set to None, and the default encoding is used. We...

d80813fb 10/25/2012 05:29 pm Stratos Psomadakis

Minor changes

View revisions

Also available in: Atom