Django Bot
>> Links - Django 2.0 release notes | Django documentation | Django
Anonymous
🤔
Anonymous
Django 2.0 was released last year
inchidi
maybe i'll filter pinboard on next update
Abhi
Hey guys.. i am trying to send a file for the browser to download through HttpResponse(). (Because the file i want to serve is created dynamically) But the browser doesn't download it
Anonymous
Hello guys, I am new to django I have a problem sending email with image. Please, Can you give any info or example to explain?
Django Bot
>> Jobs - Senior Back-end Developer
Abhi
Are you by chance using ajax?
I am sending POST data and the target is a hidden iframe, When i remove content-length header from server: The browser shows a file to download of 0 bytes But when i add Content-length to the response Nothing happens
Anonymous
What's the error it is showing?
It's not sending the email at all
Anonymous
https://simpleisbetterthancomplex.com/tutorial/2018/01/18/how-to-implement-multiple-user-types-with-django.html
Anonymous
discovered this today, thought of sharing with you guys
Anonymous
Hello Pythonistas! Great thing to discover this group alive.
Anonymous
hi everyone
Anonymous
had someone tried to use django-qr?
Anonymous
for QR code
Anonymous
Never tried.
Django Bot
>> Links - Django Packages : Auto-Complete
Abhi
hey guys, I want my views.py to return HttpResponse which will tell the browser to download a given file.....I use Nginx for serving files. how can i make my browser ask for this Response? I need to send some data through browser in order to create the download file on the server
Abhi
here is the code:https://pastebin.com/YAqykg6X
Django Bot
>> Links - evzijst / dogslow — Bitbucket
Abhi
read about ajax
So I better make A fetch promise rather than POSTing the server with hidden html form?
inchidi
So I better make A fetch promise rather than POSTing the server with hidden html form?
ajax or promise, you dont need hidden html form, it simply http response
inchidi
So I better make A fetch promise rather than POSTing the server with hidden html form?
would be nice if you learn about "how internet works" before deep into web development tho
Anonymous
Hey guys! I want to start #Django! Can you tell me where to start?
Anonymous
djangobook.com
pino@mastrobirraio ~$
pino@mastrobirraio ~$
Hey guys! I want to start #Django! Can you tell me where to start?
There is the first app tutorial on django official website that explain very well the base concepts of django
Milan
Hey guys! I want to start #Django! Can you tell me where to start?
Checkout this https://www.javatpoint.com/django-tutorial
pino@mastrobirraio ~$
And what about tutorialspoint?
I think that the official site and documentation is very well, i don't know tutorialspoint
Anonymous
I think that the official site and documentation is very well, i don't know tutorialspoint
It's too hard I think! For example I read the document but I couldn't understand how class based views work!
pino@mastrobirraio ~$
In the first app tutorial si explained very well
pino@mastrobirraio ~$
Also you can see some video tutorials on YouTube
pino@mastrobirraio ~$
https://www.youtube.com/playlist?list=PL6gx4Cwl9DGBlmzzFcLgDhKTTfNLfX1IK
pino@mastrobirraio ~$
https://www.youtube.com/playlist?list=PL6gx4Cwl9DGBlmzzFcLgDhKTTfNLfX1IK
This playlist is very well, some Times i've seen some video from here
Anonymous
In the first app tutorial si explained very well
OK, first app tutorial in official site is just for start But what about after that?
pino@mastrobirraio ~$
OK, first app tutorial in official site is just for start But what about after that?
The first app tutorial give you the basics to understand the django world
pino@mastrobirraio ~$
Then internet is the way lol
R
It's too hard I think! For example I read the document but I couldn't understand how class based views work!
https://ccbv.co.uk this might help you understanding them, although I think django doc is amazing and almost everything is there
Django Bot
>> Links - DjangoTricks: Data Filtering in a Django Website using Elasticsearch
Sergey K
Did anyone use postgres full text search in django?
Sergey K
There's no ts_headline function to wrap searched words in a tag. It's kinda strange that "framework for perfectionists" has no that feature
Django Bot
>> Links - Django - Full Stack Python
Mounikesh
hey guys
Mounikesh
anyone having any idea of followers/following function in django using drf
Mounikesh
i want to create somwthing from scratch i havent researched anything yet just want to know if someone already done with it so it will reduce my efforts
inchidi
the APIView and serializer part would be pretty simple. for the model part you can take a look this repo
inchidi
this is direct link to the model class
Mounikesh
thanks for that
Anonymous
😂😂
It's a book for real
Anonymous
hi all
Anonymous
do someone know what are the most common questions for a Django interview?
Anonymous
Anonymous
Shitty interviewer will ask anything.
Anonymous
Sensible interviewer will ask good questions.
Django Bot
>> Links - Ignore Django, write testable code
Anonymous
Anonymous
https://www.educba.com/django-interview-questions/
Anonymous
I think this would be enough
Anonymous
if needed I could break it up in more details
Cosmic Egg
inchidi
I think this would be enough
if am the interviewer i wont ask those question tho
inchidi
my question would be: > what is django Q, can you give one example of its usage? *with this question i'll know how familiar the person with django models > did you ever use drf? can you tell me how is your favorite way to sending response with it? *with this question i'll know how familiar the person with requests responses views and serializer > do you have exp with async in django? *personally i think this knowledge is big plus for company
inchidi
i believe no one will apply as django web dev if they dont even know mvt ¯\_(ツ)_/¯
Anonymous
I got about how django migrations work
Anonymous
When I was applying for an internship
Anonymous
Such a Motherfucker
inchidi
I got about how django migrations work
uh yeah this is important too imo, but i wouldnt judge ppl by their answer from this question
Anonymous
>> Jobs - Senior Django Developer - Digital Product Agency
I'm from India, i'm having 1+ years of experience in web development using python{django}, Mysql, javascript, jquery, HTML5, CSS3 and bootstrap technologies. Can i apply for this position from India??
Abhi
As a django developer... What are the things i should know? I am applying for internships in about 3-4 months. So i need to know what are the things I should know