R
Can anyone?
Doragonsureiyā
Somebody please help me out with an error in my project
Don't ask meta questions like: "Any user of $x here?" "Anyone used technology $y?" "Hello, I need help on $z!" Just ask directly! The better you are at explaining the problem, the more likely you are to get help. Asking smart questions
Doragonsureiyā
Can anyone?
Maybe anyone is here, yes, but they are not obliged to read everyone's message here neither to reply to everyone's message, if someone wants to reply to your message, they will do that, just don't try to draw attention to your message writing "anyone?" every 5 minutes, that will lead you to be warned for SPAM/Flood, just be patient or use Google/DuckDuckGo to research about your question instead of wasting time here waiting for people to do your work. Have a nice day 😊
Akshay
Guys do me a favour can u create a simple python django CRUD operation for me
Anonymous
Sahil
Doragonsureiyā
It isn't working as expected
Please provide a full explanation including all the details that you consider relevant. Your statement is too broad and there is no clear way to answer you, you have to explain: - what you're doing - what you're expecting - what you're using - where you're running the script - what Python version you're using - what packages and their versions you're using - and the most important thing: show the code YOU wrote (read rule 5️⃣ for that) and more details, that way your chances to get help will increase
Sahil
Please provide a full explanation including all the details that you consider relevant. Your statement is too broad and there is no clear way to answer you, you have to explain: - what you're doing - what you're expecting - what you're using - where you're running the script - what Python version you're using - what packages and their versions you're using - and the most important thing: show the code YOU wrote (read rule 5️⃣ for that) and more details, that way your chances to get help will increase
I'm trying it out in a very simpler manner, I just want to create a model with some fields and when I run a soft delete function for a particular field, I want it to be removed or not shown in the database and when I run objects.all(), it should return all the query excluding the deleted ones and when I run a function undelete for a particular deleted field, it should retrieve or added back to the database. I want it to be done without using any third-party libraries.
No
Mere pas ek python script likhi hai in python notebook I want to schedule it using schedule module I think question aega ki koi online scheduler ya task manager se kar lo par ho ni ra wo
No
Please can anyone tell this
Sahil
No code written yet. Earlier I've used libraries such as django-soft-delete and soft-delete and it was working perfectly fine now I'm stuck how to do the same without libraries
Sahil
I've tried to follow out this article but it doesn't seem to be working. https://blog.usebutton.com/cascading-soft-deletion-in-django
Sahil
no code - no problem
I would be grateful if you could help me out with this.
Maxim
I would be grateful if you could help me out with this.
Do I understand correctly that you want someone to just do all the work for you?
Sahil
Do I understand correctly that you want someone to just do all the work for you?
No, I want to understand what's wrong in this article that it isn't working out the expected way or any suggestions how could I follow up.
Sahil
why without libraries?
I've been asked to do so
Sahil
why without libraries?
It maybe consuming lot of libraries may slower the application
Sahil
what exactly is wrong?
The manager part, it is not defined anywhere and that's what is causing the problem. objects_with_deleted = managers.SoftaDeleteManager(deleted=True)
Maxim
The manager part, it is not defined anywhere and that's what is causing the problem. objects_with_deleted = managers.SoftaDeleteManager(deleted=True)
nothing is clear from your explanations understand one simple thing: what is obvious to you may not be obvious to others
Maxim
Sure, I'll take care about this next time.
well, it means that you will also receive help only next time
Ranjith
Hi guys.. I am new django.. I have created virtual environment in cmd.. In visual studio while creating an app in the project.. we need to change the path into virtual environment right for that "workon (visual environment name)" command we use right.. or anything else . If anybody knows please clarify Thank you
Sahil
well, it means that you will also receive help only next time
Oh, I'm really sorry about it. Excuse me for this time.
William
Oh, I'm really sorry about it. Excuse me for this time.
Share your code and explain the issue you wanna solve.
William
!paste
Doragonsureiyā
Rule 5️⃣: To share code or error tracebacks, use an online pasting service like: - https://del.dog - https://dpaste.org - https://linkode.org - https://hastebin.com - https://bin.kv2.dev If you posted a wall of text, go back and delete it.
Complex_101
I added Amazon rds using postgres in my django website and deployed on heroku. Now when I run the website on local host it gives and error that - django.db.utils.OperationalError: fe_sendauth: no password supplied It has something to do with the psycopg2? How should I resolve this?
....
Guys .. Help me with this. in django app folder the templates are not working. .. when I try to make a extends a html file in main directory to a html file in app folder. . {%extends %} is not working. Any django templates not working the html file.. Why. ? How can I fix this. ?
@LSR
Can anyone tell me how to create carousel using databases (in one slide there should be 3 cards
Sahil
Share your code and explain the issue you wanna solve.
I'm trying it out in a very simpler manner, I just want to create a model with some fields and when I run a soft delete function for a particular field, I want it to be removed or not shown in the database and when I run objects.all(), it should return all the query excluding the deleted ones and when I run a function undelete for a particular deleted field, it should retrieve or added back to the database. I want it to be done without using any third-party libraries.
William
Then you can add a model field like is_deleted to BooleanField. Then update it using data.is_deleted=True
William
Then filter by is_deleted=False
Bwaks
Hello ......when I ran collect static my html template class was blogs at blogs.html ....then I changed it to artist.html and changed class blog to class artist.......now the browser does not work with artist class .....have done Ctrl + f5 ,Ctrl + r still no results ...help please
King
Hi guys.. i am kinda new to django i wanted to How do i set notifications when a table o field is updated in the database
Mariya
hey there how can use query model relationship in django one to one r/ship b/n models
Anonymous
hey there how can use query model relationship in django one to one r/ship b/n models
Hey Your question means how can use many to manyfiled in django or one to one ?
Anonymous
what kind of notification?
May be for email he is asking
Anonymous
one to many
Models.forgiankey
Venom
How to remove these condition tagline below the password fileds of django bootstrap form ?
Venom
Am new to django , I wish I could send a screen shot or something.
CodeCypher
@Assasin1o1 elaborate some more
Si
can I add django to my wordpress blog?
Venom
@Assasin1o1 elaborate some more
I wanted to create a registration form , I created it using bootstrap4 form. Created a forms.py where I used UserCreationForm and added email field in it. Everything is working great. But I don't know how to remove those warnings under the field. (Unwanted default text) Eg: password should be 8 char long. How to remove them?
CodeCypher
but why would you want to remove the help_text?
Venom
but why would you want to remove the help_text?
Looks ugly with them 😹 And I wanted to know how to do that.
Yaswanth
Why we have to use ASGI for implementing ajax , if we can do that with some lines of javascript (using fetch()).
Anonymous
Anyone worked on fastapi here?
Anonymous
I'm getting nonerype object has no attribute ereor
Aniesh
non_field_errors“: [”Invalid data. Expected a dictionary, but got InMemoryUploadedFile."]
Aniesh
how to solve this problem
https://stackoverflow.com/questions/67979634/non-field-errors-invalid-data-expected-a-dictionary-but-got-inmemoryupload
AB
How to add sound in django?
Anonymous
Heloo...I want to show the inserted data from admin to the user side in django.now the value is stored in the database.how can I get that values to the user side?
Anonymous
How to display bar char according to store data in sqlite database in django project
Anonymous
How to stop duplicate entries...
Mohit
How can I use variables in panda.crosstab ????
Mohit
Pd.crosstab(df.var1,Dr.var2,margins=True)....It's showing me ValueError as If using all scalar values,you must pass an index....but I'm taking input from user in Django....
Jd
👋Hola, como están? Alguien a trabajando con selenium... Es que quiero saber si puedo hacer que no se vea el navegador mientras estoy haciendo las acciones. Se puede?
Mohit
And putting that variables in panda.crosstab and getting the ValueError
Doragonsureiyā
👋Hola, como están? Alguien a trabajando con selenium... Es que quiero saber si puedo hacer que no se vea el navegador mientras estoy haciendo las acciones. Se puede?
Hi! This group is English-only. Please, translate your message into English and delete the non-english message. Or move to a group speaking your language (type "!ol" to see the list). Thank you.
Jd
Hi! This group is English-only. Please, translate your message into English and delete the non-english message. Or move to a group speaking your language (type "!ol" to see the list). Thank you.
Hello, how are you? Someone working with selenium ... I just want to know if I can make the browser not see while I'm doing the actions. It can?