Kori
Hey there. I have a non technical question
Django related
Kori
Is there anyone who does both django development and data science. I'm a student and I find the two areas interesting.
Is there a way to do both or will it be too tiresome?
Anonymous
Anonymous
At least i have never seen or heard about a person who does data science and web development)
Anonymous
I don't think there is a point to study both, it would be better to concentrate on one field and become a better specialist there
Anonymous
Just my piece of mind)
Anonymous
Anonymous
https://simpleisbetterthancomplex.com/tutorial/2018/01/18/how-to-implement-multiple-user-types-with-django.html
Kori
Anonymous
Seems like my case, gonna read it!
Mirco
Mirco
Kori
I've done a lot of django and I was thinking of exploring other options just to see what's out there.
Mirco
Anonymous
Why only one ?
Well, because only one user can view instances owned by him)
Mirco
Anonymous
Anonymous
Welp, this article doesn't have what I need
Anonymous
Strange, this pattern must be a common one
Anonymous
Maybe I just cant google
Jimmies San
uwsgi sometime writes uploaded file with perm 600, sometime with 666
i don't understand why
running as user with this options
chmod-socket = 664
umask = 113
Carlos Jesús
Hi, I would like to start using django, what is the recommended env setup to start using the framework?
Carlos Jesús
Im using Ubuntu 18.04 and when I try to install packages and dependecies some of them always fail to install.
inchidi
inchidi
Jimmies San
Jimmies San
i'm digging the docs now...
Carlos Jesús
I installed python3 but my problems start when I want to install pip and use the right version
inchidi
inchidi
Jimmies San
no! i'm not a fool :D no sudo, no root: as user in his env and app :)
inchidi
lol then sorry that was my best prediction
Jimmies San
yes i know, i seearched too in that direction ... well.. i will update here if i solve :D
Jimmies San
solved with FILE_UPLOAD_PERMISSIONS = 0o644 inside the settings
the dark
can any one help in my project
the dark
i want how can i make session for teacher and student login in my project
None
the dark
can send me a simple code that use session
the dark
ok i all trying
None
Where list value is your custom value
None
request.session[“custom”]=“custom” your session(cookies) will live in 2 weeks on the default
Vaibhav
None
Yes ...
Can you formulate a question ?
Vaibhav
I want to make a photo story just like instagram and whatsap stories in my website using django
Vaibhav
None
Does anybody want to practice a django skills in a aggregator service?
Anonymous
Mirco
Yes ...
Good, so in addition to what @truemajor told you, I suggests you to study async tasks and Cron jobs with Django 'cause imho you'll need these ones
Anonymous
ibrahim süren
hello, I have a model includes 2 foreignkey. I want to delete any row with rest api's DestroyModelMixin, but i must use 2 lookup_field. For example delete row follower=1 and community=2 How can i use 2 lookup_fiels?
Anonymous
ibrahim süren
so i will send 2. parameter with kwargs?
Anonymous
the flow is your api view class get intance from get_object() then that intance deleted at perform_destroy()
Anonymous
if you want your view receive 2 param from url, then you should override get_object() too
Anonymous
you can try share how you want your url looks like, i think it will be easier for the next step
Anonymous
inchidi
Mirco
Josuke good man 💪 it was easier lol 😂
None
Can anybody give a tutorial with celery ?
None
Mirco
Adonis
Saludos
Rajjix
hey guys
Rajjix
I’m fairly new to django
Rajjix
Is it hard to to turn a casual django website to have an api with all it’s applications , logging posting etc...
cj
Rajjix
No
Is it a bad idea for a beginner to build a casual website and add the api later after the website is fully functional?
cj