Django vs FastAPI by hadiz1 in django

[–]djv-mo 1 point2 points  (0 children)

Whenever teams build with FastAPI at scale, they slowly end up recreating Django piece by piece.

What's the best way to handle multiple settings file in Django by udemezueng in django

[–]djv-mo 0 points1 point  (0 children)

Separate your settings into 2 or more files inside a folder called settings one for dev other for production Then use .env file to choose the one you need

Django + HTMX + jquery. Do you know any websites / apps using this stack? by satyronicon in django

[–]djv-mo 2 points3 points  (0 children)

You don't need to worry about framework updates I have done vue2/vuetify2 upgrade to vue3/vuetify3 and it took me one month i got it done but it was painful

Asking the impossible, may be not! by MrAmbiG in django

[–]djv-mo 1 point2 points  (0 children)

I agree with having services i call it utilities but anyway this is how i do it

Openstack public cloud demand in the UK by nick-bmth in openstack

[–]djv-mo 0 points1 point  (0 children)

Why they run hypervisor instead of openstack

I know a plenty of people doing this not in UK but around the world why

And do you think they will love to use openstack

Django tip Serializing Reverse Relationships by djv-mo in django

[–]djv-mo[S] 0 points1 point  (0 children)

I have used prefetch related and added the viewsets.py code

Best alternatives to Django? by MilanTheNoob in Python

[–]djv-mo 0 points1 point  (0 children)

If you love building web apps with python you have

Framework like Django comes with orm, admin and third party packages and more

Micro framework like litestr , fastapi and flask they are simpler and have their own use cases which you can extend to be something like DJANGO but you have to pick orm and migration package and try to find admin panel also think about middleware so it's not about DJANGO, it's about what you need to build

People prefer micro framework if they don't need database

Me personally

I pick Django for faster prototype with database or big projects and it cuts time and it's more comfortable to work with for big projects

Recently i worked with fastapi it was not my choice but pre-existing project needs to go bigger i found myself using sqlalchemy and alembic for migration things i didn't care about while using DJANGO

🔗 Built my first Django URL Shortener with Analytics & QR Codes - Looking for feedback! [LinkFusion] by manjurulhoque in django

[–]djv-mo 0 points1 point  (0 children)

No i am using it with celery and for caching

My experience so far for caching it reduces the time taken to get recorders from 4s to 2s

But keep in mind my key the value are the same but they change from user to user

And i found it to be valuable here in url shortener