Anonymous
Are u trying to extend the User Model??
Yes I want to add field in auth_user table
R
Can anyone please suggest some good resources to get started with django?
Doragonsureiyā
Can anyone please suggest some good resources to get started with django?
Looking for Django tutorials? you can follow these three recommended ones: * Official documentation and tutorial * Tutorial from MDN * Tutorial from django-girls
Anonymous
How to fix keyerror access _token
Gil
How to fix keyerror access _token
https://realpython.com/python-keyerror/
R
Thanks!
Lord Voldemort
Guys any idea about one to many field in models on django
Anonymous
when i execute this commmand : python -m pip install django==2.2 getting an error that doesn't exist this version why?
Anonymous
Try 2.2.0
Anonymous
Try 2.2.0
No matching distribution found for django==2.2.0 Incredible!!
Anonymous
Try 2.2.1
Anonymous
Try 2.2.1
Could not find a version that satisfies the requirement Django==2.2.0 (from versions: 1.1.3, 1.1.4, 1.2, 1.2.1, 1.2.2, 1.2.3, 1.2.4, 1.2.5, 1.2.6, 1.2.7, 1.3, 1.3.1, 1.3.2, 1.3.3, 1.3.4, 1.3.5, 1.3.6, 1.3.7, 1.4, 1.4.1, 1.4.2, 1.4.3, 1.4.4, 1.4.5, 1.4.6, 1.4.7, 1.4.8, 1.4.9, 1.4.10, 1.4.11, 1.4.12, 1.4.13, 1.4.14, 1.4.15, 1.4.16, 1.4.17, 1.4.18, 1.4.19, 1.4.20, 1.4.21, 1.4.22, 1.5, 1.5.1, 1.5.2, 1.5.3, 1.5.4, 1.5.5, 1.5.6, 1.5.7, 1.5.8, 1.5.9, 1.5.10, 1.5.11, 1.5.12, 1.6, 1.6.1, 1.6.2, 1.6.3, 1.6.4, 1.6.5, 1.6.6, 1.6.7, 1.6.8, 1.6.9, 1.6.10, 1.6.11, 1.7, 1.7.1, 1.7.2, 1.7.3, 1.7.4, 1.7.5, 1.7.6, 1.7.7, 1.7.8, 1.7.9, 1.7.10, 1.7.11, 1.8a1, 1.8b1, 1.8b2, 1.8rc1, 1.8, 1.8.1, 1.8.2, 1.8.3, 1.8.4, 1.8.5, 1.8.6, 1.8.7, 1.8.8, 1.8.9, 1.8.10, 1.8.11, 1.8.12, 1.8.13, 1.8.14, 1.8.15, 1.8.16, 1.8.17, 1.8.18, 1.8.19, 1.9a1, 1.9b1, 1.9rc1, 1.9rc2, 1.9, 1.9.1, 1.9.2, 1.9.3, 1.9.4, 1.9.5, 1.9.6, 1.9.7, 1.9.8, 1.9.9, 1.9.10, 1.9.11, 1.9.12, 1.9.13, 1.10a1, 1.10b1, 1.10rc1, 1.10, 1.10.1, 1.10.2, 1.10.3, 1.10.4, 1.10.5, 1.10.6, 1.10.7, 1.10.8, 1.11a1, 1.11b1, 1.11rc1, 1.11, 1.11.1, 1.11.2, 1.11.3, 1.11.4, 1.11.5, 1.11.6, 1.11.7, 1.11.8, 1.11.9, 1.11.10, 1.11.11, 1.11.12, 1.11.13, 1.11.14, 1.11.15, 1.11.16, 1.11.17, 1.11.18, 1.11.20, 1.11.21, 1.11.22, 1.11.23, 1.11.24, 1.11.25, 1.11.26, 1.11.27, 1.11.28, 1.11.29) No matching distribution found for Django==2.2.0
Anonymous
see exesting versions
Anonymous
Omg
Anonymous
Try the 2.2.11
Anonymous
Try the 2.2.11
version2 isn't in this list
Anonymous
😳😳😳😳😳
Anonymous
Try the 2.2.11
That is the lts version from official docs
Anonymous
Should work
Anonymous
That is the lts version from official docs
I should use python3 But i use python It's solved
Anonymous
👏👏
cj
I should use python3 But i use python It's solved
learn how to use virtual environments 🙂
Bruce Wayne
Yes I want to add field in auth_user table
You can use either AbstractUser or AbstractBaseUser
cj
Yes I want to add field in auth_user table
Read this article, old but still gold https://simpleisbetterthancomplex.com/tutorial/2016/07/22/how-to-extend-django-user-model.html
Bruce Wayne
Or OneToOneField
Ali
Can you create mobile / android applications with django and what do I need to learn?
Mirco
Can you create mobile / android applications with django and what do I need to learn?
Write APIs with Django Rest Framework and call it via your mobile app In the case of native Android, you have to fetch that APIs with Java/Kotlin
vincent
Hey guys, I have a question, I'm using django generic.CreateView to create a Transaction but also want to use data from what is entered in the Transaction form, e.g quantity of products purchased, in order to reduce the total quantity in my records, how can I get the data from the form?
Reginald
Please is using django for frontend a bad idea.
cj
Please is using django for frontend a bad idea.
totally, as Django is a backend framework 🤷🏻‍♂️
✙Yaroslav
Hi guys. I have a question. I wanna use this tutorial https://learndjango.com/tutorials/django-password-reset-tutorial but it works, if template for password reset is located at templates/registration/password_reset_form.html.  How change a location, if I have app, and in my app I want to use this tutorial?
Kushal
How to make 3 custom user in django
🙆‍♂️
Anonymous
i have a problem its not related to django
Anonymous
I'm working on automating stuff using python
Anonymous
so what currently I'm stuck on is getting the list of my liked YouTube videos and downloading them .
Anonymous
and i can't seem. to find a good solution.
Anonymous
How to show all ragister user in html page in django
Alex
How to show all ragister user in html page in django
Make a view, collect the users, add a nice template so you can control what/how they get displayed, congrats u done
SG
i am making a website in which i fire a api in every 5 seconds. api give some data and i am storing this all data into database i want to show that all data into django's template without reloading or refreshing. it means if user visit the site, he doesn't require to reload a website to see latest data. please help me to solve this. i am stuck here.
SG
socket.io
hi, i am not familiar with socket.io
SG
can you help me
Itay
I am not familiat too
Itay
But google does
SG
ok thanks
Anshul
Recently I come across this helpful article on Danjgo Project Ideas from beginners to advanced. check this out https://www.linkedin.com/posts/rinu-gour-80a73919b_top-27-python-django-project-ideas-master-activity-6641277499772891136-aivu
🙆‍♂️
🙆‍♂️
😃
🙆‍♂️
Javascript :)
maybe need send ajax(from frontend) query and add DOM elements with get data
George
maybe need send ajax(from frontend) query and add DOM elements with get data
Yes, its a job for some framework or tool related to JS
Basil
Oh hi George 👋
SG
by using ajax call in views when i use return render(request, template, data) i got all page in response, not perticular data
SG
how to solve this
George
how to solve this
Make a new rest call for this and call that instead of the render of the page
Anonymous
so sorry !its by mistake
Alexx1121
Yo
Alexx1121
Hello human's
SG
Make a new rest call for this and call that instead of the render of the page
i refer this one, he got the data but i got all content in response
George
i did not get it,
Well, you need a new view for your data. And each time you update, you call your view instead of the page render
SG
https://prnt.sc/rbzsnl
SG
here you can check what i get in response
SG
can i send some images related to my code ? so i can give detailed information .
Kushal
Guys I am facing problems to make mutiple users
@imrohit
I need django dev. Of atleast 3-4 years of experience. Interested one can dm me. And you will get paid for your work.
Anonymous
Type error :get()missing 1 required positional argument path. Error while creating django web app how to fix it?
Anonymous
Actually I am entering the code in cmd prompt so didn't get your point
Anonymous
Can I use (cash_page) like this @method_decorator(cash_page(60*60*5) Class ViewName(ModelViewSet) : *