Muflone
or better with a TCP tool like dbeaver
Anonymous
Hello friends
Ani
check out django channels
I have checked but I couldn't get how to send serializer class through it as we can send it in views
Anonymous
Some help me
Anonymous
I am learner
Anonymous
Today I thought .. why don't make a project
Anonymous
So today I have started a project
Anonymous
I want to use nav bar for main page
Anonymous
How to do it
Anonymous
Plz help
Mirco
There are so many tutorials out there
Please check them out
Anonymous
Please tell me that type of tutorial those are fully describe
Anonymous
Thankyou
The Summer
https://stackoverflow.com/questions/58786442/returning-dictionary-from-templatetags-and-printing-in-template
The Summer
Plz help me with this
Dharmendra
I want to create simple app which allows user to perform below operatios using DRF and angular
1.register with site,
2.signin,
3.Able to view profile
I have below doubts,
1.How would i track currently logged in user of site in Django?
2. How would i manage csrf in django and angular to know about it?
3. How would i manage session timeout?
Dharmendra
Can someone please help
Anonymous
K
cj
Dharmendra
Thanks CJ, I am new in django and looking for good links which has tutorial of DRF and Angular
R
I hAve found that the net ninja tutorial is excellent and free.
R
That is video though so if thats nit your thing then ...
R
https://t.me/pythonres/32
R
Why in the world are you asking that here?
Dambe
Buy a new one
Dambe
Joking.
What's the brand?
cj
is that related to django?
ShiLu
Hello everyone~
I don't understand what is diffrence between "authenticate(request, username=username, password=password)" and "authenticate(username=username, password=password)"?
Ghorz
Thanx in advance
https://ghorz.com/blogblog/Tutorial/2019-09-01/14/how-to-integrate-paystack-payment-to-django/
Ghorz
Dharmendra
If you have any links then would be great
Dharmendra
Angular and DRF integrarion app demo
1.session managment
2.db management
3.static resource
Dharmendra
sqlite would be fine as django used it as default db
Js
Hi everyone...I just spent a few days learning Angular in order to build websites using Django as backend and Angular as a front-end. I find Angular a bit difficult and I am not sure if it is worth the effort when I can build front ends using Django as well. Can you advise if it makes sense to make the effort to learn angular when I can do the majority of things in the front end with Django?
cj
cj
you don't do front-end things with Django, everything is done at back-end (yes, rendering the templates is a backend thing too)
Js
cj
Owolabi
Ghorz
Dharmendra
cj
cj
I already told you to look up for djoser package
Dharmendra
I need to learn and implement instead of using djoser package
Ghorz
Not Your Dad
Sam
Have some one worked on highcharts???
Doragonsureiyā
Have some one worked on highcharts???
Please don't ask meta questions like:
"Any user of $x here?"
"Anyone used technology $y?"
"Hello I need help on $z"
Just ask about your problem directly! With 46k+ people the probability that someone will help is pretty high.
Also please read: http://catb.org/~esr/faqs/smart-questions.html
Dharmendra
What is the difference ?
If you are using any package then there may be chance off there internal flaws, so would be good to use with core framework, however as a code readability we can read and take it as reference
random_neighbour
Hey guys I'm new to django I'm a machine learning developer so i Just started learning django for my backend so can anyone suggest me any good resources on jwt in django it would be a great help thank you
Aemie
Corey MS series for django on YouTube is pretty good.
Ani
Hi
I have made api with django rest
How can I use django channels to send serialised data from serialzers same as we send it through apiviews
professor
Is possible to disable browsable api into plain text json?
Anonymous
I have a very silly doubt related to Django.
The problem is i added urls in my html pages using '{% url 'name' %}' tag but it is taking relative path...
For eg-
If i am at homepage and click on blog button.. then i am at site/blog now.
But when i click on blog again, then i am at site/blog/blog ....
Can anyone please help me in fixing it?
Thanks in advance.
professor
professor
instead of the GUI browsable. I want to display like this
Mirco
And if u call with a client like Postman, you receive the json as u want
professor
professor
I just want to remove the gui . is it possible?
Mirco
Change the DEFAULT_RENDERER_CLASSES setting
Mirco
REST_FRAMEWORK = { 'DEFAULT_RENDERER_CLASSES': ( 'rest_framework.renderers.JSONRenderer', ) }
professor
that's will disable the gui right?
Mirco
Yes
professor
thanks
Mirco
But it's useless
You are thinking about clients of your API will receive the browsable version instead of json and that's wrong
Mirco
Anyway, now you know how to disable it
Mirco
For all info, check docs
professor
by the way , why do I need the browsable? debugging test ?
Mirco
But the users that call your APIs , will receive just the json
professor
if the user (curious) cut some folders like api/v1/ ? will see content based on my rules. the browsable or not?
professor
I see. let me check those the
Anonymous