Mirco
How
By studying html 😊
Anonymous
Oh come on you are suppose to be helping
Muflone
😰
Dcruz
Oh come on you are suppose to be helping
Depends on if you are using legacy html or a frontend framework
Muflone
Oh come on you are suppose to be helping
YOU'RE supposed to study, no others to help you
Mirco
Nope, helping is not mandatory as u think
Dcruz
You can use a legacy html tag
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
@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.
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
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
ℕo ℕame
It is vim :)
Vim is best for perverts
Alex
Vim is best for perverts
Vim is sweet + !ot
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()
godmode
Vim is sweet + !ot
isn't Vim the bsd text editor?
Sh
I am a professional Python/Django developer who can take up part time/freelancing projects. Please contact me. Rates are relatively cheaper!!
Leonardo
guys, do you know how to do cd/ci with gitlab using ec2 and docker django app?
Mirco
guys, do you know how to do cd/ci with gitlab using ec2 and docker django app?
Use AWS Fargate , it will use your docker image pushed to ECR via CI/CD
Mirco
im using docker-machine with ec2
Have a look to Fargate 😊
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
RP
Can any one help me with django project
I think below project will be a good starting point for the beginners: https://bit.ly/2MF3jfb
Anonymous
Anyone has django notes, pdf s please share
Loki
Anyone has django notes, pdf s please share
Django documentation is sufficient i guess
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
And at sign in, you put a check for activated field
Anonymous
Ban this dude, Sending irrelevant Videos.
Aswath
You save the user but do not activate it till he enters the correct OTP.
How do i keep him not activated until he enter the OTP ??
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
Aswath
2 FA = 2 step authentication
Ohhh.. okk i just use the is_active flag of the user is it ??
Rohan
Ohhh.. okk i just use the is_active flag of the user is it ??
You can use that, or make a new field particularly for this
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
That's not what you should do
then what should I do to generate dynamic tables?
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.
godmode
I don't understand your hip English
Do you mean my fucking spanish keyboard?