Mirco
Anonymous
Oh come on you are suppose to be helping
Muflone
😰
Mirco
Nope, helping is not mandatory as u think
Dcruz
You can use a legacy html tag
Mirco
Anonymous
Oh sorry then
Mirco
No worries, lots of people here think helping is a must but it's totally wrong
Anonymous
i understand
Anonymous
Can you share any documents if you have any, iam a beginner
Mirco
There are lots of stuff out there, just google it and take a course
Alex
Alex
@Machinegunbullet idk maybe you wanna PM me if you're still stuck, I'm bored rn so be quick
Dishant
Hello developer's,
I need to import a function from python file which is in subfolder.
Now its gonna be runtime as i will provide the name for the file to import and function to call using string.
Need to call, all these in views.py
Help Appreciated 😁
Thanks.
Eduardo
Dishant
I dont have a class thats the problem
Dishant
Direct methods..
Eduardo
So... You can use: from subfolder.file import *
Dishant
But i'm gonna provide the module name at runtime then how can i workout with this
Dishant
import() , i will require this for that but unable to settle with the required syntax as you said lastly.
Dishant
'__import__'
Dishant
**
Eduardo
Hum... I'm use a custom class without problem
Eduardo
Dishant
I mean to say ....
from 'subfolder.file' import *
This aint gonna work in inverted quotes
Eduardo
Oh... Ok.
Eduardo
I think you can import each function
Dishant
Every time there's a xfile having x function so ths will create a mess and almst there are 200 files
Alex
Jorge Luis
How
In the <a> tag the class must be some kind of button style
Muhammed Enes
How can i solve the this problem ? TypeError: Object of type QuerySet is not JSON serializable
Walter Cun B
good afternoon colleagues someone can help me I am working with Django and mqtt in which create a subscriber within my project and start it with loop_start () and when a message arrives to django he reads it and sends it to save but it is not saved when the model is used.save()
Sh
I am a professional Python/Django developer who can take up part time/freelancing projects.
Please contact me. Rates are relatively cheaper!!
Prateek
Leonardo
guys, do you know how to do cd/ci with gitlab using ec2 and docker django app?
Mirco
Leonardo
Mirco
Jimmies San
Eduardo
Hey guys. How can I return to last form filled after catch some error? I just know render a blank form to fill again
Anonymous
Anyone has django notes, pdf s please share
Anonymous
Anonymous
I want to create dynamic model based on html form data filled by end user.
Is there any way to do this work?
Any answer is highly appreciated.
Please and thank you.
Aswath
hey . I want to integrate 2FA in my django application. But i am facing a problem. I need to save the user to the database only after i redirect him to another view where he enters the OTP and i validate it.
Aswath
How might i go about doing this ?
Rohan
Rohan
And at sign in, you put a check for activated field
Anonymous
Ban this dude, Sending irrelevant Videos.
Aswath
Rohan
Rohan
Step 1, get credentials
Rohan
This is the time you trip a flag and wait for the otp to correct it
Rohan
Step 2, get otp, correct otp > return token
Anonymous
Rohan
Rohan
Aswath
yeah thanks a lot @PulsatingQuasar
Rohan
Thru a form?
Anonymous
As in a DB table from user input?
User enters the data for the field he want to create for the table, which is not defined yet
based on the form data entered by the user, generate the table
is it possible?
Anonymous
Rohan
Rohan
Rohan
Can you elaborate your usecase?
godmode
Why not? He means yo hoy a form, that's a model , then when you hoy the model , yo decide on the view to present the data and how yo do it un the template
godmode
If you want a table or whatever, It depends if you...
godmode
That what i understand of the usecase
Anonymous
Can you elaborate your usecase?
Okay.
So there's authority for each company.
Different company may have different fields for the Annual form collection
so authority will generate the related fields that his company has suggested for the Annual form submission
I want authority to create a table for it's company based on the data entered in html form which contains schemas for that table.
Rohan
Anonymous
Rohan
Anonymous