Presumably you're referring to ASP.NET, but if not, I'd love to know what you're working with. They're not really all that comparable. If I want to make something very quickly and need it to be trustworthy, I'll use Django, especially with the admin site. That said, these days I'd much rather work in the .NET ecosystem.
Sure, but .NET includes ASP.NET.
> If I want to make something very quickly
The difference in setup time between a modern .NET 7 web application and Django is basically nothing. You can have a boilerplate project in a few seconds, and the Hello World for the API side is 4 lines:
var builder = WebApplication.CreateBuilder(args);
var app = builder.Build();\
app.MapGet("/", () => "Hello World!");
app.Run();
> and need it to be trustworthyI don't understand what this means.
Security? .NET is very likely more secure out of the box because it's supported by a far larger company and is used by so many large organizations.
Lack of runtime errors? You're going to have more in Python because it doesn't have a compiler with strict rules.
I think the only irreplaceable part of the Python ecosystem at the moment is the math/stats/NN stuff. I wouldn't hire a data scientist who refused to learn Python, but I would hire a web dev who refused to learn it.