{"id":16174850,"url":"https://github.com/app-generator/sample-django-datatables","last_synced_at":"2026-02-17T09:37:08.592Z","repository":{"id":41910797,"uuid":"312846283","full_name":"app-generator/sample-django-datatables","owner":"app-generator","description":"Django - Datatables Sample | AppSeed","archived":false,"fork":false,"pushed_at":"2024-10-17T03:41:40.000Z","size":7235,"stargazers_count":88,"open_issues_count":3,"forks_count":32,"subscribers_count":6,"default_branch":"master","last_synced_at":"2025-10-07T18:52:07.867Z","etag":null,"topics":["django-bootstrap","django-bootstrap-sample","django-bs5-design","django-coding-sample","django-datatables","django-datatables-serverside","django-sample","django-sample-tables","django-tables","django-volt-design","python-coding","python-coding-solutions"],"latest_commit_sha":null,"homepage":"https://django-datatables-sample.appseed.us","language":"CSS","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/app-generator.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-11-14T15:39:35.000Z","updated_at":"2025-08-28T14:50:26.000Z","dependencies_parsed_at":"2024-10-19T02:33:23.035Z","dependency_job_id":"de08b608-d0f3-4d18-80c7-5b1c09d7b25e","html_url":"https://github.com/app-generator/sample-django-datatables","commit_stats":null,"previous_names":[],"tags_count":3,"template":true,"template_full_name":"app-generator/django-volt-dashboard","purl":"pkg:github/app-generator/sample-django-datatables","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/app-generator%2Fsample-django-datatables","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/app-generator%2Fsample-django-datatables/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/app-generator%2Fsample-django-datatables/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/app-generator%2Fsample-django-datatables/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/app-generator","download_url":"https://codeload.github.com/app-generator/sample-django-datatables/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/app-generator%2Fsample-django-datatables/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29539155,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-17T08:11:05.436Z","status":"ssl_error","status_checked_at":"2026-02-17T08:09:38.860Z","response_time":100,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["django-bootstrap","django-bootstrap-sample","django-bs5-design","django-coding-sample","django-datatables","django-datatables-serverside","django-sample","django-sample-tables","django-tables","django-volt-design","python-coding","python-coding-solutions"],"created_at":"2024-10-10T04:43:33.042Z","updated_at":"2026-02-17T09:37:08.506Z","avatar_url":"https://github.com/app-generator.png","language":"CSS","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Django Datatables Sample \n\nSimple Django starter that implements a server-side paginated view - Styled with Bootstrap 5.  \n\n- 👉 Demo: https://django-datatables-sample.appseed.us/\n\n---\n\n\u003e For a **complete set of features** and long-term support, check out **[Dynamic Django](https://app-generator.dev/docs/developer-tools/dynamic-django/index.html)**, a powerful starter that incorporates:\n\n- ✅ [Dynamic DataTables](https://app-generator.dev/docs/developer-tools/dynamic-django/datatables.html): using a single line of configuration, the data saved in any table is automatically managed\n- ✅ [Dynamic API](https://app-generator.dev/docs/developer-tools/dynamic-django/api.html): any model can become a secure API Endpoint using DRF\n- ✅ [Dynamic Charts](https://app-generator.dev/docs/developer-tools/dynamic-django/charts.html): extract relevant charts without coding all major types are supported\n- ✅ [CSV Loader](https://app-generator.dev/docs/developer-tools/dynamic-django/csv-loader.html): translate CSV files into Django Models and (optional) load the information\n- ✅ Powerful [CLI Tools](https://app-generator.dev/docs/developer-tools/dynamic-django/cli.html) for the GIT interface, configuration editing, updating the configuration and database (create models, migrate DB)\n\n\u003cbr /\u003e\n\n## How to use it\n\n```bash\n$ # Get the code\n$ git clone https://github.com/app-generator/django-datatables-sample.git\n$ cd django-datatables-sample\n$\n$ # Virtualenv modules installation (Unix based systems)\n$ virtualenv env\n$ source env/bin/activate\n$\n$ # Virtualenv modules installation (Windows based systems)\n$ # virtualenv env\n$ # .\\env\\Scripts\\activate\n$\n$ # Install modules - SQLite Storage\n$ pip3 install -r requirements.txt\n$\n$ # Create tables\n$ python manage.py makemigrations\n$ python manage.py migrate\n$\n$ # Create app superuser\n$ python manage.py createsuperuser\n$\n$ # Start the application (development mode)\n$ python manage.py runserver # default port 8000\n$\n$ # Start the app - custom port\n$ # python manage.py runserver 0.0.0.0:\u003cyour_port\u003e\n$\n$ # Access the web app in browser: http://127.0.0.1:8000/\n```\n\n\u003e Note: To use the app, please access the registration page and create a new user. After authentication, the app will unlock the private pages.\n\n\u003cbr /\u003e\n\n## Load Data For Datatable\n\nIn Django admin, you can import data for the **Transaction** section. \nTo do this just click on ```IMPORT``` button then select your csv, xls or etc file and submit it.\n\n![Import Data](https://raw.githubusercontent.com/app-generator/django-datatables-sample/master/media/transactions_screenshot_3.png)\n\n\u003e Sample **[Data](https://github.com/app-generator/django-datatables-sample/blob/master/sample_data/transactions_data.csv)**\n\n### Datatable for transactions\n* Imported information is displayed in the **Transactions** section. \n\n![Django Dashboard Volt - Template project provided by AppSeed.](https://raw.githubusercontent.com/app-generator/django-datatables-sample/master/media/transactions_screenshot_1.png)\n\n* In this section, you can *search*, *edit*, and *delete* the transactions. The added features of this **datatable** are:\n    - Paginated information (transaction page) with usable controls: PREV, 1,2,3., NEXT\n    - Search box to filter\n    - Delete row control\n    - edit cel data on double click and ENTER on confirm.\n\n![Django Dashboard Volt - Template project provided by AppSeed.](https://raw.githubusercontent.com/app-generator/django-datatables-sample/master/media/transactions_screenshot_2.png)\n \n\u003cbr\u003e\n\n## Code-base structure\n\nThe project is coded using a simple and intuitive structure presented bellow:\n\n```bash\n\u003c PROJECT ROOT \u003e\n   |\n   |-- core/                               # Implements app logic and serve the static assets\n   |    |-- settings.py                    # Django app bootstrapper\n   |    |-- wsgi.py                        # Start the app in production\n   |    |-- urls.py                        # Define URLs served by all apps/nodes\n   |    |\n   |    |-- static/\n   |    |    |-- \u003ccss, JS, images\u003e         # CSS files, Javascripts files\n   |    |\n   |    |-- templates/                     # Templates used to render pages\n   |         |\n   |         |-- includes/                 # HTML chunks and components\n   |         |    |-- navigation.html      # Top menu component\n   |         |    |-- sidebar.html         # Sidebar component\n   |         |    |-- footer.html          # App Footer\n   |         |    |-- scripts.html         # Scripts common to all pages\n   |         |\n   |         |-- layouts/                  # Master pages\n   |         |    |-- base-fullscreen.html # Used by Authentication pages\n   |         |    |-- base.html            # Used by common pages\n   |         |\n   |         |-- accounts/                 # Authentication pages\n   |         |    |-- login.html           # Login page\n   |         |    |-- register.html        # Register page\n   |         |\n   |      index.html                       # The default page\n   |     page-404.html                     # Error 404 page\n   |     page-500.html                     # Error 404 page\n   |       *.html                          # All other HTML pages\n   |\n   |-- authentication/                     # Handles auth routes (login and register)\n   |    |\n   |    |-- urls.py                        # Define authentication routes  \n   |    |-- views.py                       # Handles login and registration  \n   |    |-- forms.py                       # Define auth forms  \n   |\n   |-- app/                                # A simple app that serve HTML files\n   |    |\n   |    |-- views.py                       # Serve HTML pages for authenticated users\n   |    |-- urls.py                        # Define some super simple routes  \n   |\n   |-- requirements.txt                    # Development modules - SQLite storage\n   |\n   |-- .env                                # Inject Configuration via Environment\n   |-- manage.py                           # Start the app - Django default start script\n   |\n   |-- ************************************************************************\n```\n\n\u003cbr /\u003e\n\n\u003e The bootstrap flow\n\n- Django bootstrapper `manage.py` uses `core/settings.py` as the main configuration file\n- `core/settings.py` loads the app magic from `.env` file\n- Redirect the guest users to Login page\n- Unlock the pages served by *app* node for authenticated users\n\n\u003cbr /\u003e\n\n## Deployment\n\nThe app is provided with a basic configuration to be executed in [Docker](https://www.docker.com/), [Gunicorn](https://gunicorn.org/), and [Waitress](https://docs.pylonsproject.org/projects/waitress/en/stable/).\n\n### [Docker](https://www.docker.com/) execution\n---\n\nThe application can be easily executed in a docker container. The steps:\n\n\u003e Get the code\n\n```bash\n$ git clone https://github.com/app-generator/django-datatables-sample.git\n$ cd django-datatables-sample\n```\n\n\u003e Start the app in Docker\n\n```bash\n$ docker-compose up --build\n```\n\nVisit `http://localhost:5085` in your browser. The app should be up \u0026 running.\n\n\u003cbr /\u003e\n\n---\n[Django Datatables Sample](https://django-datatables-sample.appseed.us/) - Provided by [AppSeed](https://appseed.us).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fapp-generator%2Fsample-django-datatables","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fapp-generator%2Fsample-django-datatables","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fapp-generator%2Fsample-django-datatables/lists"}