From comments line to get_for_model
(source code):
Returns the ContentType object for a given model, creating the ContentType if necessary. Lookups are cached so that subsequent lookups for the same model don't hit the database.
So the result is cached and you can retrieve types separately in each view.
But consider a possibility of writing a single function or model method instead of duplicating code in views.