Gabriel
Guys, I wanting an opportunity to work using Django, any of you knows a job vacancy, i’d like a remote one..
Corteis
anybody!! have any book about simpleMooc with django???
cbag
Hello
Anonymous
Hello All Gmng
Anonymous
Heya, anyone familiar with building fullstack apps using Django / Apollo / GraphQL stack? I have an issue with the CORS headers preventing me from accessing the API
inchidi
Anonymous
I used and set the cors header middleware, tried both allowing all hosts as well as whitelisting the specific domains but it didnt work. I aldo used csrf_exempt on the graphql endpoint but it's still refusing to connect. SORRY shoudlve mentioned this in post 😅
Anonymous
weird thing is that when I run the Apollo playground, I enter a query and press play, it fetches the correct response from the GraphQL endpoint but then the data disappears and it says that it can't fetch the schema
Vibhor
Which one has more scope java or python
Vibhor
Future perspective
George
Anonymous
Language is just a tool until you know the programming concepts very deep
pvs
Can anyone know how to create custom group permissions in django rest framework
pvs
pvs:
For each view
007
how to create dynamicform like this :- https://www.canva.com/design/DADTYYXkdgE/iqQfpuNmLUJFYnNdJhdgmA/edit?category=tACFasDnyEQ#
007
i got an error page not found ( 404 ) in django ajax post method :- https://dpaste.de/TWwS
Mirco
Sometimes u need to write row SQL when ORM could not be enough and a basic understanding of E/R and SQL is strongly recommended imho
cj
you only need the database driver, you don't need the DB engine runing in the same machine if you don't want
Anders (izzno / gooood) 🇳🇴
I am building an app and was thinking about letting django sessions handle the authentication (registration/login etc) but using JS to fetch the data from a django API. How do I pass the session or token from django to the frontend JS? assuming someone is suthenticated should I hide some token in the DOM, add it in a script tag with django templates. Or is this just a bad idea?
cj
cj
assuming you have a normal Django app with templates and everything else
cj
if you are planning to make a pure API, just Django Rest Framework with djoser package, you'll worry less about auth
Anders (izzno / gooood) 🇳🇴
I would think its easier to let django handle the user reg / sessions etc. Email also... a lot esier eh?
Anders (izzno / gooood) 🇳🇴
But I like your idea, just using normal views. But making an Axion / fetch request will the auth session be there ?
cj
inchidi
+1
inchidi
if you already use session based, then whats the point of using token based anyway
Anders (izzno / gooood) 🇳🇴
There is no need for an API at all hehe.
Anders (izzno / gooood) 🇳🇴
This just made my life so much easier ;) hehe...
cj
Daniel
hi people
Daniel
I have deployed a app Django on DigitalOcean and fine but the API url serve me error 404 ... Any idea what is up?
cj
Daniel
where is these log? ..
Daniel
I am new ... :c
cj
let me recommend you to integrate it with sentry 🙂
cj
Daniel
Daniel
let me recommend you to integrate it with sentry 🙂
"Deprecated Client
This SDK has been superseded by a new unified one. The documentation here is preserved for customers using the old client. For new projects have a look at the new client documentation: Unified Python SDK."
cj
Daniel
jajjajja oka ...
Turtle_In_Hurry
Have anyone worked on jwt token authentication
Turtle_In_Hurry
Mean you have worked with it
Turtle_In_Hurry
So i am making an invite only django api where i want to use jwt to authentication by sending email with verify link append with jwt
Turtle_In_Hurry
I'm newbie i. Django so please bear with me
Turtle_In_Hurry
Just wanted to know do i need to send whole token or just a signature
Turtle_In_Hurry
?
Naveen
Guys, i learning web crawling by BeautifulSoup. How i can write django view for that?
inchidi
inchidi
TLDL: fix the action call first
007
Do you have any code which have Ajax post method
007
Aman
Can we use django-oscar with MySQL only bcoz I have shared hosting account on hostinger business class but it only allows me to use MySQL
ʚɞÇherry Łoveʚɞ
django-oscar doesn’t require specific database. You can use MySql then.
Rajesh
Gi
Rajesh
Hi
Rajesh
Is there any good tables
Rajesh
In django
Rajesh
Like tables for filtering paginations in ajax
007