diff --git a/server_ui/__init__.py b/server_ui/__init__.py index 8b46056adecd8dbe1ddfd2323acfd5fce9b72060..bb89b654f886d6c945b7212738cfa15717e54ea3 100644 --- a/server_ui/__init__.py +++ b/server_ui/__init__.py @@ -2,3 +2,4 @@ This django app is meant only to connect the pieces of Helios and Auth to present a clean UI """ +import glue diff --git a/server_ui/glue.py b/server_ui/glue.py index c74affb3bfb015a1c8c32c8b949599f373bffd04..376087a34e266ebaaf3386e875d6b18626ae1010 100644 --- a/server_ui/glue.py +++ b/server_ui/glue.py @@ -39,11 +39,9 @@ Your voter alias is : %s # send it via the notification system associated with the auth system user.send_message(subject, body) -import logging -logging.error("connecting the vote_cast signal") helios.signals.vote_cast.connect(vote_cast_send_message) def election_tallied(election, **kwargs): pass -helios.signals.election_tallied.connect(election_tallied) \ No newline at end of file +helios.signals.election_tallied.connect(election_tallied) diff --git a/settings.py.sample b/settings.py.sample index 357624c221790165579e5d4633079848dd902ac0..42fc18e2dbf812c6aee913616a07984f314180fb 100644 --- a/settings.py.sample +++ b/settings.py.sample @@ -138,7 +138,7 @@ logging.basicConfig( level = logging.DEBUG, format = '%(asctime)s %(levelname)s %(message)s' ) - + # set up django-celery BROKER_HOST = "localhost" BROKER_PORT = 5672