ƑѦⴽⵊⵠƲƝ
Hi I started learning Django
ƑѦⴽⵊⵠƲƝ
What do you recommend?
Doragonsureiyā
What do you recommend?
Looking for Django tutorials? you can follow these three recommended ones: * Official documentation and tutorial * Tutorial from MDN * Tutorial from django-girls
M. Hossein
with signals
I could also override post method
Anonymous
hello guys I wrote the logic that when you want to comment on the articles, you have to login first And when he clicks on the link, he goes to login and login Now, if the login is correct, I want to go back to the previous page
Anonymous
Can you give more guidance?
Muflone
https://docs.djangoproject.com/en/4.2/topics/auth/default/#django.contrib.auth.views.LoginView read the next_page argument
Shahzodbek
Can you give more guidance?
I guess, he means that when you are redirecting to login page, you need to pass the current page's link as an argument using like ?next=current_page_link Then when credentials are correct, redirect the user to the link in url params as mentioned above.
Ak
Hi, I am developing a Django -react app . I have to create notification when some events occur. Is there any short way to do This without using channel etc.
Ak
Maybe Firebase
I am using mysql
Patrick
just store notifications to firebase...
Ak
I want notification system just like Facebook or Instagram
Ak
just store notifications to firebase...
I think it will be more time consuming
Ak
I need it to do as fast as possible
Ak
same with channels
Yeah . That's why I am looking for alternatives
Patrick
Call api again and again 😞 Not efficient though
cj
I need it to do as fast as possible
use channels, it won't be more than 5 minutes to do that
Ak
I am new to web development. I looked for some code on GitHub to clone it in my project but I didn't find it useful.there is drf- notification system but I am using Django 4.2 and it doesn't support Django version> 3.2
Ak
I am new and Its not easy for me to do it and I have to do it fast ...
cj
I am new and Its not easy for me to do it and I have to do it fast ...
well, if you're new, don't expect things to be built "fast" ¯\_(ツ)_/¯
cj
go read channels documentation, learn it, and use it... take your time
Tamerlan
I have a question is anyone use django and mongodb togather. Running mongodb with django did not cause any problems?
Doragonsureiyā
I have a question is anyone use django and mongodb togather. Running mongodb with django did not cause any problems?
Do you want to use Django with MongoDB? Then you shouldn't Please read this article: https://daniel.feldroy.com/when-to-use-mongodb-with-django.html
Nana
Hello everyone, I want to integrate paystack into my django application.Any help with doing that
Sasha
Hi everyone! Is it possible to filter by non-model fields using django-filters? I have users with its own lan and lng, I need to calculate distance between them and filter this distance in the list api that shows users within a given distance relative to an authorized user. I have found this example, but perhaps there is more elegant solution? https://stackoverflow.com/questions/66206433/use-non-model-django-fields-in-django-filter
Nana
Impossible to help without details.
I have my django application working but I want to integrate a payment gateway called paystack to enable customers to transfer money
Илья
I have my django application working but I want to integrate a payment gateway called paystack to enable customers to transfer money
it seems to me that you need to check the api of the payment platform and adapt it to your django application
Илья
How
Wrap API methods of the payment system in methods of your Django application obviously
Georg
hello. Why request OPTIONS shows only POST in actions ?
Bandar
Hi guys I got question Now I have Django application running on docker managed by k8s do I have to allow service namespace in Django cors headers ?
Bandar
it depends, you have a consumer that calls your Django app on another domain ?
Yes I have consumer in same cluster that calls an endpoint in Django
Bandar
Both Django and consumer are managed by k8s service
Mirco
Yes I have consumer in same cluster that calls an endpoint in Django
The domain is the same of your backend or not ?
Bandar
Yes
Bandar
Domain is the same
Anonymous
Why Django-oscar has a small community, does that means I have to avoid working with it?
cj
Why Django-oscar has a small community, does that means I have to avoid working with it?
it's up to you... that's not an issue with Django itself tho (so nothing to do in this group) ¯\_(ツ)_/¯
JairamJavv
Add {% csrf_token %} inside the html form
Doragonsureiyā
What are you talking about?
JairamJavv
https://docs.djangoproject.com/en/4.2/howto/csrf/
JairamJavv
As far as I know in django 4.2 it’s supported
JairamJavv
U can use Django crispy forms for that
JairamJavv
Check crispy form official doc
JairamJavv
It had easy guidelines
JairamJavv
https://django-crispy-forms.readthedocs.io/
JairamJavv
What is the error
Mourya
Am not able to install six module in django 4.2.2 can Anyone tell me how to fix it
Roshan Rajak
did you verified it ? i have shared Django Con link
Anonymous
Can I post hare for job request?
Doragonsureiyā
Can I post hare for job request?
Read the rules before any activity: @Rules_for_Python
Django
https://dpaste.org/TBjc3
Django
https://dpaste.org/TBjc3
In this code when I generate new order after my previous order in quantity auto change why previous entry affect
Django
I mean OrderItem quantity change
Django
So, how to create new order without affecting on OrderItem manytomany field on
Sanjeeb
Hii guys I'm a fresher try to learn django but I'm getting an error can u plz help me out
Doragonsureiyā
Виктор
Sanjeeb
Show error pls
Group didn't allow to share media
Giovanni
Виктор
Group didn't allow to share media
Yes, but he can show text error, not traceback
jevAd
Yess how can I share
Just copy paste here your error or use pastebin
Mourya
Ok
Sanjeeb
Page not found (404) Request method:Get Request URL: https://localhost/food/
Doragonsureiyā
Yess how can I share
Rule 5️⃣: Never post walls of text or screen photos. Use paste bins like https://linkode.org, https://nekobin.com (or your favorite one)