Doragonsureiyā
Junior
Guys dj-stripe or stripe, what the better?
Charly
Guys dj-stripe or stripe, what the better?
You can;'t compare it. dj--stripe is specific to django and uses stripe internally
Junior
yes, but i talk about sync_models and another things that dj-stripe do
Charly
yes, but i talk about sync_models and another things that dj-stripe do
And stripo don't ¯\_(ツ)_/¯ So if you need that use dj-stripe
Junior
do you already use dj-stripe and stripe normal?
vijay
Hey guys anyone django explain I'm try it many of times but no results please help him
vijay
Many of website try same issue
vijay
Page not found 404 error
Natalia 😎
yes, but i talk about sync_models and another things that dj-stripe do
I am using both of them. Mostly djstripe but for someee task i need Stripe
zeus
Hi dudes I have a problem in my django blog app
zeus
If i choose a same image with same name for new post django is automatically renamed &duplicate the same image and stored in media directory
zeus
Anybody have solution for this I just need do not duplicate, delete or reuse the image or any solution
Junior
I am using both of them. Mostly djstripe but for someee task i need Stripe
okay i need help, when payment is success inside webhook, the flux is this: recovery payment_method create customer, with payment_method create subscription with custumer create paymentintent with custom this is flux to create subscription recoorrency?
Masoud
Hello I wrote a rest API(Django rest framework) project, now I want to deploy it on vps Thank you for guiding me how to build my project and with what command to run it on vps?
Sandeep
Can any one help in installation of django in offline
Doragonsureiyā
Can any one help in installation of django in offline
No one can help you until you explain your difficulties.
Sandeep
No one can help you until you explain your difficulties.
I just want to install django in offline
Sandeep
Is it possible to install django in offline
Doragonsureiyā
Interesting 😜
We know the rules are quite long, but read them, because on average, hundreds of users are banned from this network every week. Reading the rules will help in avoiding this pitiful fate.
Hadi
Is it possible to install django in offline
Download django file from PyPI website and install that with pip.
Natalia 😎
okay i need help, when payment is success inside webhook, the flux is this: recovery payment_method create customer, with payment_method create subscription with custumer create paymentintent with custom this is flux to create subscription recoorrency?
actually in django code I use 2 methods: create customer and create subscription. The user will be send to Stripe—WEB-portal and can enter his payment data. There is an URL on the Stripe-customer-site that lead back to my app. Hope it helps
Natalia 😎
oh yeah, this is very useful, do you are use dj-stripe or just stripe?
djstripe is very useful !! but for some task i need Stripe (i think for create customer…)
Junior
without dj-stripe, how stay your design of database?
Junior
do you need create same plans / produts / subscription that have in stripe and use id_stripe to identify?
Natalia 😎
Junior
products and prices we config in Stripe and sync it with dj-stripe
The problem with dj-stripe that I see is that you have to depend on a flow from a third party, any error you have no control over, in the long run isn't it more interesting to use stripe?
Natalia 😎
Junior
okay, i will test use dj-stripe, so each thing that happens is just sync with database ready?
Junior
like this, example create a customer: customer = stripe.Customer.retrieve(stripe_customer_id) djstripe_customer = djstripe.models.Customer.sync_from_stripe_data(customer)
Junior
Uhum... interesting
Natalia 😎
stripe has a perfekt dokumentation 😉
Junior
yes, really.
Junior
do you use allauth or something to login social?
Natalia 😎
do you use allauth or something to login social?
no, only django auth. what is social? Facebook/instagram - we don’t use
Junior
yes like authetication with google, insta...
Natalia 😎
Junior
and function like remember-me do you use?
Natalia 😎
and function like remember-me do you use?
after login user is saved in the session
Junior
uhum...
Vivek
Hi need some advice, I'm working as a QA automation and have almost 4 yrs of experience. Tried for dev via internal job posting but no luck. Is it possible to make into dev role? If yes then what would be the challenges and risks?
Doragonsureiyā
Hi need some advice, I'm working as a QA automation and have almost 4 yrs of experience. Tried for dev via internal job posting but no luck. Is it possible to make into dev role? If yes then what would be the challenges and risks?
Your question is not related to Django. If it's a Python related question go to @Python group, otherwise please move to @PythonOfftopic group and ask there.
Aby
https://nekobin.com/hugeyiliwu If the status of selected time slot is not confirmed , it should permit create Appointment
Doragonsureiyā
https://nekobin.com/hugeyiliwu If the status of selected time slot is not confirmed , it should permit create Appointment
We're not here to do your job for you. This group is to help you on specific issues you have in YOUR code, so you have to show the code you wrote by yourself and explain where and why you are stuck... as simple as that. 🤷🏻‍♂️
pals
Hi i have a question very basic suppose i am creating a view and i pass context and i need to render and need data in context to render and urls.py i give name with that view as pod and context as data and when i need to render i need to use pod_data ? Is it so and why underscore is used
lucky
Dynamic queryset in django forms. I pass id as url parameter in my views base on that parameter i passed in my view i want to filter my model I must use class based view 1. Use init method in form 2. Use get_form_kwargs method in views to filter Am using function base view Please is there any way To filter ManyToManyField dynamically base on what i passed in view url
Deepak
In companies for real projects what they are used for implementation of crud operations ? I mean just django or django with rest framework
Deepak
Without rest framework also we can implement crud operations but it was customised
Anonymous
drf usual
TonFutures 💎
Hi everyone I have a question Django is Async or Sync?
Muhammed
Trying to develop a login system that Can use either email or phone number to authenticate user
ford
Hi everyone I have a question Django is Async or Sync?
Django is Sync but you can use Django channels to make it Async
Mr
Okay
TonFutures 💎
Use a custom user model
login logout authenticate I want to use these Async
Muhammed
Use a custom user model
Any resources links or video
ford
You have a look at Django-channels documentation
TonFutures 💎
Why do you want to do?
For example i want 50 users can login in same time
ford
For example i want 50 users can login in same time
This Django can handle well without Async
Charly
For example i want 50 users can login in same time
You don't need to use async to accompliish that
ford
This Django can handle well without Async
It seems you don't have information on why we use Async
TonFutures 💎
This Django can handle well without Async
So why we say django is Sync? Actually i can't undrestand 😅🤦‍♂
inchidi
Django is Sync but you can use Django channels to make it Async
should replace Django channels with asgii to make this statement correct
inchidi
Hi everyone I have a question Django is Async or Sync?
you can read about this here https://docs.djangoproject.com/en/4.2/topics/async/
TonFutures 💎
It seems you don't have information on why we use Async
I know what Async is I want to prevent queue request in function
Charly
I know what Async is I want to prevent queue request in function
Then your question of why djangois sync makes no sense
Charly
I know what Async is I want to prevent queue request in function
Unless you are not using a proper webserver that should not be an issue inmmost cases
inchidi
I know what Async is I want to prevent queue request in function
i would recommend you to start by learning async python first to grasp the concept first btw