Комментарии:
You have truly helped me ty
ОтветитьHi, and thanks for your tutorials.
1)Since you are passing RegisterUserForm into super() and its args and kwargs, you should have also the first_name, last_name and email available in the def __init__() . right?
Can we define widgets and attrs for first_name, last_name and email here like username and passwords: self.fields['first_name'].widget.attrs['class'] = 'form-control' ... ?
2) Here we can pass whatever we want as attributes. is the CRISPY filter giving us the same options, overriding it? (substantially: with crispy can i pass all the attrs i want? Or does it just generically "bootstrappize" the form, but if i want some particular Bootstrap's stuff added to our fields, this is the right way to do it?)
thanks
How to add extra fields in registeration that are not by default in user table
ОтветитьHmm. I like to do the lesson as it seems to me right, and then turn on the video and check. And here is the thing. I didn't use _init_ things at all, just did username, password1, password2 classes the same way it was with first_name, last_name and email and it works. May be you don't need _init_ stuff?
Ответитьsir .I love the way u teach...but please can u reduce ur pace cos u talk too fast so dat some beginners can follow... Thank you
ОтветитьI have a weird error. The guidelines for the above input box are on the same line as the label for the next box with no line break or spacing. e.g.
Required. 150 characters or fewer. Letters, digits and @/./+/-/_ only. First name:
any idea what I'm doing wrong?
I love these tutorials very useful. Thank You.
Hello, thank you for the videos , I have a question, what if we want to use the profile model with the user model together in one registration form ?
Ответитьwhy not using crispy forms ?
Ответитьwhy do we call super ? i don't see a reason
ОтветитьThank you for the best video sir .
ОтветитьHi Sir, thank you for this amazing content, please can you make another to explain how to set up django widgets forms with tailwindcss?
ОтветитьU are great man I have completed my first e commerce site in Django
Waiting for your complete e commerce site development tutorial like payment integration setup, shopping cart etc..
Love from India🇮🇳
Please teach us how to use django genericforeignkey!
ОтветитьHello John, is there any way you can deploy the django blog (the one you did in the past) to heroku? I tried with the heroku documentation but I get alot of errors. Cheers!
ОтветитьHey, I created a .db file to save data in it using a py program. But there is a broblem. The data in my database that I created has to be extracted and get moved to another .py program that calculates things. how can I do that?. EXample: saving your educational mats's scores into a database then moving them to a .py program that calculates the Final result of the educational year. Please I need help.
Ответитьgood
Ответить