Hello, friend.
Welcome back.
In a previous video, we set up our total project and all that essential file which will be needed,
we already set up it right.
And also in our app application into the application area, I have created one of the custom form because
the follow on to another edition of the field as email.
So far the results I have created one of the forms, so that is our last name I declare as a new user.
Right.
So now I want to do I want to work to our view.
That means that is our application and that is our view right into the area.
First of all, I want to create all that authentication related to everything which I have already done
in our block project.
So now I do want to do the things again, like that is all by default as a Django shot cards and from
the shortcuts import around the right.
So that is by default is visible software that also I want to do want to add another one of the class
that is another class of the EDP response to that extra.
So we also need it as a EDP and then response and then redirect.
That will be as TDP response to that.
So make sure you added and also all the essential things like I have already created another form.
So that is our create new form.
Also, we have to we have to add it because of all I have to load out this form.
Right.
So now I want to be imported.
So that is our form.
And then our app logging, that means from our app logging and then our forms, that is our forms.
And then from here and we import our class name as a create user.
Right.
And then also we need our logging log out and authenticate.
So that is in our form.
And then Django and then the country, what that will be as a country and then the orzo from here.
And I don't put all that our original class as they authenticate.
Right.
That will be as authenticate.
And also we need the logging and there is a log out.
So I added all the essential class on here.
And after that, I also want to do want to edit that our divorce.
So that is in our form and the Django and the Django, that is you or else.
And from here I want to import our reverse sorry.
Reverse.
Right.
That will be the reverse.
And then also I want to add another one as a reverse lazy reverse underscore lazy.
So that is another class as a reverse lazy perfect.
So no one to do all the create of the function, the creator of the function for our sign up.
So if you want to do that work, what exactly you have to do?
I just create our function name and just name it as a sign up sign underscore up.
OK, and this function name here also we have to do have to pass our request, as I told you before,
and then also after that which links is needed.
I want to add all the essential things like I need our form.
I take one of the variable as a form, and here we have to do we have to pass out this custom form that
I already import as I create new user.
Right.
So now I added.
And also after that I take another variable at the register and I want to make the things as it false
and literally when the will that I will be saved.
I want to make that as a true.
So just like that same.
What exactly did you know our blogsite.
I take another variable as a registered.
OK, that will be at the register, and then first of all, I want to make our register as a false so
it shall be as a false first and then I want to r same condition Eve request.
And then the method our method is shall we check our request is post on our so friend.
I have already discussed about everything that you can see.
We just already complete our main core functionality.
Now we can create this project very easily, like I put our post on Wangel B as opposed to after that.
What exactly we have to do.
We have to add our form.
And with this form, I don't want to create our without this create new user.
That means this class here we have to pass our distinguished post.
Right.
So it will be as a request and then I post.
So here I may want to do to take our distinguished post that one of the variable and then just name
it as a data into the rather variable.
I want to save it.
Right.
And then I want to do to add our validation that receive our form if our form is underscore valid.
So if is valid then it will be do some of the work like it will be.
I take another variable as user and with this user and want to save our D form all the data I want to
do and say we don't want to be safe.
I want to make our list editor, so I want to make out this registered.
Will we as a true OK, so B as a true perfect.
And after that what exactly we have to do, we have to load onto the page.
Right.
So here, if you want to put this place on the page, you have to be displayed with the written left
with the written and then the with the standard I want to do and to parse that.
It should be past that request and also is to pass another Parmeter Akbar file location.
So, you know, logging into that app logging folder, I have already created this folder.
Right.
I have already created this folder into the folder area and to create one of the basically as a new
file and I just name it as a sign up saying up dot e-mail.
So this base I want to load.
OK, let me design upload this HTML.
So that is in our view.
So here I want to load in our app logging and then our sign up dot as HTML is so we load and then also
I want to do it from here and to pass our data.
So maybe to the context.
Right.
So we use it a lot of the times with this context.
I want to load our dictionary into the dictionary area.
If you want to pass on the title, like in our sign up page should be displayed on the title dynamically
so you can also pass on the screen value.
I name it as a title, OK, name it as a title.
And then here I want to do and load our sign, a form which will be displayed the title name as a sign
up from here.
OK, sorry form here.
This will be displayed this type of one of the title write and after that I also want to pass our form.
That means our I take that our form.
So now I want to do on the password this form so I to pass this form.
So that is done.
We can actually use it in our sign up that this Tamalpais.
So now we have to work on this.
That is our sign up to this table.
Seem to the sign up for me.
I also want to load our PSP, right.
So I have already installed that Quispe and before I have already because of all the things we do.
So right now, what to do if you want to use that Quispe form, what exactly you have to work for this
one.
Like in our main project, if you go to that settings in the settings area, you know, install a PDA,
we have to add it.
Right.
So first of all, I don't want to add it.
It will be as a crispy form Quispe underscore forms.
So that will be our case before.
And also here we have to do we have to declare our template package that means our Quispe template packages.
So that will be our Quispe Quispe underscore template, template, underscore back.
And also for this project, I want to use our Mustaf also.
I make that I name it as a bootstrap.
Will step four right then I hope you already remember that part, so make sure you added because of
all this project.
I also want to use that bootstrap.
So for the boost up in our previous, you know, previous blog site, what exactly we did.
If you put the template into the Tampa area that was in our block project we have used on the bootstrap
all that file in our business.
All right.
So, no, I don't actually take it.
That is all based on the stimulus.
First of all, I wanted to create the same file, so same file I want to create for our social project
in know template, know the template.
I created the new filing, you name it as a base dot estimate.
OK, that will be our main file and at the base estimate area from our estimate.
Just like that.
Same for our business.
Jammal.
I copy everything, I copy everything.
Right now we don't need this.
And here in our social project, that legal basis to email I it OK.
And I make that things as a PSP.
And you will be as the PSP, I make it as a baby, so that is all that our CDN, that means our bootstrap
CDN for the jazz file.
Fine.
And also that is our perception for the access file.
Right.
And also you can see that is our phone dorsum.
I have already loaded it.
That is our phone to some Syrian.
And then there is our blog title.
So blog that will be as a social social media project.
OK, name it as a social media project.
That will be our title and that is our neighbors into the neighborhood.
I only want to do want to take our home.
So rather than everything I want to do and remove it.
So that is fine.
So I remove everything from here.
OK, and that is actually our neighbor.
So here also don't need this.
I remove it.
So that will be our neighbor.
Perfect.
So that is our border area into the border area that have one of the neighbor.
And I also want to make that right now, the clean that will be as our home menu.
And then that is our body blog and then our own blog.
Right.
Fent perfect.
So right now we successfully updated our business.
Gemal better to save all.
And now I know that you are still the setting.
We don't need it.
I have already added our Quispe form that whisky's reforms and the Crispi template package.
So that is our step forward right now.
We are using our bootstrap right.
Perfect.
So now we have to do, we have to include it.
That means we have to extend our this business Jammal because of all the hurricanes I have named as
a body block.
Right.
So now go to our sign up.
And that means here, here.
First of all, I wanted to extend it.
So if you want to extend it, what exactly you have to do, I hope you already remember that will be
as it extends.
Right.
Extends our police file, extends our base start XHTML right fence with this business, people will
get all the doors, said Jaysus and also the neighbor.
And then also I want to load our piece before that will be as a load.
We have to load it as a crispy.
Crispy underscored that the Crispian and Rescore forms and underscore tax.
Right?
That will be our case before tax.
And then I want to do want to take our title C from to make the title as a dynamic.
So what exactly have to do.
We have to create that block.
Right.
That is our blog and I named it Block in our business journal.
I name it as a title that that will be our title blog.
So now I name it as our blog title.
And here we have to do we have to end it.
That means our end blog and blog.
Perfect.
So from our view space, from our view, if you go to that view from our Web page, I have also lost
one of the contents that are in our dictionary are the titles that will be our key and indeed the key
area I display out this.
Well, right now, if you want the visible that this table dynamically have to be to I you have to update
our this title.
Right.
So no one to do in our disposition and display our Diski as a title.
Perfect.
That means our title now, as is dynamic.
And also after that I want to do on the deck our body.
That means this will be our downunder block.
Sorry, another block as a body block.
Mardie underscore block.
Right so from our basis Jamul I have declared it.
That will be our body block.
So now I name it as a body block and also after that we have to end it.
Sorry, we have to end our body that is.
And I and it seemed to the particular that position I want to turn to create another form and then here
we don't need this glass, we don't need any action.
Only method will be needed.
And also after that, I want to do and the load our forms, that means from our view, from what we
do, I have also powers that our form right.
So into the form area.
I have loaded our this custom form that is our creative user.
So now I loaded our forms and also on the Lord, our Crispi, that will be as a Crispi.
So I have already installed a package and also ablated that things in our settings.
Right.
Then we can use it.
Right.
And also, as I told you before, we need our CSF token.
So without yourself, Kokanee, should we not work?
So this will be as easy as R.F. and rescue token, right?
That will be as I see yourself token and also take one of the button.
So it'll be just like the same finish will be the submit search will be the submit type.
And here we don't need any name.
I want to do want to make one of the glass.
I mean, the glass is a bit and be done and it will be as infl that means in type and then between some
that will we are Bartonella now name will be as.
Sign up, sign up, which will be on the button for our sign up.
Perfect.
So now if you want to access this sign up is what exactly you have to do.
You have to create one of the parts for this one.
Right.
That means, you know, app logging.
If you go to app logging, you order.
So I have already declared that name as the app name as the app logging.
So now I want to do I want to create one of the pop suits will be as a pop and the path area.
I want to declare the name already what I will be as a sign up.
OK, it will be as a sign up.
And then also we load our view.
So right now with these views, so with these views and want to access that machine, our app logging
that is our views, our blogging and views here have created the function name as a sign up.
So now we we have to we have to use it.
So that is our sign of function.
Right.
And after that, I want to put on the name I want to put that name for this spot.
So if you want to use it so it will be as a mamita to sign up.
OK, which will be the sign up.
So that is our child one.
Right.
So we have to also include our this child.
You are in our Madali world.
That means in our social Ozick and that is our you are right.
So here we have to do we have to include it, as I have already added our include methode one can actually
use it.
Right.
So it will be as a part will be as a pop.
And here I name it as a account.
OK, it will be the accounts and slash that account slash and after that it shall be added our sign
up.
Right.
So now I added our accounts and after that we have to, we have to include it.
That means include include our we include in our app.
That means app logging into the app logging area.
I have created one of the file as you also make that sure you included that in our app logging into
the app logging.
I have already created the Warrell.
So it will be included that you are also with our accounts and after that background checks will be
added our this sign up.
Right.
And I hope this concept I have already discussed about that things with you, it now should be very
much clear to you.
So now, friend, let's check this out or everything is perfectly working on not only to save all.
First of all, I don't want to run Salver.
I didn't run my server.
So if you want to run that server, it will be the python or pie.
And then the man is spider man dot pie and then run server.
Right.
And now if you at the enter.
You can see our server is not totally running, so now if you want to access it, that means our main
part to you.
To be sure that or because of all for our main part, I didn't create any doubt.
So now let's check this out.
If you know, open it clears the place to go.
See something as a page not found because I felt I didn't create any part, but I have already created
one of the part I have already created one of the part in our main memorial that will be our account
site soon, the main mural that was in our menu walls area.
That will be as the accounts.
So I added after that, that will be the account.
And after the attack I wanted to be directed to our APLA.
You are those that means you are blogging and that is what you are.
And that is our sign up.
Right.
So after that accounts we have to do we have to add our sign up as they enter.
Yes, you can see for now we successfully lowered our default custom form, so that is our form.
I have already declared so here in our sign now there is a view, our sign up method that means sign
up method.
If you go to that, our view, I have already created out the method as a sign up, right.
See to the sign up area.
I loaded our ad blocking and sign up protest Tamalpais.
And also from here, let me see in our sign up phase here, I loved one of the forms of this form I
have already declared.
Right.
So this form is our create new user form.
See the user for media, what exactly we have done.
So we have created a used our user creation form.
So with this U.S. form, we will get by default to have this field as a username, password and password
and also added another additional field as email.
So this field is you can see this field is also now added as email.
Right.
So, friend, I hope every part should be very much clear to you what exactly would need for our designer
form and write down here.
You can see that it's on the Help Desk.
So if you want to remove that help next, I also show you how you can remove it.
So don't worry, step by step, everything will be more clear to you since the next video I want to
do.
I want to customize our design updates.
OK, so here they told you they have some on the Help Desk, so how can remove it now.
Can make the things a little bit professional.
Look, the next video I will show you that things with a live example.
So thanks for watching.
I will see you the next video.