mirror of
				https://gitlab.crans.org/bde/nk20
				synced 2025-11-04 09:12:11 +01:00 
			
		
		
		
	propose fix for #134 (partially tested)
This commit is contained in:
		@@ -11,6 +11,10 @@ else
 | 
			
		||||
  sed -i -e "s/REPLACEME/La Note Kfet \\\\ud83c\\\\udf7b/g" /var/www/note_kfet/note_kfet/fixtures/cas.json
 | 
			
		||||
fi
 | 
			
		||||
 | 
			
		||||
# fix lag issues with django-oauth-toolkit (cf https://gitlab.crans.org/bde/nk20/issues/134 )
 | 
			
		||||
sed -i -e "s/all_scopes =/# all_scopes =/g" /var/www/note_kfet/env/lib/python3.11/site-packages/oauth2_provider/views/base.py
 | 
			
		||||
sed -i -e 's/kwargs\["scopes_descriptions"\] =/# kwargs\["scopes_descriptions"\] =/g' /var/www/note_kfet/env/lib/python3.11/site-packages/oauth2_provider/views/base.py
 | 
			
		||||
 | 
			
		||||
# Set up Django project
 | 
			
		||||
python3 manage.py collectstatic --noinput
 | 
			
		||||
python3 manage.py compilemessages
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user