Gaurav
django rest or flask rest for api?
Mirco
django rest or flask rest for api?
It depends on your project I suggest you FastAPI as well
Shivam
hello everyone I want to deploy django application on AWS I have read https://www.digitalocean.com/community/tutorials/how-to-set-up-django-with-postgres-nginx-and-gunicorn-on-ubuntu-18-04 But there is nothing in the above documentation which could tell me about how to connect it with aws Can anyone share any blog, or documentation on how to deploy django app on AWS??
Gaurav
It depends on your project I suggest you FastAPI as well
oh this looks like mix of django and flask
Mirco
But it has more support for async
Shivam
Thankyou
Mirco
Okay
https://realpython.com/deploying-a-django-app-and-postgresql-to-aws-elastic-beanstalk/
Shivam
https://realpython.com/deploying-a-django-app-and-postgresql-to-aws-elastic-beanstalk/
Thankyou for this Is there any other way as well to deploy on AWS??
Mirco
Thankyou for this Is there any other way as well to deploy on AWS??
Sure, you can for example use Docker and ECS + Fargate Or run a serverless Django app
•_•
Can anyone help me in deploying project on heroku please getting some errors.please !!!!
•_•
?
JoKer
i created reactjs and django rest framework application. I want to know that is there any chance that the others can access this rest api through link and to create another front-end. If it is possible how to prevent this.
ᐯᑌᏞᏦᗩᑎ📈
i doing registration and looping through form fields like {% for fields in form%} {{form.username}} and so on.
ᐯᑌᏞᏦᗩᑎ📈
How to add placeholer now it has no placeholder
Raphael Augusto
Jinja
Anonymous
Can I use bounded field name in django insert query??
Anonymous
Django resources
Anyone knows how to make attendance management system using Django
With biometric
Adonis
Anyone knows how to make attendance management system using Django
am currently working on such system. what is you problem ?
Shreehari
Y?
Can you share its implementation if possible?
cj
How to add placeholer now it has no placeholder
add it in the forms definition on the python side 🤷🏻‍♂️
Doragonsureiyā
Django resources
Looking for Django tutorials? you can follow these three recommended ones: * Official documentation and tutorial * Tutorial from MDN * Tutorial from django-girls
cj
what?
monxter
Want to build a realtime Web app that takes money from bank (using visa or any other payment service provider) and then show the balance
ᐯᑌᏞᏦᗩᑎ📈
is it possible to override crispy form's widget
ᐯᑌᏞᏦᗩᑎ📈
i want to change the column and row
Shubham
Yes you can
Shubham
You'll have change the column and rows directly in the template page it self
__init__
Hey How Do I update Model with nested list in DRF
Rahul
I am unable to remove manytomany field data using django
Rahul
Any idea guys
Muflone
Any idea guys
Sure, the best idea is to read the error message
Rahul
No error is coming
Rahul
I m using remove method
Rahul
Bt data is not getting remove
Rahul
Is there any issue becoz of delete schema ristriction?
Muflone
No, Just put the objects to remove
Rahul
Yes i did ..bt when i am querying its coming data
Rahul
It shouldn't not come
Muflone
Show the code
Rahul
Staff.mobile_number.remove(mob_obj)
Rahul
Mobile_number is manytomany field
Rahul
Staff.mobile_number.remove(mob_obj)
So after this when i am querying its coming
Muflone
What? No no the items to remove are not related to the model
Muflone
Each row could have its m2m
Muflone
So you have to get the row from which to remove the items
Muflone
https://docs.djangoproject.com/en/dev/ref/models/relations/#django.db.models.fields.related.RelatedManager.remove
Rahul
Staff is one table and mobile number is other table
Muflone
You don't remove the numbers from the Staff table
Rahul
And mobile number field is available in staff table as m2m field
Muflone
You remove the numbers from a specific row from the staff model
Muflone
First find the row from which to remove the data
Rahul
There is no row for mobile number in staff table
Rahul
Yes i want to remove mobile number row which is assign to a particular staff
Muflone
Then get the row from the Staff model and remove from it (from the row) the linked data
Muflone
Look the documentation page linked before
Rahul
Ok i ll check thanku
Muflone
Yw
ᐯᑌᏞᏦᗩᑎ📈
I have models News and Comment how to get the number of comments given for each news?
Anonymous
How can i use dynamic charts with django
Yacov
How can I create a view that receive an Id and enumType endpoint
Anonymous
add it in the forms definition on the python side 🤷🏻‍♂️
Can I use bounded field name in django insert query??
Yash
Is there any way to know all the apis in django?
Yash
I meat like swagger we can have all the api in one place
Mirco
Is there any way to know all the apis in django?
You can see all of them using the browser UI
Mirco
Just going into the entry point of your APIs
Yash
Ohkay sending media is not allowed
Yash
Cool
Yash
Actually I am using inbuild rest framework api