cj
Anonymous
cj
cj
Anonymous
Shubham
Hi as you can see https://dpaste.de/bceb I have two endpoint
Shubham
*endpoints
Shubham
but actually it listing
Shubham
{
"teacher": "http://127.0.0.1:8000/users/student/",
"student": "http://127.0.0.1:8000/users/student/"
}
Shubham
same
Shubham
why so?
Anonymous
Anyone had implemented SSO... Any guidance
Doragonsureiyā
Anyone had implemented SSO... Any guidance
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 39k+ people the probability that someone will help is pretty high.
Also please read: http://catb.org/~esr/faqs/smart-questions.html
Anonymous
Ok
inchidi
woah i found that new feature bulk_update in django 2.2 so handy:
def set_inactive(self):
blogs = Blog.objects.filter(author=self)
for blog in blogs:
blog.json_field['hidden'] = True
blogs.bulk_update(blogs, ['json_field'])
Daud
why so?
They are both working on localhost
Ghorz
This post will be useful to those on vps running django with nginx and gunicorn.
When you do code adjustment or modification, there is no reflection except you reboot your server. The solution lies in gunicorn daemon.
Answer: ps ax|grep gunicorn
To view the process then,
pkill gunicorn
Lastly run gunicorn daemon.
That's it. All changes will reflect with no system reboot.
cj
cj
and also... better automate it using some CI/CD tool, don't manually do things on servers.
protip: dockerize your apps 😉
Ghorz
Julius
(told me i was muted) Hello! Trying to make partial security on my website, with
SECURE_REDIRECT_URLS = [r'^accounts/profile/$',]
. Using development server, django-extensions, stunnel-generated cert. When trying to access non-https parts i get 'connection reset' error. What could it be?
Shubham
Jaydeep
How the biometrics like fingerprint and face is stored in database like sql
What will be the datatype of fingerprint and face?
Ori
TIL about Subquery: https://docs.djangoproject.com/en/2.2/ref/models/expressions/#subquery-expressions
I needed to annotate my queries with subqueries a lot of times but didn't know django can do that.
Jaydeep
Anonymous
Ori
Денис
Jaydeep
Jaydeep
In which form
Денис
Sorry, dict
Manish
Manish
nothing is enough. You have to constantly learn. Don't skip little things that you thing you won't be need of.
Mirco
!res
Doragonsureiyā
Check out PythonRes, a channel for Python resources (links to help you out).
Mihail
Hi! Help me, please, how ModelAdmin.get_formsets_with_inlines() and InlineModelAdmin.get_formset() are working?
Periodicaly have tasks, connected with them. But I can't understand, how I can use it, when I have to have deal with customization of inline objects fields.
säthïs
Django + Angular best stack or not?? With mongoDB
Ghorz
Start small, grow stage by stage
säthïs
Day
Wanna focus on django back end only with python any specific PDF that only focuses on that,,,
Doragonsureiyā
Check out PythonRes, a channel for Python resources (links to help you out).
Livan
hi, who to upload file to server with api graphql graphene_django or graphene-file-upload
Dhananjay
Hi everyone I m learning django
Dhananjay
Where can I get best study material and basic projecty
Dhananjay
Projects*
Anonymous
https://djangobook.com/mastering-django-2-book/
Anonymous
Scroll down to access the content
Felex
Hello i need some help
Felex
i have docker installed and an image have been working on,,,when i restarted the laptop....the server of my project is no longer working
Felex
inchidi
@ICODOGGIO hi please read the rules
Gio
Sorry
Юсуф
Ashutosh
Can anyone share project on bill generation of anything
Ashutosh
E.g flower shop
Anonymous
can anyone helpe in join in django
Shubham
yes
Anonymous
Hello everyone
I have a system in django which i used a Boolean field ( ✅ ) inorder to verify users after they have registered.. however i want to use a condition so as to enable only the verified users access a specific task
Is there anyone with an idea how to implement this ? I'm stuck with the condition
Anonymous
Yes apply logic in view
Anonymous
Filter the value of the specific user from db
Anonymous
And rest is
if else
Anonymous
säthïs
säthïs
säthïs
MEAN in the sense js family
Ghorz
säthïs
That's why am asking we all using django not only django