ƑѦⴽⵊⵠƲƝ
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
ƑѦⴽⵊⵠƲƝ
<\Hany>
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
Muflone
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.
Patrick
Patrick
just store notifications to firebase...
Ak
I want notification system just like Facebook or Instagram
Patrick
Ak
I need it to do as fast as possible
Patrick
Call api again and again 😞
Not efficient though
cj
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
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?
Nana
Hello everyone, I want to integrate paystack into my django application.Any help with doing that
Doragonsureiyā
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
Doragonsureiyā
M. Hossein
부산
Илья
शिवांजली
Илья
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 ?
Mirco
Bandar
Bandar
Both Django and consumer are managed by k8s service
Mirco
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?
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
Naggafin
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?
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
Mourya
Sanjeeb
Hii guys I'm a fresher try to learn django but I'm getting an error can u plz help me out
Виктор
Doragonsureiyā
Виктор
Giovanni
Mourya
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)