kuzmich
Anonymous
Guys small help
Anonymous
I had created a form where the user can see the products
Anonymous
So when the user want to buy I had created a button and automatically all the details are fetched and shown in next page
Anonymous
Now what I want to do is i want to add the user price and i want to save this in database.. Can someone help with this
Zey
Anonymous
I mean it's basically a farmer and buyer
Anonymous
Farmer uploads the products
Anonymous
Now the buyer had to give the price like for how much he wnt to buy
Anonymous
Farmer uploads like type(fruit or vegetable) , name, quantity and he fixes a price
Zey
u want the user to select price range or to do bargain with farmer?
Anonymous
Now u need the buyer to give the price
Zey
if u want of products less than 500 u can use _lte and for greater _gte
Anonymous
Anonymous
Basically I have 3 users
Anonymous
Farme
Buyer customer
Anonymous
Farmer upload his details n price
Anonymous
Buyer see it and he give his price
Anonymous
Then the customer views the price given by buyer
Hitesh
What is the difference between customer and buyer
Anonymous
Customer and seller
Anonymous
Farmer -> Wholeseller/Retailer/Vendor -> Customer
Prateek
So it will also have login
Prateek
For Farmer and Vendor
Anonymous
How is farmer uploading the details. Does all the farmers have the required medium. Or there will be introduction of moderators who is going to do it on behalf of farmer.
Anonymous
Wholeseller has a bigger responsibility -> Stocking, delivery, distribution.
Anonymous
i think this is offtopic but interesting.
Anonymous
anyways what is the technical problem??
Prateek
I don't think we have technical problem
sarth
i want to make two tables costmer and product, products table will be related to costmer table but i dont want make relationship, i want both the table independent to each other, how to do it please help?
Anonymous
then dont make the relationship store the keys in both tables
Prateek
We can add Names and Make designation like customer and vendor to the Admin panel
Prateek
I have also created a B2B MARKET PLACE can I share it
Prateek
It's my training project
Prateek
Please share your email adress I will share the zip file 🙂
Mirco
Doragonsureiyā
Mirco
Prateek
Ok No problem it's my pleasure to help
Prateek
Sorry for that
Mirco
Anonymous
Looking for job in Django as a fresher any opportunities kindly consider me.
vijay
free selenium devloper
Luis
Hello guys!
Luis
I'm using DJango 3.2 and I'm having troubles while using the ORM. to make some annotations...
Luis
Some time ago I did some queries like this one and they worked, but with DJango 3.2 it isn't working as I expect.
return (
qs.filter(scheduled_date__gte=timezone.now().date(), rule__state=Rule.ENABLED)
.values(hour=TruncHour('scheduled_time'))
.annotate(count=Count('hour'))
)
Luis
It's not using the hour field to group the data, it's using the scheduled_time field.
Luis
I'm trying to group records by hour (flat hour, I mean 3:23 should be computed as 3:00) and then count records per hour.
Zey
why i cant change password of superuser using password change form
Aman
How to add base dir to media root?
Sumit
Sumit
Anonymous
Hello, I want help. I got into trouble in programming. CSS (Django) Can someone help me
Anonymous
Everything I write in CSS is not announced. What should I do on my site
Zey
Zey
It is working for other user
Zey
And anybody know how to customise password reset view,I have to add css class in it
Ray of Hope
Crispy forms for basic customization
useless_vevo
High loaded store?
useless_vevo
Whatever you want
useless_vevo
Its just a store. You can make a copy of eBay, ozon, AliExpress
useless_vevo
Bruh
Fady samy
How to convert api input to variable
Fady samy
I want help or a source with an example.
Doragonsureiyā
Anonymous
Fady samy
Request?
Yes, I'm an Android developer, and I want to create an exam app.
Fady samy
And the answer will be an article.
Fady samy
And I want to compare the answer in Android that the user entered with the answer in the database
Fady samy
What are you talking about?
I want to convert the answer that was entered from the Android app and turn it into a variable and compare it to the answer in the database
Neo
is there a possibility that if i have two table suppose a user table and an employee table with one to one field and i want to make that one to one field to be primary key on either tables
Ray of Hope
Ashutosh
Everytime i reach to a static file it shows file not found ...i have made a custom directory but its not working what should i do
Ayobami
Ashutosh
Zey
django.template.library.InvalidTemplateLibrary: Invalid template library specified. ImportError raised when trying to load 'crispy_forms.templatetags.crispy_forms_field': No module named 'django.utils.lru_cache'