Leonardo
im sending delete to myurl/hospitals/1
Mirco
read better documentation
Leonardo
and when i get again, the id still there
Mirco
Take your time, read again and try to understand how DRF handles it 😊
Anonymous
Anonymous
😂😂 Are you serious?
🌝💔Either me I didn’t explain well or they don’t know
Maz
🌝💔Either me I didn’t explain well or they don’t know
Which one of those do you believe is the answer? :)
Anonymous
yeah
Anonymous
professional
Anonymous
It’s connected
Muflone
I'm not yet sure he's using django at all
Anonymous
I'm not yet sure he's using django at all
Why did this legend @theamdman solve my problem tho? 🌝❤️
Anonymous
try to guess
Uhmmm because he knows how django databases really work?
Anonymous
Anyway thank for you all,,
Muflone
Like it was told you 2 hours ago, check your settings.py, plus check your database settings specifying your database
Muflone
🌝 I checked them but didn’t know what to change
do you know django has a great online documentation?
Anonymous
DATABASES = { 'default': { 'ENGINE': 'django.db.backends.postgresql_psycopg2', 'NAME': 'The database you want',
Muflone
with postgres examples included
Mirco
Hard as hell
Only for you I think
Anonymous
If all people understand it why they made such groups and communities :3
Anonymous
Not to teach Django from scratch
You have a point, thank you!
Mirco
😊
Muflone
Hard as hell
https://docs.djangoproject.com/en/3.0/ref/settings/#std:setting-DATABASES
Muflone
use the documentation, you'll need it
Mirco
Okay thank you 🌚 you’re a legend too
I think you and lots of people always forget the main goal of a documentation: read it And if it looks hard, read again and again and play
Mirco
Okay thank you 🌚 you’re a legend too
And this behavior won't help you to receive help from anyone , trust me
Anonymous
Like two months of coding I still need time to aggregate things up
Mirco
I’m still tooo new to programming and I said that before 🌚💔
And ? Everyone is a "beginner" when studying something new
Mirco
You need time, code as much as you can and learn how to read documentations
Anonymous
🌚❤️
Mirco
Okay thank you 🌚 you’re a legend too
And don't use this humor with people that try to help you even if you don't understand what kind of help it is
Mirco
You will understand it better in the future when you get more experience
Anonymous
Hi, when we using virtual environment? Only when we develop our web app or ... ?
Jose Luis
i have a generic.DetailView where i need to add an button in the template to set to disabled an option. recommend me to use a form/post or maybe exist another better way?
Jose Luis
i just need to click a button, run a JS to confirm and then update the record
Master
i just need to click a button, run a JS to confirm and then update the record
any updates on server/DB should be done by POST or PUT/PATCH methods. This is common practice
Jose Luis
thanks
Jose Luis
the problem is thta i dont want to use REST FRAMEWORK, and i dont want to send a full form, i just need to update an value, UpdateView is not what i want, i need something simple, something small, like send a AJAX to just update that value. use something like /user/update/<ID> and just modify one value
Arturo
use View of django generic class and override the method put
Master
Write simple FBV update. I fail to see problem so far.
Jose Luis
ok, will check it, thanks again
Leonardo
@pyflare the problam that was missing an slash at the end of url 😅
Mirco
You've learned before giving the fault to the framework u'r using , first give the fault to yourself 🤪
Vadym
Hi guys. New here. Noob need help.
Vadym
I heard it's not a good idea to store this type of data in DB. Give me some ideas please.
Trials
the kind of data that is not good idea to store in the DB
Orack
can I return things in except block of try catch?
Orack
https://del.dog/gringuckam.txt likethis , i get TypeError: cannot unpack non-iterable int object for first post request
Ashish
In pycharm db.sqlite3 file was loaded in the wrong encoding:'UTF-8' .how to fix this
Ghorz
Hi what is better ? Django girls Or Django original docs
There is a big difference. Django girls is a quick tutorial Django docs is a reference and technical note or bible for django So there's a difference.
Adonis
does anyone know how to start with AWS Worksdocs API ? am trying to implement that as a backend for my app
Beka
Friends who has a book rest API DJANGO 2.2?
Beka
I just asked thanks )))
Anonymous
Who did have cod of marketplace?
Beka
Yes I understand 🤦😁 no problem
Master
???
https://www.google.com/search?q=django+marketplace&oq=django+marketplace&aqs=chrome..69i57.4086j0j1&sourceid=chrome&ie=UTF-8
Master
if you need help with simple google request, its too early for you to study Django.
Anonymous
Did't you understand me?))
Master
Don't be smart
Thats kind of job description... Are you sure you in correct channel?
Anonymous
Thank you smart man)
Bunty chhatri wala..
https://pastebin.com/jAuBhkAE Its always showing page not found when I'm trying to delete a todo Code is in above url..
Oui
Hello, after python manage.py migrate i get this err: django.db.utils.OperationalError: (2019, "Can't initialize character set utf8mb (path: C:\\Program Files\\MySQL\\MySQL Server 6.1\\share\\charsets\\)")