Skip to content
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

📝 Add documentation on how to use the Django ORM inside FastAPI #11782

Open
wants to merge 11 commits into
base: master
Choose a base branch
from

Conversation

patrick91
Copy link

  • Add initial documentation for using the Django ORM
  • Add async example

@tiangolo
Copy link
Owner

tiangolo commented Jul 1, 2024

📝 Docs preview for commit 1b83a5d at: https://89c6eacf.fastapitiangolo.pages.dev

@alejsdev alejsdev added the docs Documentation about how to use FastAPI label Jul 1, 2024
@tiangolo
Copy link
Owner

tiangolo commented Jul 3, 2024

📝 Docs preview for commit 85ea9ae at: https://70478e6c.fastapitiangolo.pages.dev

@tiangolo
Copy link
Owner

tiangolo commented Jul 3, 2024

📝 Docs preview for commit 5909e93 at: https://1421e46e.fastapitiangolo.pages.dev

@tiangolo
Copy link
Owner

tiangolo commented Jul 3, 2024

📝 Docs preview for commit e639870 at: https://cbdcbcd0.fastapitiangolo.pages.dev

@tiangolo
Copy link
Owner

tiangolo commented Jul 3, 2024

📝 Docs preview for commit 048a762 at: https://5ee78811.fastapitiangolo.pages.dev

@tiangolo
Copy link
Owner

tiangolo commented Jul 3, 2024

📝 Docs preview for commit 3768b3c at: https://3f3e5c23.fastapitiangolo.pages.dev

@tiangolo
Copy link
Owner

tiangolo commented Jul 3, 2024

📝 Docs preview for commit d259c13 at: https://ee45910f.fastapitiangolo.pages.dev

@tiangolo
Copy link
Owner

tiangolo commented Jul 3, 2024

📝 Docs preview for commit 5e49b3f at: https://1fc2129e.fastapitiangolo.pages.dev

@patrick91 patrick91 marked this pull request as ready for review July 3, 2024 15:36
@patrick91 patrick91 mentioned this pull request Jul 8, 2024
5 tasks
@YuriiMotov
Copy link
Contributor

YuriiMotov commented Jul 11, 2024

I think it would be better to move this guide to "How To - Recipes" section.

Also, using global object to access DB session is not a good practice. It should be at least moved to dependency to allow it to be overridden in tests.

Overall, I like the manner of presentation, and I find this guide useful.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docs Documentation about how to use FastAPI
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants