Search code examples
djangodjango-registration

django-registration login and register on one page


Is there a good way to have both the login and register forms for django-registration on one page? I've had trouble finding a way to do it now that the backend system is enforced. Is there a view that can be overwritten that would allow you to add both forms to it? Anyone done this before or can point to an article about this?

Edit: Just to clarify I have the whole django-registration and login system set up and working properly, I'd just like to get both forms on the same page. I do not have access to their views.


Solution

  • Just hard-code your login-form in the registration-html-template. It should work like a charm.