Hari
In migration
Hari
Sorry worked fine
d3vsh3d
How can I capture html value and store in models when onclick event occurred?
d3vsh3d
I need your help guys, Thanks in advance.
Alex
How can I capture html value and store in models when onclick event occurred?
Wrong question, more appropriate: how do i make asynchronous actions that dont require the page to be refreshed
d3vsh3d
Wrong question, more appropriate: how do i make asynchronous actions that dont require the page to be refreshed
Sorry for wrong asking. But that is exactly what I want. Can any one help me out?
KRISHNA
can you Help me! @Crof4
Gil
Sorry for wrong asking. But that is exactly what I want. Can any one help me out?
For frontend side, play with ajax, for backend side ( django) api linked to models, middle difficulty for me
Andrew
How can I capture html value and store in models when onclick event occurred?
what exactly means "value"? innerHTML? innerText? value of the form input?
Andrew
How can I capture html value and store in models when onclick event occurred?
https://simpleisbetterthancomplex.com/tutorial/2016/08/29/how-to-work-with-ajax-request-with-django.html
Andrew
you need to send innerHTML to server using jquery ajax or fetchAPI
S Sidharth
Do anybody have a finished django app in ur git? I wanted to learn how to introduce front end to our django app. If so can u pls share it?
S Sidharth
By studying Django templates on official. docs ?
Yeah it's a bit confusing. Checked it
S Sidharth
Mirco
Yeah it's a bit confusing. Checked it
It's very easy, just study as better as u can and code
S Sidharth
Mirco
😊
Cris
how to run external python scripts in djano Rest and Vue frontend
Heigler Rocha
how to run external python scripts in djano Rest and Vue frontend
You can embed a custom python script in a custom management command to have full access to the framework (Rest, ORM, etc), but I didn't understand the Vue part
George
JZA
want to share this podcast on learning django
Ilya
Hello friends, my name is Ilya I am from Russia and I want to learn Django please give me some advice my programming experience is small and I'm just starting my way I want to implement myself in python (django) but I find it difficult to learn it, advise ways of learning because I'm sure that I'm not learning correctly I can read someone else's code but when I try to write my own it's like I forget everything I don't know where to start most of all I don't understand how templates work or how to work with them what books can I read besides documentation? I'm sorry for the stupid questions but I'm confused thank you all in advance😊
Current
hey i am working on blog website with django--- can anybody tell me how to make those bold, highlighting and header text, for example when someone type he can turn that text into bold or header?
Shivam
I want to webcam in django what's the best way to that...?
Shokhrukh
I want to webcam in django what's the best way to that...?
Hello, try next one https://benwilber.github.io/nginx/rtmp/live/video/streaming/2018/03/25/building-a-live-video-streaming-website-part-1-start-streaming.html
Heigler Rocha
Hello friends, my name is Ilya I am from Russia and I want to learn Django please give me some advice my programming experience is small and I'm just starting my way I want to implement myself in python (django) but I find it difficult to learn it, advise ways of learning because I'm sure that I'm not learning correctly I can read someone else's code but when I try to write my own it's like I forget everything I don't know where to start most of all I don't understand how templates work or how to work with them what books can I read besides documentation? I'm sorry for the stupid questions but I'm confused thank you all in advance😊
I think this question is more about how you learn then the tech itself. People have different ways to learn, some prefer more reading before hands on, others like videos, podcasts and some just prefer to practicing as soon as possible. You should figure out what works for you and what keeps you motivated, try different things and you'll get there. I my case I hate follow courses that teaches building useless projects for me (todo list, shopping carts, etc), so I prefer to start my own project and pick parts of information "on demand", of course this only my personal example and may not be suitable for you.
Shokhrukh
thank you 😊
your welcome )))
Current
Current
Ckeditor
thanks
Justin
I am building a web app to register for events A model is used to save the user and the event he registered. how can i use this data so that i can update the button on the web page from Register To Registered. I am using Detailview for displaying the event details
Dhruva
thanks
Welcome
Luis
I am building a web app to register for events A model is used to save the user and the event he registered. how can i use this data so that i can update the button on the web page from Register To Registered. I am using Detailview for displaying the event details
I don't understand what are you trying to do... any way, you can use template tags to evaluate some conditions and handle the "text" displayed to user. https://docs.djangoproject.com/en/2.2/ref/templates/builtins/#if
Tejesh
I want to send data from arduino/esp8266 to django... How should i go about it?
Tejesh
And I also want to make sure it's secure
Prasta
can someone help me to explain the differences from the models below? char = models.CharField(max_length=10) with char = models.CharField(max_length=10, null=True) some tutorials I've seen put null=True, when I compare the two, they must be filled
Dhruva
Django restapi searchfilter is not working what could be the reason?
Opeyemi
Django restapi searchfilter is not working what could be the reason?
if you are perfoming the default searchfilter on an APIView then it will not work, you will need to do something moore custom, same thing for pagination. but the search filter works out of the box on the generics or ListAPIView
Opeyemi
i cannot think of a reason why it wouldnt work if using that
Dhruva
Yaa I am also not able to figure out why??!!
Dhruva
Does get method bypasses DRF
Anonymous
Hi guys, Is there anyone who did sign-in/sign-up with facebook and google using DRF.
Anonymous
If yes, please suggest the steps of getting it done
Opeyemi
it handled all my authentication stuff like normal login and registration, change password, reset password, email verification
Opeyemi
Does get method bypasses DRF
i have no idea about this
Anonymous
I am already using JWT for authentication
just wanted to add feature to login or signup using social accounts
Opeyemi
Yaa I am also not able to figure out why??!!
funny enough i am also stuck here with the app i am building, its just the APIView that gives me problem
Dhruva
😅
Opeyemi
just wanted to add feature to login or signup using social accounts
i saw something about this in the docs, let me check
Opeyemi
thnks
https://www.django-rest-framework.org/api-guide/authentication/#django-rest-framework-social-oauth2
Opeyemi
thnks
https://github.com/RealmTeam/django-rest-framework-social-oauth2
Anonymous
thanks
Opeyemi
If you resolve just notify me
okay, but i solved pagination, incase you have issues with that too
Anonymous
hi i have 3 type of users in my project ,i want to the admin create them and send them generated password in order the users logged in using the generated password how can i do this . please help me i used so many steps as to add fields of role but i couldn't make the password field disappear
Dhruva
In django Rest Api model how can I calculate the age from the date of birth field i.e in backend it should work like today's date-birthdate =age but how to showcase this logic and how to do