These are chat archives for django/django

24th
Feb 2017
PN
@nagishettipavan
Feb 24 2017 02:46
I'm beginner in Python, I want to develop hybrid mobile app with intuitive UI, database usage, rest API what technology stack I can use?
Miracle Ayodele
@iammiracle
Feb 24 2017 09:05
hello who is online here
Majid Garoosi
@MaGaroo
Feb 24 2017 09:06
hello, me!
Miracle Ayodele
@iammiracle
Feb 24 2017 09:06
i need to make a field onchange based on any selected record
@MaGar0-o , hope you undertstand wat i am trying to do
Аббасов Александр
@abbasovalex
Feb 24 2017 09:09
What is mean "onchange"? Is it event on JavaScript ?
Adole Samuel
@int-elligentSam
Feb 24 2017 09:21
@abbasovalex yes, there are so many events in JS, e.g onclick, onmouseover, onmouseover, onload and even onchange and many more events.
Miracle Ayodele
@iammiracle
Feb 24 2017 09:26
@abbasovalex yes
i have two fiels, one is a select field, the other is an input field
the select field contains options of model records
abhish311
@abhish311
Feb 24 2017 09:28
Hi any good resource for understanding ORM concepts?
Miracle Ayodele
@iammiracle
Feb 24 2017 09:28
and any time i select a record, i want the related values to be displayed on the input field
abhish311
@abhish311
Feb 24 2017 09:30
Thanks
Аббасов Александр
@abbasovalex
Feb 24 2017 09:35
@koderNeptune do you try to use jQuery? For example as $('#id-your-field').on('change', function() {...});
I used this approach @koderNeptune
Miracle Ayodele
@iammiracle
Feb 24 2017 09:38
possible for you to share?
@abbasovalex
Аббасов Александр
@abbasovalex
Feb 24 2017 09:40
@koderNeptune into function does Ajax request and change options.
Miracle Ayodele
@iammiracle
Feb 24 2017 09:42
@abbasovalex i have been trying so many tutorials, but i will appreciate if your code can save me here, since you understand what i am trying to do
Аббасов Александр
@abbasovalex
Feb 24 2017 09:45
@koderNeptune sorry, I am reproduce from my mind. You should coding yourself, but approach is 100% working.
@koderNeptune it is not Django task. Django include your JS only, the rest is simple JS + Ajax. You can make view that return JsonResponse or callback
Miracle Ayodele
@iammiracle
Feb 24 2017 09:53
@abbasovalex alright, thanks
@abbasovalex whatever i come up with, i will let you know, because, i need it very urgent
Roel
@roelzkie15
Feb 24 2017 10:33
could anyone mind to help me with this?
Miracle Ayodele
@iammiracle
Feb 24 2017 16:27
i help help on how referral links are generated and redirected to main application either for login or registration