Mirco
aman
hey, I'm stuck at error which says matching query does not exist...
aman
inside login success
aman
although my second query is running good but 1st one is getting error anybody get into similar sometime please help.. for your help in adv..
Pratik
Is there a way in which I can Group by and concat a string like we do in postgres string_agg() using django ORM?
Adnan
Pratik
Macurrent
am getting confused here, why is it that some devs are using class in django views while others don't use it??
Macurrent
using classes in django views was so easy for me and now i have come across a dev who does not use it, he uses def instead, is it really necessary to learn def in django views??, I can see even in the official django docs, they are using class views lol
CodeCypher
Macurrent
CodeCypher
Yes
Well i am more in the 'def' category, i have been building my apps using FBV and i havent seen any limitations till date.
Mirco
Why y'all have to call them "Def" ?
They are just Python functions
Macurrent
CodeCypher
Macurrent
so after learning CBV there is no point to learn about FBV??
Mirco
We know bro.
Then just call them "functions" 🙂
Anonymous
If this is true then what does fbv solves?? why do we need it??
Coming from OOP background, CBVs will be pleasant to the eyes and mind ... FBVs will look unstructured and 'not clean'. From the functions dude, CBVs is an overkill or too restrictive .
So bro, enjoy what makes you work faster and efficient. Remember that, hope that their drawbacks won't have effect on your works once you find out 👌
Macurrent
Mirco
Macurrent
Then i'll have to convert all fbv to gcbv that i will come across
Will that be possible really
Macurrent
Or maybe some function based view cannot be converted to generic class based view??
Macurrent
https://concisecoder.io/2018/12/01/django-function-based-views-vs-class-based-views/
Macurrent
Eventz
how to create my own admin page on django python
Ghorz
Jasir_
I am creating a website, but m stucked little bit , I want to add the shops to favorites page but in the backend it's storing, but it's not displaying in frontend, we should do manually if i have to display, used js, and only one item displays any idea or tutorial ?
aman
I get it done it is showing error because it is fetching objects from empty db
aman
I populate it and now it's fine....
aman
atleast for now😬😬 bdw thankyou Starters
Jack
Ok
Harsh
Hey ! I am using python instabot libery
Everything working fine in my computer .
The process Is for infinite time and my computer not able to work all the time .
So I just put the script code in python anywhere
But I am getting 429rrquest error To many request I have
Tried to find solution on GitHub etc . But nothing available
Anyone know
Doragonsureiyā
Harsh
Harsh
🤖
Saikat
Guys ...little .info I have integrated django +docker+AWS S3+postgres ....so if anyone need help , I can 😊
Saikat
And I also need help in pytest anyone opt for ??
Vivek
Hello guys is it possible to implement a VOD (Video on demand) Web application on Django?
Charly
Vivek
One more thing, I wanted to know that how good do django web applications perform when we compare them to Single page web applications like ones built on angular? Is there really a significant difference in how many users it can handle at once?
Deleted
https://stackoverflow.com/questions/67831602/run-ajax-call-to-get-form-submitting-data-first-then-run-the-following-javascri Please help, run ajax call to get form submitting data first, then run the following JavaScript
Suresh
Hi, i want to know the Citrix software engineer course if any one know please let me know, thank you in advance
Charly
Doragonsureiyā
Vivek
Charly
Charly
doesn't matter at all what fw are you using in the frontend
Vivek
any suggestions on which one is easier to go with from react or angular?
Anonymous
please send me profile admin
Darta
hi i fallow this tutorial https://realpython.com/django-user-management/ but in template when i put Hello, {{ user.username|default:'Guest' }}! and login in admin it just return Hello, Guest! also {{ user }} return AnonymousUser while i logged in admin
micker
How to export the list of fields passed from the front end to excel through django-import-export
Jack
I need help on this project sir.
A company gave a link to their company's website and in that website there's a table to fill some particular details located.
The thing is I've to prepare the exact same website myself and I've to store the data that are being inserted onto the table into MySQL database.
I've copied their source file via inspect. And I'm able to make it somewhat similar to original. But how can I add the data to my database that are being inserted there.
Macurrent
Mirco
Anonymous
Can someone explain in sime that what is Difference between rest and restful design doesn't understand the Google explaination?
Onks
Is there a simple way of making SlugField in models and {{ object.name|slugify }} to have the same value? SlugField ommits the stop words but slugify won't, the
mismatch is causing issues. I have tried using the library django-autoslug with,
from django.template.default filter import slugify
slug= AutoSlugField(slugify=slugify, unique=True)
but still when i populate the slug is removing the stop words.
Onks
use the admin page
Son
how to deploy django ussd application
Macurrent
I just cloned a django repo and the virtual env used was pipenv, how do i install the packages he used to get that website work locally
shashikant
Requirements.txt file will contain all the package and dependencies.to install it
pip install -r requirements.txt
Macurrent
Mirco
Jenish
Jenish
or pipenv install —python3.8
Jenish
E_designr
Why i have this error:
Import "blog.views" could not be resolved Pylance