Allow an 'author' kwarg to automatically fill in the created_by and last_modified_by fields.

def create(self, *args, **kwargs):
        """
        Allow an 'author' kwarg to automatically fill in the created_by and last_modified_by fields.
        """
        if kwargs.has_key('author'):
            kwargs['created_by'] = kwargs['author']
            kwargs['last_modified_by'] = kwargs['author']
            del kwargs['author']
        return super(CMSPageManager, self).create(*args, **kwargs)