Live data from Hacker News

Portable Django

djngo.com

51–60 of 71 posts

Re: Portable Django

#51
post #28

Earlier quoted context omitted.

If not django, what on python? Anything else besides flask?

https://fastapi.tiangolo.com/ is pretty awesome.

I find https://django-ninja.rest-framework.com/ even more awesome these days because it natively integrates with Django ORM, which I prefer over alternatives such as SQLAlchemy.

Re: Portable Django

#52
post #29

Hmm, this has me thinking I could build a single-file executable with a self-contained database or that connects to the server. And with a little work I might be able to launch the system browser pointed at the Djngo. And with this I might have a simple web based replacement for all the Access utilities floating around here? I know about Electron and Tauri and all that but this seems like an intriguing possibility to…

If you don't mind Lua, then redbean already has you covered: https://redbean.dev/

Tunney-jart, ape, etc are so impressive... I'd like to see some real competition for Access, at least on Linux and/or BSDs. Because Access is untouchable in it's space. Because it _is_ the space. redbean looks very tasty indeed. If it was the foundation of an 'Access-on-GNU/Linux/BSD' that would be very cool.

Re: Portable Django

#53
post #26

What a missed opportunity in calling it Django Unchained

Or Django Unplugged, since this Django was a guitarist.

A jazz guitarist, already unplugged.

https://www.youtube.com/watch?v=ANArGmr74u4

And, err.. well, the very namesake of the project to begin with.

Re: Portable Django

#54
post #26

What a missed opportunity in calling it Django Unchained

References to slavery in America, even references to movies of freed slaves struggling to free others are generally unwelcome. It’s not something most people want to be faced with when they just came for a simple technical discussion.

References to religions as true are generally unwelcome. It's not something most people want to be faced with when they just came for a simple technical discussion.

Re: Portable Django

#55
post #28

Are people still using Django?

If not django, what on python? Anything else besides flask?

I would suggest Masonite [0]. It’s lightweight enough to replace Flask and has a plethora of built in features if you need to build a “production-ready” app. It tends to imitate Laravel in its project setup and naming conventions which, depending on your preference, can either be a boon or a bane.

[0] https://docs.masoniteproject.com/

Re: Portable Django

#56
post #29

Hmm, this has me thinking I could build a single-file executable with a self-contained database or that connects to the server. And with a little work I might be able to launch the system browser pointed at the Djngo. And with this I might have a simple web based replacement for all the Access utilities floating around here? I know about Electron and Tauri and all that but this seems like an intriguing possibility to…

If you don't mind Lua, then redbean already has you covered: https://redbean.dev/

I really should try redbean. Python / Django is attractive for the batteries included aspect and some uses I had in mind might look for those batteries but a quick search shows some of those are available for Lua so maybe I should get a proof of concept together.

Re: Portable Django

#57
post #54

Earlier quoted context omitted.

References to slavery in America, even references to movies of freed slaves struggling to free others are generally unwelcome. It’s not something most people want to be faced with when they just came for a simple technical discussion.

References to religions as true are generally unwelcome. It's not something most people want to be faced with when they just came for a simple technical discussion.

Maybe they just really like True Religion jeans?

Re: Portable Django

#58
post #54

Earlier quoted context omitted.

References to religions as true are generally unwelcome. It's not something most people want to be faced with when they just came for a simple technical discussion.

Maybe they just really like True Religion jeans?

My fat ass cannot fit into them, stop fat shaming me, I came for the technical discussion.

Re: Portable Django

#59

Earlier quoted context omitted.

References to slavery in America, even references to movies of freed slaves struggling to free others are generally unwelcome. It’s not something most people want to be faced with when they just came for a simple technical discussion.

I found it clever and I welcome it. The history surrounding slavery isn't a taboo subject, what a ridiculous idea. The commenter in no way is condoning slavery.

Uh, yeah, it absolutely is a taboo subject, at least in the USA.

Re: Portable Django

#60
post #26

What a missed opportunity in calling it Django Unchained

References to slavery in America, even references to movies of freed slaves struggling to free others are generally unwelcome. It’s not something most people want to be faced with when they just came for a simple technical discussion.

What are your facts about what most people want? Did you do some statistical work in this field? It would be interesting to see your results.

As a competent HN reader you certainly are basing your view on some facts?

Post reply on HN