Jinu
yes, but again, you have to do some things manually
this is my code..can u please have alook
cj
this is my code..can u please have alook
can you use a proper pasting service? it looks horrible that way in a telegram message
cj
Jinu wanted to post this long code: https://hastebin.com/ixadiluvop
S
yes https://hastebin.com/zoyigiyete.py
Does those two field (user_id and second one)belongs to same model ?
Mirco
key does not exist into your dict
Mirco
username or password does not exist into your POST data
Вадим
Hello! I use to the "djongo\djongo-meets-rest" libraries for mongodb integration. But EmbeddedModelField is not correct working. How to use this via djongo-meets-rest? Meaning that EmbeddedModelField it possible to the empty field. Thank for you attention
am π
Has anyone implemented oembed . Say i give u any medium article link and it forms a card as in image ,with 100 intial words and an image appearing in that cARD.
The Summer
Guys when I open the local HTML file in android Images don't show up I think there is some problem with address in Android It work good in pc and I used relative path so it should work in mobile too
The Summer
Can I send zip here?
Anonymous
What browser are you using
The Summer
Chrome
Anonymous
And are you opening the index inside a zip
The Summer
After extracting zip
The Summer
😂😂
Anonymous
Alright
The Summer
Lol I dont have permission to send media
Anonymous
Don't bother
The Summer
Can I DM u
Anonymous
You have it working
Anonymous
On pc right
Anonymous
Can I DM u
Yes no prob
The Summer
Anonymous
Alright
Anonymous
Screen shot what shows inside the mobile browser
Anonymous
Dm
Anonymous
Consumer Protection Build anything that solves major pain-points faced by consumers in their daily life.    Communication Mobile network coverage varies from place to place; however, assessing quality is a problem for both consumers and the network provider. Create an application that can measure and track the mobile network quality at any location (not necessarily your own location). It's preferable if you have a visualize collected metrics.    Accessibility Navigating outdoors is easy, thanks to GPS and various map services. However, navigating inside an unfamiliar building can be a major hassle for anyone. Create a system that enables people to navigate from point A to B Can anyone tell any idea (not a common one) related to these topics.
Alejandro
hello
Alejandro
there is in django a library similar to laravel's carbon
Alejandro
???
Maja Baki
Hello everyone
Maja Baki
I need help I want using with mdb bootstrap in my templates but I don't know how I can using with it pls anyone??
Ilya
Indian boyzzz
S
Do instance=serializer.sava() after serializer.is_valid() Then instance=request.user instance.save()
S
So you won't have to use two serializer
S
**instance.org=request.user
S
Or whatever
Jinu
Do instance=serializer.sava() after serializer.is_valid() Then instance=request.user instance.save()
first serializer is for saving data to one model and second for another model
S
If user belongs to any org then you have to create org instance then pass it as above
S
Create/get
S
Are you doing something like sending invites to user from org and when user sign up ,, he/she will be part of org.
S
?
Jinu
yes
Jinu
admin adding a new user
Jinu
super admin adding a new user for a company
S
Put foreign key of org in invitation model and when user sing up get org instance from that invitation model where email id is that user's email id
S
admin adding a new user
I have done this in one project which is in production now with multi-tenat system
The Summer
On MDN ch-3 Djngo tutorial
Doragonsureiyā
Looking for Django tutorials? you can follow these three recommended ones: * Official documentation and tutorial * Tutorial from MDN * Tutorial from django-girls
Gaurav
https://pastebin.com/RngNgdhw
Gaurav
MultiValueDictKeyError at /result
Gaurav
https://pastebin.com/nTr8hZii
Gaurav
i ama trying to find sum of two numbers using html form and django
Mirco
You are not sending any data
Mirco
Where's your form where the user can type numbers to sum 'em ?
Gaurav
https://pastebin.com/CgpNpQUx
Gaurav
sorry
Gaurav
i sent wrong one
Anonymous
i ama trying to find sum of two numbers using html form and django
In your sum.html page you need to mention your dictionary key. <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>Title</title> </head> <body> sum is {{sum1}} </body> </html>
Mirco
In the input you should add name attribute
Mirco
And set to First and Second as values
Mirco
Or better, use a Django form and render it into template
Gaurav
i have defined First and Second .... why POST doesnt have these .....
Mirco
<label>First</label> <input type="text" name="First">
Mirco
If you don't set name, POST dict will never populated
Mirco
Take a starter course about Django and study better 😊
Gaurav
ohh okay....thanks
Mirco
😊