Skip to content

Commit 0491037

Browse files
Copilotnijel
andcommitted
Remove Python 2 specific documentation references
Co-authored-by: nijel <[email protected]>
1 parent 57464f8 commit 0491037

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

docs/configuration/porting_from_dsa.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ paths aren't valid anymore. Some solutions to this problem are:
134134
if session_dict['_auth_user_backend'].startswith('social_auth'):
135135
session_dict['_auth_user_backend'] = BACKENDS[session_dict['_auth_user_backend']]
136136
new_sess = Session.objects.save(sess.session_key, session_dict, sess.expire_date)
137-
print 'New session saved {}'.format(new_sess.pk)
137+
print('New session saved {}'.format(new_sess.pk))
138138

139139

140140
.. _django-social-auth: https://github.com/omab/django-social-auth

docs/installing.rst

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -38,10 +38,8 @@ components are:
3838
Dependencies
3939
------------
4040

41-
Dependencies are properly defined in the requirements files; the
42-
``setup.py`` script will determine the environment where it's
43-
installed and sort between Python 2 or Python 3 packages if
44-
needed. There are some ``extras`` defined to install the corresponding
41+
Dependencies are properly defined in the requirements files.
42+
There are some ``extras`` defined to install the corresponding
4543
dependencies since they are required to build extensions that, unless
4644
used, are undesired.
4745

0 commit comments

Comments
 (0)