Style Django Registration Forms - Django Wednesdays #26

Style Django Registration Forms - Django Wednesdays #26

Codemy.com

2 года назад

19,314 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

@Stuepp
@Stuepp - 09.08.2023 22:52

You have truly helped me ty

Ответить
@lucderan
@lucderan - 01.05.2023 15:18

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

Ответить
@dhruvsanghavi2039
@dhruvsanghavi2039 - 18.03.2023 17:11

How to add extra fields in registeration that are not by default in user table

Ответить
@PARPROX777
@PARPROX777 - 16.11.2022 23:35

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?

Ответить
@seforaabigail6704
@seforaabigail6704 - 05.07.2022 18:47

Ответить
@onwuachiawele4696
@onwuachiawele4696 - 02.05.2022 19:11

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

Ответить
@martinslater5279
@martinslater5279 - 22.04.2022 17:22

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.

Ответить
@dragonfire2926
@dragonfire2926 - 20.04.2022 02:19

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 ?

Ответить
@geosesame6162
@geosesame6162 - 13.04.2022 10:04

why not using crispy forms ?

Ответить
@israahussein7582
@israahussein7582 - 04.02.2022 05:30

why do we call super ? i don't see a reason

Ответить
@pouoiza6875
@pouoiza6875 - 21.01.2022 09:57

Thank you for the best video sir .

Ответить
@user-eu2rf2yj2x
@user-eu2rf2yj2x - 09.10.2021 09:07

Hi Sir, thank you for this amazing content, please can you make another to explain how to set up django widgets forms with tailwindcss?

Ответить
@prasannakumar-kf2pl
@prasannakumar-kf2pl - 12.09.2021 06:21

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🇮🇳

Ответить
@twitthale9351
@twitthale9351 - 19.08.2021 14:46

Please teach us how to use django genericforeignkey!

Ответить
@rroctav
@rroctav - 19.08.2021 01:11

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!

Ответить
@rayenbahroun6297
@rayenbahroun6297 - 18.08.2021 21:35

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.

Ответить
@RATANAGARWALITINFORMER
@RATANAGARWALITINFORMER - 18.08.2021 16:03

good

Ответить