An open API service indexing awesome lists of open source software.

https://github.com/trco/django-bs4-modal-login

Django Login form in Bootstrap 4 modal
https://github.com/trco/django-bs4-modal-login

ajax bootstrap4 django login modal

Last synced: about 1 month ago
JSON representation

Django Login form in Bootstrap 4 modal

Awesome Lists containing this project

README

          

#### IMPORTANT: This repository is deprecated. For full implementation of CRUD actions, login/signup and other forms in Bootstrap3 or Bootstrap4 modal checkout [django-bootstrap-modal-forms](https://github.com/trco/django-bootstrap-modal-forms)

# Django Login form in Bootstrap 4 modal

Django Login form rendering and updating in Bootstrap 4 modal via Ajax.

## Running Locally

### 1. Setup

```bash
git clone https://github.com/trco/django-bs4-modal-login.git
```

Create new virtual environment and install requirements.

```bash
pip install -r requirements.txt
```

```bash
python manage.py migrate
```

### 2. Testing Login modal

```bash
python manage.py runserver
```
#### Login credentials

| User role | Username | Password |
| :-------------|:-------------|:-------------|
| User | user1234 | demo1234 |
| Admin | admin1234 | demoadmin |

After you are logged in as Admin you can create new Users at http://127.0.0.1:8000/admin/.