Q:

why i can't load 2 forms in one page?

I need load 2 forms in one page and for mapping URL, I must add the path('',.........) for 2 forms. but how I can do that?
if add path(''.....) for 2 forms, its add one of my forms not both on the same path. how I can do that?
I tried this :
urlpatterns=[
         path('',views.register,name='register')
         path('',views.login,name='login')

]

because I need to load this 2 forms in one page in another word in index path, but when I run​the server I see one of these forms, not both.

A:

You need to write a view and include both forms in the context.
class TwoFormView(TemplateView):
    template_name = 'my_template.html'

    def get_context_data(self, *args, **kwargs):
        ctx = super().get_context_data(*args, **kwargs)
        ctx['form1'] = UserForm()
        ctx['form2'] = RegistrationForm()
        return ctx

you can call this with
path('two-form-view/', views.TowFormView.as_view(), name="two-form-view"),

EDIT
in the post
if form1.is_valid() and form2.is_valid():
    # do something
else: 
    # add forms to context and render template again

