{"id":20490966,"url":"https://github.com/circleci-public/circleci-demo-python-django","last_synced_at":"2025-04-05T21:10:29.579Z","repository":{"id":21280688,"uuid":"89367810","full_name":"CircleCI-Public/circleci-demo-python-django","owner":"CircleCI-Public","description":"Example Django application running on CircleCI","archived":false,"fork":false,"pushed_at":"2023-04-21T20:53:14.000Z","size":129,"stargazers_count":115,"open_issues_count":27,"forks_count":297,"subscribers_count":34,"default_branch":"master","last_synced_at":"2025-03-29T20:08:04.518Z","etag":null,"topics":["circleci","circleci-demos","demo","demo-app","django","example","python","python3","testing","tutorial"],"latest_commit_sha":null,"homepage":"https://circleci.com/gh/CircleCI-Public/circleci-demo-python-django","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"cc0-1.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/CircleCI-Public.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2017-04-25T14:07:09.000Z","updated_at":"2024-07-27T21:38:46.000Z","dependencies_parsed_at":"2024-11-19T02:52:05.835Z","dependency_job_id":null,"html_url":"https://github.com/CircleCI-Public/circleci-demo-python-django","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CircleCI-Public%2Fcircleci-demo-python-django","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CircleCI-Public%2Fcircleci-demo-python-django/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CircleCI-Public%2Fcircleci-demo-python-django/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CircleCI-Public%2Fcircleci-demo-python-django/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/CircleCI-Public","download_url":"https://codeload.github.com/CircleCI-Public/circleci-demo-python-django/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247399885,"owners_count":20932880,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["circleci","circleci-demos","demo","demo-app","django","example","python","python3","testing","tutorial"],"created_at":"2024-11-15T17:19:14.452Z","updated_at":"2025-04-05T21:10:29.558Z","avatar_url":"https://github.com/CircleCI-Public.png","language":"Python","readme":"# CircleCI Demo Application: Python / Django\n\n[![CircleCI](https://circleci.com/gh/CircleCI-Public/circleci-demo-python-django.svg?style=svg)](https://circleci.com/gh/CircleCI-Public/circleci-demo-python-django)\n\nThis is an example application showcasing how to build test and deploy a Django app on CircleCI 2.0.\n\nYou can follow along with this project by reading the [documentation](https://circleci.com/docs/2.0/language-python/).\n\n## Features of the demo\n\n- regularly updated to use latest Python and Django (currently Python 3.6.4 and Django 2.0.1)\n- uses [pipenv](http://pipenv.readthedocs.io/en/latest/) to install and manage dependencies and virtualenvs on CircleCI\n- shows usage of caching on CircleCI 2.0 to speed up builds. Makes use of Ppipfile.lock to invalidate cache if dependencies change\n- runs tests against a PostgreSQL database\n- store and upload test result in Junit XML format with [unittest-xml-reporting](https://github.com/xmlrunner/unittest-xml-reporting) to enable Test Summary and Insights on CircleCI\n\n## About the app: django_local_library\n\nTutorial \"Local Library\" website written in Django. This is based on the excellent [MDN Django tutorial.](https://developer.mozilla.org/en-US/docs/Learn/Server-side/Django/Tutorial_local_library_website).\n\n----\n\nThis web application creates an online catalog for a small local library, where users can browse available books and manage their accounts.\n\nThe main features that have currently been implemented are:\n\n* There are models for books, book copies, genre, language and authors.\n* Users can view list and detail information for books and authors.\n* Admin users can create and manage models. The admin has been optimised (the basic registration is present in admin.py, but commented out).\n* Librarians can renew reserved books\n\n![Local Library Model](https://github.com/mdn/django-locallibrary-tutorial/blob/master/catalog/static/images/local_library_model_uml.png)\n\n## License Information\n\nDocumentation (guides, references, and associated images) is licensed as Creative Commons Attribution-NonCommercial-ShareAlike CC BY-NC-SA. The full license can be found [here](http://creativecommons.org/licenses/by-nc-sa/4.0/legalcode), and the human-readable summary [here](http://creativecommons.org/licenses/by-nc-sa/4.0/).\n\nEverything in this repository not covered above is licensed under the [included CC0 license](LICENSE).\n\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcircleci-public%2Fcircleci-demo-python-django","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcircleci-public%2Fcircleci-demo-python-django","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcircleci-public%2Fcircleci-demo-python-django/lists"}