<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 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)