{"id":16175244,"url":"https://github.com/app-generator/django-templates","last_synced_at":"2026-03-06T16:33:37.645Z","repository":{"id":100502857,"uuid":"374974224","full_name":"app-generator/django-templates","owner":"app-generator","description":"Django Templates - Open-Source Sample Project | AppSeed","archived":false,"fork":false,"pushed_at":"2025-11-16T11:56:28.000Z","size":49,"stargazers_count":11,"open_issues_count":0,"forks_count":3,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-11-16T13:19:43.054Z","etag":null,"topics":["appseed-sample","django","django-templates"],"latest_commit_sha":null,"homepage":"https://app-generator.dev/product/?search=django#","language":"HTML","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/app-generator.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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,"zenodo":null}},"created_at":"2021-06-08T10:50:44.000Z","updated_at":"2025-11-16T11:56:37.000Z","dependencies_parsed_at":"2025-05-09T06:33:05.383Z","dependency_job_id":null,"html_url":"https://github.com/app-generator/django-templates","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/app-generator/django-templates","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/app-generator%2Fdjango-templates","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/app-generator%2Fdjango-templates/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/app-generator%2Fdjango-templates/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/app-generator%2Fdjango-templates/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/app-generator","download_url":"https://codeload.github.com/app-generator/django-templates/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/app-generator%2Fdjango-templates/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30185513,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-06T14:42:24.748Z","status":"ssl_error","status_checked_at":"2026-03-06T14:42:14.925Z","response_time":250,"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":["appseed-sample","django","django-templates"],"created_at":"2024-10-10T04:44:27.603Z","updated_at":"2026-03-06T16:33:32.630Z","avatar_url":"https://github.com/app-generator.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# [Django Templates](https://app-generator.dev/product/?search=django)\n\nCheat-sheat project for **[Django Template](https://app-generator.dev/product/?search=django)** system to showcase the configuration and dynamic HTML page rendering. For newcomers, **Django** is a high-level Python Web framework that encourages rapid development by reusing modules and libraries built by experienced programmers. **Django Templates** help us to build dynamic pages, reuse components, and code faster web applications. \n\n\u003cbr /\u003e\n\n## [Getting Started with Django](https://app-generator.dev/docs/technologies/django/index.html)\n\nDjango is an opinionated framework that provides a complete set of tools for web development, from URL routing to form handling and user authentication. It promotes best practices in web development through its structure and conventions, encouraging developers to write maintainable and scalable code. Django’s middleware system allows for global processing of requests and responses, enabling the implementation of complex features like session handling and caching with minimal effort.\n\n```bash\n$ pip install django\n```\n\n\u003cbr /\u003e\n\n### Free Django Templates\n\n\u003e A curated list with Django Dashboards actively supported by the **App-Generator** Platform. \n\n### [Django AdminLTE](https://app-generator.dev/product/adminlte/django/)\n\n**Open-source Django Starter** crafted on top of **[AdminLTE](https://app-generator.dev/product/adminlte/)**, an open-source `Bootstrap` Design. The product is designed to deliver the best possible user experience with highly customizable, feature-rich pages. \n\n- 👉 [Django AdminLTE](https://app-generator.dev/product/adminlte/django/) - `Product Page`\n- 👉 [Django AdminLTE](https://django-adminlte.onrender.com) - `LIVE Demo`\n\n---\n\n- Simple, Easy-to-Extend Codebase\n- [AdminLTE](https://app-generator.dev/product/adminlte/) Design Integration \n- [Bootstrap](https://app-generator.dev/docs/templates/bootstrap.html) CSS Styling \n- Session-based Authentication, Password recovery\n- DB Persistence: SQLite (default), can be used with MySql, PgSql\n- Apps:\n  - [DEMO](https://django-adminlte.onrender.com/dynamic-dt/product/) **Dynamic DataTables** - generate server-side datatables without coding\n  - [DEMO](https://django-adminlte.onrender.com/api/) **Dynamic APIs** - Expose secure APIs without coding  \n  - [DEMO](https://django-adminlte.onrender.com/charts/) **Charts** - powered by ApexCharts \n- [Django CLI Package](https://app-generator.dev/docs/developer-tools/django-cli/index.html)\n    - `Commit/rollback Git Changes`\n    - `Backup \u0026 restore DB`\n    - `Interact with Django Core`\n    - `Manage Environment`\n    - `Manage Dependencies`  \n- [Deployment](https://app-generator.dev/docs/deployment.html)\n  - Docker/Docker Compose Scripts \n  - CI/CD for [Render](https://app-generator.dev/docs/deployment/render/index.html)\n\n![Django AdminLTE - Open-Source Django Starter ](https://github.com/app-generator/django-adminlte/assets/51070104/8f0c396d-2f33-46b9-9689-2982c987399d)\n\n\u003cbr /\u003e\n\n### [Django Datta Able](https://app-generator.dev/product/datta-able/django/)\n\nOpen-source **Django** project crafted on top of **[Datta Able](https://app-generator.dev/product/datta-able/)**, an open-source `Bootstrap` design released by [CodedThemes](https://app-generator.dev/agency/codedthemes/).\nThe product is designed to deliver the best possible user experience with highly customizable, feature-rich pages. \n\n- 👉 [Django Datta Able](https://app-generator.dev/product/datta-able/django/) - `Product Page`\n- 👉 [Django Datta Able](https://django-datta.onrender.com) - `LIVE Demo`\n\n---\n\n- Simple, Easy-to-Extend Codebase\n- **[Datta Able](https://app-generator.dev/product/datta-able/)** Design Integration \n- **Dynamic Tables** - generate data tables without coding \n- **Dynamic API** - expose secure APIs without coding\n- **CLI for Coding Tasks**\n  - `Commit/rollback Git Changes`\n  - `Backup \u0026 restore DB`\n  - `Interact with Django Core` via CLI\n  - `Update Environment variables`\n  - `Update Dependencies`  \n- Bootstrap 5 Styling \n- Session-based Authentication, Password recovery\n- DB Persistence: SQLite (default), can be used with MySql, PgSql\n- Docker, CI/CD for Render\n- Vite for assets management \n\n![Django Datta Able - Open-Source Django Starter](https://user-images.githubusercontent.com/51070104/176118649-7233ffbc-6118-4f56-8cda-baa81d256877.png)\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n**How to build the project**\n\n\u003e **Step #1** - Clone the sources\n\n```bash\n$ git clone https://github.com/app-generator/django-templates.git\n$ cd django-templates\n```\n\n\u003cbr /\u003e\n\n\u003e **Step #2** - Create and activate a virtual environment\n\n```bash\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\n\u003cbr /\u003e\n\n\u003e **Step #3** - Install Django\n\n```bash\n$ pip install django\n```\n\n\u003cbr /\u003e\n\n## Project Configuration\n\nThe `config` directory contains at least two relevant files:\n\n- `config/settings.py` - global project settings\n- `config/urls.py` - project routing rules\n\n\u003cbr /\u003e\n\n`Sample_app` directory, created with `python manage.py startapp` will serve the `html` files from `templates` directory. According to the product configuration, **HTML pages** are located in the `templates` directory.\n\n```python\n# Contents of config/settings.py\n...\nTEMPLATES_DIR = os.path.join(BASE_DIR, \"templates\")  # \u003c- Specify where the directory is located\n\nTEMPLATES = [\n    {\n        'BACKEND': 'django.template.backends.django.DjangoTemplates',\n        'DIRS': [TEMPLATES_DIR],                     # \u003c- Informs Django about it\n        'APP_DIRS': True,\n        'OPTIONS': {\n            'context_processors': [\n                'django.template.context_processors.debug',\n                'django.template.context_processors.request',\n                'django.contrib.auth.context_processors.auth',\n                'django.contrib.messages.context_processors.messages',\n            ],\n        },\n    },\n]\n...\n```\n\n\u003cbr /\u003e\n\n## Template Samples\n\n\u003e **index.html** - showcases a simple file \n\nOn access the `ROOT` of the app or simply `index.html` a simple file is served from `templates` directory. \n\n\u003cbr /\u003e\n\n\u003e **variables.html** - Display in the HTML page a simple variable sent by the Django backend\n\n```html\n{{ variable }}\n```\n\n\u003cbr /\u003e\n\n\u003e **lists.html** - iterate over a simple list with integers\n\n```html\n\u003ch4\u003eThe List:\u003c/h4\u003e\n\u003cul\u003e\n{% for i in list %}\n\u003cli\u003e{{ i }}\u003c/li\u003e\n{% endfor %}\n\u003c/ul\u003e\n```\n\n\u003cbr /\u003e\n\n\u003e **Footer Component** - a common footer is used by all sample pages\n\n```html\n{% include \"includes/footer.html\" %}\n```\n\n\u003cbr /\u003e\n\n**Thanks for reading!** Feel free to suggest more topics related to Django Templates using the `issues tracker`. \n\n\u003cbr /\u003e\n\n## Resources\n\n- [Django Templates](https://djangobook.com/mdj2-django-templates/) - a free chapter from `The Django Book` \n- [Django Templates](https://www.geeksforgeeks.org/django-templates/) - a really nice article provided by `GeeksForGeeks` platform\n\n\u003cbr /\u003e\n\n---\n**[Django Templates](https://app-generator.dev/product/?search=django)** - Open-source project provided by [App Generator](https://app-generator.dev) \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fapp-generator%2Fdjango-templates","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fapp-generator%2Fdjango-templates","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fapp-generator%2Fdjango-templates/lists"}