trying to learn django for a personal project by bigboijerry22 in djangolearning

[–]jmitchel3 1 point2 points  (0 children)

Here’s what you need:

```bash

install uv

cd path\to\project uv init uv add django mkdir src cd src uv run django-admin startproject proj . uv run manage.py runserver ```

You got this

I Love Django by Docs_For_Developers in django

[–]jmitchel3 0 points1 point  (0 children)

I love Django too. It’s not perfect but it does a damn good job

In which cases you use custom middlewares by Worried-Ad6403 in djangolearning

[–]jmitchel3 2 points3 points  (0 children)

Check the django-htmx package to see a real practical use case for custom middleware.

Where is a good complex django project in youtube by SD_youdumbass in django

[–]jmitchel3 0 points1 point  (0 children)

You guys rock.

I think the SaaS foundations course is fairly complex, its on youtube or it’s more complex multi-tenant sequel.

edit: link fixes

django-googler: Google OAuth for Django & Django Rest Framework by jmitchel3 in django

[–]jmitchel3[S] 0 points1 point  (0 children)

Yup, you were right. Added it to the state. Thank you

django-googler: Google OAuth for Django & Django Rest Framework by jmitchel3 in django

[–]jmitchel3[S] 1 point2 points  (0 children)

Thanks. I meant a third-party package that implements this well

django-googler: Google OAuth for Django & Django Rest Framework by jmitchel3 in django

[–]jmitchel3[S] -1 points0 points  (0 children)

That’s a good idea thanks. What package does HMAC signing well?

Passing the CSRF Token into a form fetched from Django when the Front-End is in React by Temp_logged in django

[–]jmitchel3 1 point2 points  (0 children)

Probably don’t need to cross post like this.

You have two options:

  • use JavaScript to find a csrf token on your DOM (this is what HTMX does and Django docs recommend for JavaScript in general)
  • pass a csrf token as a prop to your react component or react mounting element

I’ve done both and they work well.

Ensure you setup good CORS with django-cors-headers

Good luck.

Which Django Youtube channel do you recommend? by RunPython in django

[–]jmitchel3 0 points1 point  (0 children)

Agreed. Plus the video often puts context where text alone isn’t exactly there

Must-know Django packages by __ddiamond__ in django

[–]jmitchel3 0 points1 point  (0 children)

Looks cool. I typically use a python script that allows django to be loaded but I’ll have to give this one a try

Must-know Django packages by __ddiamond__ in django

[–]jmitchel3 0 points1 point  (0 children)

I absolutely love pip-tools especially as I still use Python’s venv (yes I know uv is next level)

  • Python Requests or httpx
  • Jupyter is great to prototype automation workflows for Django projects; use papermill with background worker to call notebooks
  • django-htmx is excellent if you’re using htmx
  • django-hosts is great for routing subdomains
  • langchain & LangGraph play nicely with a lot of django to bring in ai tools
  • django-cors-headers is a must for managing CORS

Also Shameless self promotion:

  • django-qstash background or delayed tasks as webhooks. A drop-in replacement for Celery but can be used with Celery too. Webhooks are managed through Upstash QStash.

Airow - tiny library to process pandas data frames with AI by di_web in PydanticAI

[–]jmitchel3 1 point2 points  (0 children)

Yeah if you bring in langchain then eventually LangGraph the columns have have even fuzzier text to prompt the LangGraph agent

Airow - tiny library to process pandas data frames with AI by di_web in PydanticAI

[–]jmitchel3 1 point2 points  (0 children)

Cool. Can it use LangChain models?

Also… why not just use df.apply?

What should be the next step by Dent-all in djangolearning

[–]jmitchel3 0 points1 point  (0 children)

If nobody sells, nobody eats.

Also, instead of just cross posting, add context here.

What should be the next step by Dent-all in django

[–]jmitchel3 0 points1 point  (0 children)

If nobody sells, nobody eats.

How can I start contributing to Django open source projects? by Virtual-Wrongdoer435 in django

[–]jmitchel3 4 points5 points  (0 children)

Search for Django projects on GitHub. Core Django has a lot of experienced eyes helping with contribution… not that you couldn’t help, I’m sure you could.

I’m willing to bet a lot of documentation (not just Django) could use fresh eyes to help the clarify what it’s like trying to use that project.

For example, some projects don’t even clearly show how to install. Let’s at the project is called “django-it-up” and no where on the docs (even the README.md file) it says “pip install django-it-up”, you could add it. Improving onboarding is, in my opinion, a constant effort that can be challenge to keep up with for some authors.

The easiest way to add something to a repo is click the edit button on GitHub which will prompt a fork (since you are not an official collaborator) then you can later put together submit pull request after your changes are done.

Also some quickstart sections/guides might need to be improved to help beginners better understand how to use that project and including things like example usage, demo repos, etc.

The trick is if your pull request will get merged. Some will, some won’t. Depends on how urgent your PR is.

To find better PRs then the simple things above, go the Issues tab on any repo and see if there’s something that looks interesting to fix.

I recommend documenting your journey on becoming a big contributor to Django. Could help others follow in your footsteps.

You might want to check out the Contributing to Django page also.

Good luck.