lint
This commit is contained in:
		
							
								
								
									
										20
									
								
								README.rst
									
									
									
									
									
								
							
							
						
						
									
										20
									
								
								README.rst
									
									
									
									
									
								
							@@ -15,21 +15,19 @@ General Python/Django
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
include this repo in your project's requiremets.txt, or install it from the command line.
 | 
					include this repo in your project's requiremets.txt, or install it from the command line.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
..  code-block:: bash
 | 
					..  code-block:: shell
 | 
				
			||||||
    :caption: Python/Django installation
 | 
					 | 
				
			||||||
 | 
					
 | 
				
			||||||
      cd path/to/your/project
 | 
					  cd path/to/your/project
 | 
				
			||||||
      source path/to/venv/bin/activate
 | 
					  source path/to/venv/bin/activate
 | 
				
			||||||
      pip install https://github.com/StepwiseMath/wp-oauth-backend
 | 
					  pip install https://github.com/StepwiseMath/wp-oauth-backend
 | 
				
			||||||
 | 
					
 | 
				
			||||||
..  code-block:: yaml
 | 
					..  code-block:: yaml
 | 
				
			||||||
    :caption: lms.envs.tutor.production.py
 | 
					 | 
				
			||||||
 | 
					
 | 
				
			||||||
      ADDL_INSTALLED_APPS:
 | 
					  ADDL_INSTALLED_APPS:
 | 
				
			||||||
      - "wp_oauth_backend"
 | 
					  - "wp_oauth_backend"
 | 
				
			||||||
      THIRD_PARTY_AUTH_BACKENDS:
 | 
					  THIRD_PARTY_AUTH_BACKENDS:
 | 
				
			||||||
      - "wp_oauth_backend.oauth.WPOAuth2"
 | 
					  - "wp_oauth_backend.oauth.WPOAuth2"
 | 
				
			||||||
      ENABLE_REQUIRE_THIRD_PARTY_AUTH: true
 | 
					  ENABLE_REQUIRE_THIRD_PARTY_AUTH: true
 | 
				
			||||||
 | 
					
 | 
				
			||||||
add these settings to django.conf:
 | 
					add these settings to django.conf:
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user