Render a “detail” view of an object.
By default this is a model instance looked up from self.query, but the view will support display of any object by overriding self.get_object().
Return the Query that will be used to look up the object.
Note that this method is called by the default implementation of get_object and may not be called if get_object is overriden.
Returns the object the view is displaying.
By default this requires self.query and a pk or slug argument in the URLconf, but subclasses can override this to return any object.
Get the name of a slug field to be used to look up by slug.
Insert the single object into the context dict.
Get the name to use for the object.
Return a directory of macro names.
Values should be template paths, and keys will be used as the lookup key in the template. Eg. macros.<key>.<macro>.