Statistics
| Branch: | Tag: | Revision:

root / snf-webproject / synnefo @ a442c81d

Name Size
  versions
  webproject
__init__.py 1.7 kB

Latest revisions

# Date Author Comment
a442c81d 03/04/2014 12:23 pm Ilias Tsitsimpis

Fix console output for management commands

From Django's documentation:
When you are using management commands and wish to provide console
output, you should write to self.stdout and self.stderr, instead of
printing to stdout and stderr directly.

This patch fixes the managements commands to use the proper...

0fa71fcc 12/03/2013 06:04 pm Christos Stavrakakis

webproject: Custom exception reporter filter

Remove 'cleanse' middleware that was used to clean sensitive variables
from admin mails. Instead, create a custom exception filter and set this
filter as Django's default reporter (DEFAULT_EXCEPTION_REPORTER_FILTER).

ae8f26fc 12/02/2013 05:54 pm Kostas Papadimitriou

webproject: Include common 403.html template

Signed-off-by: Olga Brani <>

7c354a92 11/29/2013 12:44 pm Christos Stavrakakis

webproject: Move patching of hidden settings

Remove patching of 'django.views.debug.HIDDEN_SETTINGS' from 'cleanse'
middleware that is going to be totally removed. Instead, patch them in
'models.py' of webproject.

901b106f 11/28/2013 05:52 pm Christos Stavrakakis

webproject: Propagate 'django.request' logger

ddfb6278 11/28/2013 05:49 pm Christos Stavrakakis

webproject: Add 'admin_mails' logging handler

Add 'admin_mails' handler to default logging configuration and use it
for 'django.request' logger, which is used to log all 5xx responses
and unhandled exceptions.

662413bb 11/28/2013 03:30 pm Christos Stavrakakis

webproject: Do not disable existing loggers

Change default settings for logging, to not disable existing loggers by
default. This was already done for the API, but not for 'snf-manage'.
Also, the example conf file were not updated.

096f8090 10/30/2013 03:39 pm Kostas Papadimitriou

webproject: Do not require django.contrib.admin by default

a0abbade 10/01/2013 06:56 pm Christos Stavrakakis

wheezy: Remove setup_environ

From Django docs:
"""
This function temporarily modified sys.path in order to make the parent
“project” directory importable under the old flat startproject layout.
This function is now deprecated, as its path workarounds are no longer...

0a70d2c5 10/01/2013 06:16 pm Christos Stavrakakis

Merge branch 'hotfix-0.14.8' into develop

Merge hotfix-0.14.8 which ports Synnefo to wheezy and Django 1.4.5

Conflicts:
ci/ci_squeeze.conf
ci/ci_wheezy.conf
ci/schemas/one_node_squeeze/packages.conf
ci/schemas/one_node_squeeze/squeeze.conf
ci/schemas/one_node_squeeze/wheezy.conf...

View revisions

Also available in: Atom