'This should return the URL of the created object, Â«objÂ».'

def get_success_url(self, obj, **kwargs):

    if ('language' in kwargs):
        with force_language(kwargs['language']):
            url = obj.get_absolute_url()
    else:
        url = obj.get_absolute_url()
    if self.edit_mode_on_success:
        sep = ('&' if ('?' in url) else '?')
        url = '{0}{1}{2}'.format(url, sep, get_cms_setting('CMS_TOOLBAR_URL__EDIT_ON'))
    return url
