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
- Host: GitHub
- URL: https://github.com/trco/django-bs4-modal-login
- Owner: trco
- License: mit
- Created: 2017-11-10T20:38:03.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2019-02-14T18:51:09.000Z (over 7 years ago)
- Last Synced: 2025-01-06T06:12:34.803Z (over 1 year ago)
- Topics: ajax, bootstrap4, django, login, modal
- Language: Python
- Homepage:
- Size: 140 KB
- Stars: 0
- Watchers: 1
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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/.