<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def get_initial(self):
 """Override of CreateView method, queries for which T&C to accept and catches returnTo from URL"""

        LOGGER.debug('termsandconditions.views.AcceptTermsView.get_initial')

        terms = self.get_terms(self.kwargs)
        return_to = self.request.GET.get('returnTo', '/')

        return {'terms': terms, 'returnTo': return_to}