Doragonsureiyā
can i get a detail course on django?
Looking for Django tutorials? you can follow these three recommended ones: * Official documentation and tutorial * Tutorial from MDN * Tutorial from django-girls
Anup
any one know stripe recurring auto payment in Django?
Doragonsureiyā
any one know stripe recurring auto payment in Django?
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! If you don't know what to ask, please read: http://catb.org/~esr/faqs/smart-questions.html
Sina-HeydariNezhad .
Hello everyone
Sina-HeydariNezhad .
How long does it take to be a senior django developer?
Sina-HeydariNezhad .
And what are the advanced topics of django
Sina-HeydariNezhad .
I will be happy if someone help me on these questions 🙏
Даниил
Hi! Is book django 5 by example good for learning django?
奈姆
Hi! Is book django 5 by example good for learning django?
Haven't finish the book yet, but I like it so far. It's pretty practical. (prerequisite: you already know python pretty well).
Youna
"Django cook book 5" is good too
Даниил
"Django cook book 5" is good too
I will definitely take a look at this book)

Hi how should i generate jwt for a user that login with google?
Роман
Hello, people! I try to save data from db.sqlite3 to a JSON file with command 'python manage.py dump data....  ' and get errors: 1)'Unable to serialize database 'charmap' codec can t encode characters in position 1-6' 2) sqlite3. ProgrammingError: Cannot operate on a closed database'. How I can solve this?
奈姆
have you tried this? (This set the python to use utf8 encoding) python -Xutf8 manage.py dumpdata --output=data.json
Роман
I tried it, it doesn't work.
dancing
I will be happy if someone help me on these questions 🙏
I think it depends on your willingness to learn Django and on your software development experience. I think if you have rich experience in Django, you can be a senior Django Developer in a month.
Sina-HeydariNezhad .
I think it depends on your willingness to learn Django and on your software development experience. I think if you have rich experience in Django, you can be a senior Django Developer in a month.
Thank you so much Anothet question that i have is that what's next for me after a finish django Should i look for jobs only in Django field ( back end i mean ) or learn some new technologies before going to the market as freelancer ?
Павел
Guys, I have a question. I added a PayPal payment system to my project and now I want to add the ability to pay with Apple Pay inside PayPal. As I understand it, I need to first install the site on the host to do this? Because it doesn't work through Local Host and ngrok.
El’dar
The only way I know is to buy domain, connect it to cloud flare or something and then redirect it to your machine, but you should have a static IP address and opened ports 80, 443
El’dar
try https://localxpose.io
Thats good idea tho
El’dar
And also you have an ngrok option
Leandro
Hello everyone. I was developing a personal project with Django and encountered an issue using the built-in UserCreationForm with a custom user model. While investigating Django's code, I noticed it directly uses the User model instead of get_user_model. I researched and saw there are tickets from as far back as 2014 mentioning this issue, so I'm wondering if anyone knows why they haven't fixed it yet?
Kunal
Where is the best resources to learn django testing
Luis
Where do you usually save the database password?
Luis
In which dir?
cj
Where do you usually save the database password?
you don't save it anywhere use environment variables
cj
Don't they have to be saved?
of course not, that's why environment variables exist
Ivan
Every authorization schema has own pros and cons, you can use django basic sessions or jwt, drf tokens
What are pros and cons? Could you explain in detail? I want to build a web app which will work also as PWA on Android and IOS (using Cordova I guess). I need email auth along with social auth.
Prince Kumar
Can anyone suggest the best and easy DRF resources which I can follow to learn DRF..
Doragonsureiyā
Can anyone suggest the best and easy DRF resources which I can follow to learn DRF..
Are you looking for Django REST Framework documentation? Here you have it: https://www.django-rest-framework.org/
Bujji
From this code how to write unit test cases please tell anyone
cj
From this code how to write unit test cases please tell anyone
that's your work, you should do it yourself
Кит
I have a question. When I have to use WebSocket and when I have to use Long Polling?
Youna
I have a question. When I have to use WebSocket and when I have to use Long Polling?
actually it depends on your project, the websocket is good for when you need a full-duplex communication, like chat apps and real-time applications and polling is good when you don't need real-time updates ... https://www.svix.com/resources/faq/long-polling-vs-websockets/#:~:text=Connection%20Type%3A%20Long%20polling%20uses,or%20wss%3A%2F%2F).
Doragonsureiyā
🚫 ‎Youna [6230092130] is already banned.
vaishnav
I want to add a user using restframework by another user I'm using abstract user model but its not storing data in both user table and is_ dealer(the user is created)table what to do
Doragonsureiyā
I want to add a user using restframework by another user I'm using abstract user model but its not storing data in both user table and is_ dealer(the user is created)table what to do
Please provide a full explanation including all the details that you consider relevant. Your statement is too broad and there is no clear way to answer you, you have to explain: - what you're doing - what you're expecting - what you're using - where you're running the script - what Python version you're using - what packages and their versions you're using - and the most important thing: show the code YOU wrote (read rule 5️⃣ for that) and more details, that way your chances to get help will increase.
Jasser
Hello , help pls i have postgresql DB on my django server yesterday, everything was good , and worked , today i got this error , i tried a lot of codes , nothing helping … django.db.utils.OperationalError: connection to server at "localhost" (127.0.0.1), port 5432 failed: Connection refused Is the server running on that host and accepting TCP/IP connections?
Jasser
Active: active (exited) since Mon 2024-11-11
Vladimir
Active: active (exited) since Mon 2024-11-11
Ok, try to check username/password. For example psql connect to db
Jasser
yesterday all worked good , and at the night stoped and got this error i got traffic on my website
Jasser
i don’t think the problem with the port or with pass or username
Jasser
iam on my way to the my house, because i can’t enter ssh form iphone, i needed to leave the work
Jasser
any ideas?
Vladimir
iam on my way to the my house, because i can’t enter ssh form iphone, i needed to leave the work
I don’t understand how you checked your username and password if you don’t have access
vaishnav
i am creating service providing website with restframework i have a model called franchisee who adding dealers and service providers how to add dealers and service providers in database and also in dealers model and service providers model also in user model using flag
vaishnav
i also want to list the dealers and service providers list under the loged in franchisee
Fareen
Hi all, I have developed django application in which I am using Vue js cdn with django drf and celery with docker when I post request for login it works on local but getting csrf token error only when using docker compose, does anybody ever had the same issue? Tho I am getting csrf token in cookies section in browser console, but django app is not accepting it and giving csrf error
Vladimir
What's the question?
A correctly formulated question is half the solution 🙂
vaishnav
What's the question?
i am creating service providing website with restframework i have a model called franchisee who adding dealers and service providers how to add dealers and service providers in database and also in dealers model and service providers model also in user model using flag
vaishnav
Ok how can I do that
Charly
Ok how can I do that
Be more specific, reduce your problem to one small step
Zh
can someone tell me how to make parsers in django rest framework
clouded
can someone tell me how to make parsers in django rest framework
I'm afraid you'll need to explain better. Those two things don't seem to be related.
liya'
hello everyone, sorry no one knows how to do this def save_base( self, raw=False, force_insert=False, force_update=False, using=None, update_fields=None, ): ?
liya'
this library?
liya'
what is it?
Maxim
what is it?
the article on how to ask questions that increase the likelihood of getting answers
Behzad
Hi, i'm need help : "detail": "Authentication credentials were not provided."
Behzad
"POST api/login/ HTTP/1.1" 401 58
Behzad
colo
Hello, help please: How to create this sql in django SELECT f.* from personaAlta pa left join fichaje f on (f.legajo = pa.legajo) where pa.persona_id = 1 and f.fecha between '2024-11-01' and '2024-11-02'
Rastislav
Help please
Rastislav
I forgot my username and password, how can I reset that
Vladimir
Hello, help please: How to create this sql in django SELECT f.* from personaAlta pa left join fichaje f on (f.legajo = pa.legajo) where pa.persona_id = 1 and f.fecha between '2024-11-01' and '2024-11-02'
fichajes = Fichaje.objects.filter( legajo__in=PersonaAlta.objects.filter(persona_id=1).values_list('legajo', flat=True), fecha__range=['2024-11-01', '2024-11-02'] )
colo
good, thank!