https://github.com/app-generator/devtool-django-dynamic-datatb
Django Dynamic Data Tables - Developer Tool | AppSeed
https://github.com/app-generator/devtool-django-dynamic-datatb
appseed django dynamic-programming open-source
Last synced: 3 months ago
JSON representation
Django Dynamic Data Tables - Developer Tool | AppSeed
- Host: GitHub
- URL: https://github.com/app-generator/devtool-django-dynamic-datatb
- Owner: app-generator
- License: other
- Created: 2022-07-23T13:47:43.000Z (almost 3 years ago)
- Default Branch: master
- Last Pushed: 2022-10-08T14:36:25.000Z (almost 3 years ago)
- Last Synced: 2025-04-06T18:12:47.273Z (3 months ago)
- Topics: appseed, django, dynamic-programming, open-source
- Language: SCSS
- Homepage: https://appseed.us/developer-tools/django-dynamic-datatables/
- Size: 25 MB
- Stars: 3
- Watchers: 4
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE.md
Awesome Lists containing this project
README
# [Django Dynamic DataTables](https://appseed.us/developer-tools/django-dynamic-datatables/)
The tool aims to provide a powerful data table interface using the developer's minimum amount of code. Built on top of [Simple-DataTables](https://github.com/fiduswriter/Simple-DataTables), `Vanilla JS` and **Django** for the backend logic.
- 👉 [Django Dynamic DataTables](https://appseed.us/developer-tools/django-dynamic-datatables/) - product page
- 👉 [Django Dynamic DataTables](https://www.youtube.com/watch?v=TrTI2jG2LCw) - video presentation
- 🚀 More [Developer Tools](https://appseed.us/developer-tools/) - provided by AppSeed
> Features:
- ✅ Modern Stack: `Django` & `VanillaJS`
- ✅ `Server-side` pagination
- ✅ Search, Filters
- ✅ Exports in PDF, CSV formats
- ✅ `MIT License` (commercial use allowed)
- ✅ Active versioning & Free [support](https://appseed.us/support/)

## Quick start in `Docker`
> 👉 **Step 1** - Download the code from the GH repository (using `GIT`)
```bash
$ git clone https://github.com/app-generator/devtool-django-dynamic-datatb.git
$ cd devtool-django-dynamic-datatb
```
> 👉 **Step 2** - Start the APP in `Docker`
```bash
$ docker-compose up --build
```Visit `http://localhost:5085` in your browser. By default a simple [Books](./apps/models.py) Model is used as sample.
The **Dynamic UI** is live at `http://localhost:5085/datatb/books`

## Video Presentation
https://user-images.githubusercontent.com/51070104/194706066-37a40b93-bc89-4d79-84b0-996dfb0f8be6.mp4
## How It Works
> 👉 **Step #1** - Define models in `apps/models.py`
By default, the project comes with a simple `Books` model:
```python
class Book(models.Model):title = models.CharField(max_length=100)
```
> 👉 **Step #2** - `Register the model` in `core/settings.py` (API_GENERATOR section)
```python
DYNAMIC_DATATB = {
'books': "Book", # <-- Books model provided as sample
}
```
> 👉 **Step #3** - `Migrate Database`
```bash
$ python manage.py makemigrations
$ python manage.py migrate
```
> 👉 **Step #4** - `Access the UI`
* Manager books via dynamic page `/datatb/books/`
---
[Django Dynamic DataTables](https://appseed.us/developer-tools/django-dynamic-datatables/) - Developer tool provided by [AppSeed](https://appseed.us)