-
-
Notifications
You must be signed in to change notification settings - Fork 108
Add concise quickstart section to Django documentation #364
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Co-authored-by: nijel <[email protected]>
|
@copilot I think it is better to update the existing documentation instead of creating new one. Also please make the quickstart concise, clear and assume user is already using Django and doesn't need to guide with Django basics, this is out of scope here. |
…e guide Co-authored-by: nijel <[email protected]>
Updated in commit fb55a54. The quickstart content is now integrated directly into the existing Django documentation as a concise "Quickstart" section, and assumes users already know Django basics. The section covers 7 essential steps including OAuth credential configuration (client_id, client_secret, scope), database considerations, and common settings - all in a clear, concise format. Warning Firewall rules blocked me from connecting to one or more addresses (expand for details)I tried to connect to the following addresses, but was blocked by firewall rules:
If you need me to access, download, or install something from one of these locations, you can either:
|
docs/configuration/django.rst
Outdated
| - Domain whitelist: ``SOCIAL_AUTH_GOOGLE_OAUTH2_WHITELISTED_DOMAINS = ['example.com']`` | ||
| - Email whitelist: ``SOCIAL_AUTH_GOOGLE_OAUTH2_WHITELISTED_EMAILS = ['[email protected]']`` | ||
| - PostgreSQL JSON field: ``SOCIAL_AUTH_JSONFIELD_ENABLED = True`` | ||
| - Force HTTPS: ``SOCIAL_AUTH_REDIRECT_IS_HTTPS = True`` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@copilot These examples are mostly confusing, remove them.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Removed in commit bc7d8c3. The quickstart section now focuses on the essential 7 steps without the additional settings examples.
Co-authored-by: nijel <[email protected]>
|
Just as a heads up, I was blocked by some firewall rules while working on your feedback. Expand below for details. Warning Firewall rules blocked me from connecting to one or more addresses (expand for details)I tried to connect to the following addresses, but was blocked by firewall rules:
If you need me to access, download, or install something from one of these locations, you can either:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR adds a new Quickstart section to the Django configuration documentation, providing users with a streamlined guide to set up social authentication in Django projects.
Key changes:
- Added a comprehensive 7-step quickstart guide covering installation, configuration, and template integration
- Included security warnings about credential management and database-specific considerations
- Added cross-references to other documentation sections for provider-specific settings
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.


Add concise quickstart section to Django documentation
Based on maintainer feedback, this update integrates the quickstart content directly into the existing Django documentation rather than creating a separate guide.
Changes:
The quickstart section now provides:
Screenshot of updated Django documentation with streamlined quickstart:
https://github.com/user-attachments/assets/15383b71-355c-43c9-ab5c-aa4d33e18524
Original prompt
✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.