JSONEncoder which encodes django’s lazy i18n strings.
This is mainly used to return status messages along with content to ajax calls.
Returns specific content object based on passed parameters.
This method should be used if one wants the specific content object instead of the BaseContent object.
You can consider this as the equivalent to Django’s get method.
Returns specific content objects based on passed parameters.
This method should be used if one wants the specific content object instead of the BaseContent object.
Takes permissions of the current and start_date and end_date of object into account.
You can consider this as the equivalent to Django’s filter method.