Added reverse urls in models and generic views