Simplified code

Conflicts:
	pootle/apps/pootle_translationproject/views.py