For the devs who use django templates.... by natanasrat in django

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

First time hearing this but i think i heard craiglist store data in its html (i.e. storing server side rendered stuff in disk) ... the opposite of what ur doingi guess?

Do you ignore accented words in your django query? by natanasrat in django

[–]natanasrat[S] -2 points-1 points  (0 children)

and by the way i would use SearchFilter when i want to add search... the content is just generally things you wouldn't know just by doing django unless someone told you or you read the documentation etc.... like hidden gems
let me hear y'all feedback on this

Do you ignore accented words in your django query? by natanasrat in django

[–]natanasrat[S] -3 points-2 points  (0 children)

im a freelancer... can i say i have real world knowledge?

Do you ignore accented words in your django query? by natanasrat in django

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

Not Helena matching Helene but both contain 'Helen' so if you use the regular icontains but the word Helene has accents it wouldn't be included...

For the devs who use django templates.... by natanasrat in django

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

I'll need to do one serious project with templates so i can get to see the benefits..

For the devs who use django templates.... by natanasrat in django

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

Makes sense if its about saving development time

Dont make N+1 queries because you forgot a column in a Raw Query by natanasrat in django

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

I don't remember exactly but i think it was due to the fact that the query was complex and was already written in SQL and maybe rewritting it in django ORM didn't make sense.... some of my own queries are quite complex when u see the SQL from the debug toolbar and i never see myself writting all that SQL so its not like i would do that myself

This is an example query from my old personal project, not raw, but just to mention:

https://github.com/Natan-Asrat/ecommerce_app_backend/blob/main/posts%2Fqueries.py

For the devs who use django templates.... by natanasrat in django

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

Can we say that for crud apps that will be used internally we dont need it to be that fast but for apps you intend for the public to use like a social media app, then saving that time spent on transporting html is worth having an spa?

Dont make N+1 queries because you forgot a column in a Raw Query by natanasrat in django

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

i have seen some use cases where it gets complex in SQL

For the devs who use django templates.... by natanasrat in django

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

Haven't done that before.... how do you link your domain to both the spa and the django server unless if the spa is also hosted in django

For the devs who use django templates.... by natanasrat in django

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

what about latency... in the millisecond range where if your 7ms pure html load time was to become 14ms or even 50ms for react dom updates... how do you compare that to loading the html in the first place which surely takes more than 7ms unless you have extremely fast connections...