Modification to printing views and updated Django to version 1.6.