integrated with django
integrated with django
added logging functionality