.
Gio
hey guys, I am asking again here, I am looking for a full stack django developer interested in a remote full time job, anyone interested? please PM me
007
What are the requirements..
Gio
Anonymous
How do I paginate my API using pure Django
George
Mirco
Ooha
wtf
Then how to do it? I mean i want to open webcam and it must appear in a html page..how to do???
George
George
Opencv is not intended for that
George
Look for django channels and webrtc
Anders (izzno / gooood) 🇳🇴
Is there a perticular way to set up a model that collects other models and a number. Im back to dynamic fields, I need a kit containing a number of models, kind of like a shopping cart.
George
George
George
https://djangopackages.org/grids/g/ecommerce/
Mirco
Anders (izzno / gooood) 🇳🇴
Anders (izzno / gooood) 🇳🇴
I need to add kits of products.
Anders (izzno / gooood) 🇳🇴
i. e. a model that conatins a cirtain number of products(model).
Mirco
how is the model container linked to "products" ?
Anders (izzno / gooood) 🇳🇴
Look at it this way, I have products like bread and butter. Then I need a model to store a kit containing "x butters" and " x milk".
Ghorz
Ghorz
Payment
Anders (izzno / gooood) 🇳🇴
Anders (izzno / gooood) 🇳🇴
Its an example of what i need of a model.
Anders (izzno / gooood) 🇳🇴
Thank you for trying but its not what i want. I am trying ti store a collection of products.
Anders (izzno / gooood) 🇳🇴
A prefilled cart if you will.
Anders (izzno / gooood) 🇳🇴
Lets sat you wanted a home detection kit. Then you would need maybe a "recorder", 2 "cameras", and some "software". I want to store that in a model = "kit". The problem is the X number of products.
inchidi
Ghorz
Anders (izzno / gooood) 🇳🇴
Anders (izzno / gooood) 🇳🇴
The one in question here is the "Kit" class. I need it to store numbers i pararell with product_items
Mirco
Anders (izzno / gooood) 🇳🇴
Inside your ManyToMany ?
What do you meen?, i just need the kit to be able to link a number to the product_item so a kit can contain many of the same product.
Guillermo
inchidi
Guillermo
inchidi
Anders (izzno / gooood) 🇳🇴
Anders (izzno / gooood) 🇳🇴
This would be the intermidiate model then
Anders (izzno / gooood) 🇳🇴
Thats what I am stuck on, an intermediate to hold product_items / number
inchidi
Anders (izzno / gooood) 🇳🇴
But I think i will just make a json field in the kit then map the ID of the product_items together with a number and present this is a vue app of sorts.
inchidi
inchidi
inchidi
thats model/table not a row tho
Sebuhi
H
I start make my django projects
H
And i got stuck
H
Can someone tell me how to get data from html and send it to another view
H
No perfect i found on internet plzz help
cj
H
Yup from YouTube the new boston
H
And some others to
cj
H
Nope
cj
where they teach you step by step how to use basics of Django
cj
Nope
follow it: https://docs.djangoproject.com/en/2.1/intro/tutorial01/
Guillermo
Nope
You are missing out one of the best parts of working with Django, the docs are a work of art
cj
follow them patiently, read everything carefully and have fun 🙂
H
Thanks admin
H
Thanks Guillermo
cj
don't skip anything, even if you feel you already know that
Guillermo
Harsh no problem
H
I have to submit my project tomorrow morning does it possible to complete it in 1 night
Guillermo
oh boy
Trials
H
Okay gotta go think so I'm in trouble
Anonymous
Anonymous
Whats your project
H
I have to take matrix input size from user and data and convert it into the encrypted form and give it to the user
H
That's one part