diff --git a/docs/configuration/porting_from_dsa.rst b/docs/configuration/porting_from_dsa.rst index b0aa75f9..54e20d38 100644 --- a/docs/configuration/porting_from_dsa.rst +++ b/docs/configuration/porting_from_dsa.rst @@ -134,7 +134,7 @@ paths aren't valid anymore. Some solutions to this problem are: if session_dict['_auth_user_backend'].startswith('social_auth'): session_dict['_auth_user_backend'] = BACKENDS[session_dict['_auth_user_backend']] new_sess = Session.objects.save(sess.session_key, session_dict, sess.expire_date) - print 'New session saved {}'.format(new_sess.pk) + print('New session saved {}'.format(new_sess.pk)) .. _django-social-auth: https://github.com/omab/django-social-auth diff --git a/docs/installing.rst b/docs/installing.rst index e5790b8b..8b1e5b9e 100644 --- a/docs/installing.rst +++ b/docs/installing.rst @@ -38,10 +38,8 @@ components are: Dependencies ------------ -Dependencies are properly defined in the requirements files; the -``setup.py`` script will determine the environment where it's -installed and sort between Python 2 or Python 3 packages if -needed. There are some ``extras`` defined to install the corresponding +Dependencies are properly defined in the requirements files. +There are some ``extras`` defined to install the corresponding dependencies since they are required to build extensions that, unless used, are undesired.