Rahul
Today I forgot django because until 6 months I never used django but today is very - very need this api please help me
Mirco
A copy and paste solution is not a great idea
Rahul
Please give me any solution
Rahul
Yes please
Doragonsureiyā
Do u hsve djsngo rest api tutorial bro
Are you looking for Django REST Framework documentation? Here you have it: https://www.django-rest-framework.org/
M❄️hdi
Hi I've got some questions on django and fast api Maybe the group is not the accurate place to ask can I come to so's pv?
M❄️hdi
My question is a general question About choosing one of them And the future and there features I don't have a problem in code I wanna start But don't know which and why
M❄️hdi
Yep But I need to speak to so that has the knowledge and can explain to me Absolutely google is the first choice
M❄️hdi
For these reasons I wanted to ask privately not in group
M❄️hdi
Ok?
M❄️hdi
Thanks that was good
محمد دلشاد
Create a simple Cloud File Manager. Like Amazon Drive, Mega, or 4Shared. Requirements: 1) User can create folders and sub-folders. 2) User can upload files in any folder. 3) There should not be any limitations of the level. Users can even go up to 10th child and upload files. 4) Onclick the file should open/download. 5) The list of files and folders should be shown on the landing page and the user can start navigating to any existing path level by level. 6) A modal should open for creating a folder or uploading a file. Help here
Mirco
When you are stuck with something, we can help u
Tony
Have you worked in a team before
Yes I have. Recently completed a gui project in python . Worked as a leader in group of 4 members including me.
محمد دلشاد
i have never done anything like this i just want a guidance and more than this its not homework
محمد دلشاد
i found it somewhereon the internet
Mirco
Why do u have to do it ? It's a toy project ?
محمد دلشاد
bcs i have done so many projects but never done this kinda project
محمد دلشاد
i mean i just want some reference to any docs
Mirco
i mean i just want some reference to any docs
https://link.medium.com/JbBaAAhV1bb
Mirco
An example
محمد دلشاد
https://link.medium.com/JbBaAAhV1bb
thanks man i appreciate it
محمد دلشاد
i actually just wanna see how a file manager ca be built on django
Commodity
How to sync timers across multiple clients?
Doragonsureiyā
thanks man i appreciate it
You're welcome! 😊
Commodity
Explain better
Like in a blitz chess game you have timers. So when this game is played online you want to sync timers. I tried running timers on two clients independently but it the gap between the two timers increases constantly.
Mirco
Like in a blitz chess game you have timers. So when this game is played online you want to sync timers. I tried running timers on two clients independently but it the gap between the two timers increases constantly.
Mmm maybe you have to look at websockets and so Django Channels But I don't have too much experience on it so wait for someone better than me
Bahar
Hey guys I have a field which is foreign key in my models and I want to use this field in serach_fields (admin.py) But I get an error "related field got invalid lookup" Can you help me to fix it, please?
Anonymous
I am very happy learning django. I hope to become a very good developer someday and start a small business.
Idk
How do I handle the count of each product in my Cart model. (Product is a M2M field in the Cart table) ? I need each product in the cart to have a particular count.
Mohammadreza
How do I handle the count of each product in my Cart model. (Product is a M2M field in the Cart table) ? I need each product in the cart to have a particular count.
You may use through attribute of ManyToManyField see https://docs.djangoproject.com/en/3.1/topics/db/models/#extra-fields-on-many-to-many-relationships
Anonymous
Hello everyone who can help, throw a snare for git on the ready-made dough store, pliz)
Anonymous
Shop
Sunag
Hello everyone, we have deployed our django based application in red hat Linux server, its working fine, but admin page is not accessible, post entering credentials and submitting login request, giving error attempt to write read only data base, but I have given full permission for all users for sqlite3, can anyone help,
MADY
Hey can someone tell me db relationship for creating wishlist on ecommerce site
Surya
Hey can someone tell me db relationship for creating wishlist on ecommerce site
class Wishlist(models.Model): user = models.ForeignKey(settings.AUTH_USER_MODEL,on_delete=models.CASCADE)# here CASCADE is the behavior to adopt when the referenced object(because it is a foreign key) is deleted. it is not specific to django,this is an sql standard. wished_item = models.ForeignKey(Item,on_delete=models.CASCADE) slug = models.CharField(max_length=30,null=True,blank=True) added_date = models.DateTimeField(auto_now_add=True) def str(self): return self.wished_item.title somethings like this ??
abb
Django or Node?why?
mukul
Django Reason
Rajendran
https://github.com/hhhrrrttt222111/fatigue-detector A Flask app that detects fatigue during online classes 😪😴 Leave a star if you have liked it
mukul
Anyone can suggest something on it ..thank you
what issue you are facing in the authentication
M
what issue you are facing in the authentication
How to authenticate before calling url also 10 users should. Be authenticated using different credentials tickets
whatsinaname
Can I host my django website on github?
Gerald
Can I host my django website on github?
I dont think si github hosts only static content and not dynamic.
Can I host my django website on github?
Nope. GitHub Pages allows only static websites, without a server-side apps.
Vxvek
In django admin we use stackedinline option to add models two models in one page like that is there any way to do the same thing in django template ??
Rotana
Dear all member in this group i would like to ask all of you can we use Django with Hadoop ?
Chiranjeev
Need help in making an API for pizza service
Chiranjeev
Create an API endpoint to create regular pizza and a square pizza. Create an API endpoint which lists the information about all the stored pizza, the response of this should also contain the information about the toppings, size and type of Pizza. Allow filtering the list of pizza returned by the API based on Size & Type of Pizza. Create an API endpoint that allows the user to edit or delete any pizza from the database.
M
All the specific keep in model and then queryset
goku
What is reverse foreign key? Anyone
Mirco
What is reverse foreign key? Anyone
You need to study database book
Chiranjeev
All the specific keep in model and then queryset
Should I make customer model also
Chiranjeev
Or just the pizza one
Chiranjeev
With all its choices in Boolean field
John
can anyone help me in my Django project I have problem in my model.py and admin.py file . I want to link Foreign Key with many to many field in model class just like country or city Suppose: a foreign key will contain a list of country and many to many field is contain a list of city if I select India it will show only Indian city or if I contain USA of it will show only USA city in my admin panel
John
i already read this if this blog it will create in a user side page but i want in a admin panel
John
https://ibb.co/GvdrLhc https://ibb.co/4KDWpgf https://ibb.co/6JjZhTw https://ibb.co/9NVybDc https://ibb.co/sqTJx0S
Mirco
i already read this if this blog it will create in a user side page but i want in a admin panel
You need to add a bit of customization Add custom form and custom js
John
by these images it will clear show some half code will work fine. by default one punch man is select in drop down menu so it will show only opm season but when i select AOT so season changes not refelact
John
You need to add a bit of customization Add custom form and custom js
bro pls see the above images with images is difficult to understand the problem
Mirco
bro pls see the above images with images is difficult to understand the problem
Not your bro first of all Second share code instead of images It's easier to read
John
🆗
John
admin.py https://pastebin.com/XGzGKHC6
John
model https://pastebin.com/YtRQqDaD
John
Not your bro first of all Second share code instead of images It's easier to read
but also pls check the images its can help to understand the question
John
and one more thing there are no error will showing in the project