r/djangolearning

▲ 9 r/djangolearning+1 crossposts

How to deploy Python Projects Online?

I am beginner and made some python based projects, and want to deploy them online so I tried to use GitHub but it is not working on browser, it required proper HTML, CSS and JavaScript to work online but my code is totally based on python language and I don't know how to use javascript. I want to code by my self and want to show people what I have built, I want to deploy my python projects online and also I'm mobile coder and not having any laptop/pc.

reddit.com
u/CodexSuman — 5 days ago

Flask vs Django

I am a 17 year old intermediate python programmer and I used to make python projects with Flask. Now I want to know which is better from flask and Django.

reddit.com
u/Smartyboyz — 6 days ago

Looking for a good resource to learn web/internet fundamentals before django

I am planning to learn Django for backend/web DVT, I have sufficiently learned python programming and used it in data science projects. In the past I have also learned JavaScript and used React.js but I didn't master it as U shifted to data science.

I realized that I never really fully grasped what happens underneath a web framework or how the web works in general. For example, I know terms like HTTP, HTTPs, servers , APIs etc, but I don't have a solid mental model of how everything fits together.

I'd like to find a structured course, book or other resource that covers the fundamentals, ideally from a beginner friendly perspective.

Some of the topics I'm thinking about are:

1.How the Internet and client-server architecture work

2.IP addresses, DNS and ports

3.TCP/IP and basic networking concepts

4.HTTP/HTTPS, requests, responses, headers and status codes

5.Cookies, sessions and authentication

6.Domains, URLs and TLS

7.Web servers and application servers

8.How a request travels from a browser to a backend and eventually to a database

9.APIs, REST and JSON

10.Backend concepts such as routing, middleware and CRUD

11.ORMs and how they relate to databases

12.Basic web security concepts

The above list was generated with help of AI but It is because I wanted to give you an idea of which contents I want to learn.

So go ahead and suggest books, courses( ones with certification as a preference), or any other resource like videos.

reddit.com
u/Ok_Pie8787 — 9 days ago
▲ 9 r/djangolearning+1 crossposts

django backend vs frontend

Hey everyone, i recently stared learning django and i have realized that the frontend matters more than i thought. My goal is to become a backend developer, but the more web apps i make the more i realize that i need to learn the frontend(HTML + CSS + JS) as well, because it is the thing that is being shown and it can work flawlessly but if it looks like shit no body is gonna bother looking at it, so my question is how much of the frontend do i need to know in order to become a sucessfull backend developer??

reddit.com
u/TrickyTechnician911 — 13 days ago
▲ 82 r/djangolearning+1 crossposts

Django 6.1 deprecates EMAIL_BACKEND — migration guide to the new MAILERS setting

Upgraded one of my Django projects to 6.1 this week and my terminal

threw a warning I hadn't seen before — turns out EMAIL_BACKEND is

now deprecated.

Django replaced it with a new MAILERS setting. Same idea as

DATABASES or CACHES — one dict, instead of ten separate EMAIL_*

settings scattered around. Old settings still work for now, just

with warnings. They'll stop working completely in Django 7.0.

The neat part: you can set up more than one mailer now. So if you

send order emails through SES but marketing emails through

Mailgun, you can switch between them with one argument instead of

writing custom code for it.

Wrote up the full before/after with a settings table, in case it

saves someone the confusion I had: https://medium.com/@munalpoudel3/django-email-backend-is-deprecated-heres-how-to-fix-it-django-6-1-mailers-guide-4c9182e82d33?sharedUserId=munalpoudel3

Anyone here already tried this with django-anymail? Wondering if

it just works or needs an update first.

u/Federal-Comfort-4301 — 14 days ago