Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

Python

Christopher Stuart
seal-mask
.a{fill-rule:evenodd;}techdegree seal-36
Christopher Stuart
Full Stack JavaScript Techdegree Graduate 27,771 Points

Django Modal Login/Register Form

I'm trying to create a Login/Register Modal in Django/Bootstrap. I'm using this code here for the modal: https://www.creative-tim.com/product/login-and-register-modal

I have a login and register button and want to create the views in Django so that they work correctly with the modal. I'm just confused as to how to do this, since the modal is only one file of html code. How exactly would i create the urls/views in Django to accomodate a modal like this?

1 Answer