Lords
Lords
I tried to delete that model record from admin panel in that time I got error
Lords
Anonymous
Mohammed
Hello, how can I create video call using django ?
Doragonsureiyā
Hello, how can I create video call using django ?
These single steps will help you a lot:
Step 1️⃣: Open a browser
Step 2️⃣: Write down https://google.com or https://duck.com and press Enter
Step 3️⃣: In the search box, write down the same words you asked here
Step 4️⃣: Read the first results
Миркамол
hi , guys. I deploy my django app with apache in windows server. But i cant add ssl certificate. How i can this ?
Lords
Миркамол
yeap, i get certs. But how add to django and apache configs ?
Muflone
django knows nothing about certificates
you add them to apache configuration
https://httpd.apache.org/docs/2.4/ssl/ssl_howto.html
Миркамол
☯️
Hello friends
I’m working on blog project and have question about slug url
Is it necessary to use models.SlugField for url field??
I have url field and this is CharField , and in save def , Url will create and fill automatically
Is it ok to don’t use SlugField?
Reshma
How to integrate stripe PaymentIntent ??
Ani
Use djstripe
You
Hello guys, I'm doing a weather project with Django Rest. I want to put a search field on the user side, so that the user can enter the desired city and then get the information of that city. How can I make this search field?
Ali
Drf has filters option. Second way you can handle in frontend
Saydullo
Muflone
You
realme
How to fix this: Check Foreign Key Constraints: Verify that your Django models' foreign key relationships are correctly defined. Ensure that the referenced models and fields match and that the on_delete attribute is set appropriately. How should it be
realme
realme
Please help
Mirco
Sarah
Anyone knows how to perform automated testing?
Sarah
Do we use the test.py to write a script that tests models.py, views.py, forms.py, urls.py?
Charly
Sarah
But u can’t test files outside the app directory right?
wisdom
Charly
Rajesh
Hi Team,
I'm using django channels for chat app, in local everything is working but I'm not able to deploy it, any good documentation or video course link please
Rajesh
Ali
You can deploy with asgi server like daphne, uvicorn...
Rajesh
Ali
I'll send my own documents about that
Believe
Ali
https://www.notion.so/djangotips/DAPHNE-NGINX-8d6427695ae4454dafc3a27bf9db7a57?pvs=4
Ali
Sorry for late, I translated. For now use that. I can share detail usage of daphne if you want. For example using with ssl sertificate, using with docker. And if you have any problem you can text me
Rajesh
Ali
Your welcome bro
Lords
hey ,everyone when ever I done make migrations every time migrations record is creating without any modification https://dpaste.org/WNHxs help me to resolve these issue thankyou in Advance
Believe
Believe
python manage.py makemigrations app_name
Believe
Вячеслав
Hi. What is the most convenient way to split django app that is working with templates to drf + frontend?
It is pretty big and currently working project. I think that it wouldn't be easy to just rewrite it block by block inside the project so I think about starting new project with same models.
But here is the thing - updates for db will come for both old project and new so there can be differences in models. Is fork of old project is best option to apply updates for both projects? Are there any pitfalls in such a solution?
Anurag K
Anybody can suggest some tutorial to learn postgresql
Ayass
django.core.exceptions.ImproperlyConfigured: Error loading MySQLdb module.Did you install mysqlclient?
any tips run django without mysqlclient in windows?
Ayass
I tried PyMySQL, but did'nt work
Charly
☯️
Doragonsureiyā
Rule 5️⃣: To share code or error tracebacks, use an online pasting service like:
- https://dpaste.org
- https://hastebin.com
- https://nekobin.com
- https://bin.kv2.dev
If you posted a wall of text, go back and delete it.
realme
I have also django add product feature my error is: integrity error foreign key
Mohammed
Parsa
Hello can you give me a course for django ?
Doragonsureiyā
Hello can you give me a course for django ?
Looking for Django tutorials? you can follow these three recommended ones:
* Official documentation and tutorial
* Tutorial from MDN
* Tutorial from django-girls
Doragonsureiyā
Send a photo for the error
Rule 5️⃣: Never post walls of text or screen photos. Use paste bins like https://hastebin.com, https://nekobin.com, https://dpaste.org (or your favorite one)
Akash
Anyone can explane about the difference between projectapp views.py and project views.py
Akash
Explain*
Mirco
nothing special, they are the same
The main diff is that the app's views are specifically for that app
In the project one you can put some core views or just leave empty
Anonymous
Akash
I mean there is 2 views in django (projectapp: views, project: views)
Mirco
Akash
Got it bro
Parsa
Fardin
Hi guys,
The below course is good to see in this time?
https://www.youtube.com/watch?v=PtQiiknWUcI
pranav
Now I trust no youtube course to be honest , the way they mess me up sometimes , and surprisingly I'm doing better than before
MUHAMMAD
clouded
Doragonsureiyā
Why bro? What r the alternatives?
Looking for Django tutorials? you can follow these three recommended ones:
* Official documentation and tutorial
* Tutorial from MDN
* Tutorial from django-girls
Charly
Lords
hey,everyone I am facing issue while trying to check static files are loading or not through page inspect network tab when I refreshed I am getting no network issue only in inspect level
Lords
Lords