{"id":18614850,"url":"https://github.com/andrewjbateman/python-django-todos","last_synced_at":"2025-11-03T03:30:29.556Z","repository":{"id":96860886,"uuid":"323613813","full_name":"AndrewJBateman/python-django-todos","owner":"AndrewJBateman","description":":clipboard: CRUD app to handle user todos","archived":false,"fork":false,"pushed_at":"2021-06-22T19:40:29.000Z","size":34,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2024-12-27T02:44:48.406Z","etag":null,"topics":["bootstrap4-theme","crud-application","django-framework","python3","todoapp"],"latest_commit_sha":null,"homepage":"","language":"Python","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/AndrewJBateman.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}},"created_at":"2020-12-22T12:02:27.000Z","updated_at":"2021-06-22T19:40:32.000Z","dependencies_parsed_at":"2023-03-30T11:35:13.939Z","dependency_job_id":null,"html_url":"https://github.com/AndrewJBateman/python-django-todos","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/AndrewJBateman%2Fpython-django-todos","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AndrewJBateman%2Fpython-django-todos/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AndrewJBateman%2Fpython-django-todos/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AndrewJBateman%2Fpython-django-todos/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/AndrewJBateman","download_url":"https://codeload.github.com/AndrewJBateman/python-django-todos/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239406449,"owners_count":19633024,"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":["bootstrap4-theme","crud-application","django-framework","python3","todoapp"],"created_at":"2024-11-07T03:27:13.256Z","updated_at":"2025-11-03T03:30:29.526Z","avatar_url":"https://github.com/AndrewJBateman.png","language":"Python","readme":"# :zap: Python Django Todo\n\n* Python-Django CRUD (Create, Read, Update \u0026 Delete) app to manage todo tasks\n* Code from a tutorial by [Dennis Ivy](https://www.youtube.com/channel/UCTZRcDjjkVajGL6wd76UnGg) - see [:clap: Inspiration](#clap-inspiration) below\n* **Note:** to open web links in a new window use: _ctrl+click on link_\n\n![GitHub repo size](https://img.shields.io/github/repo-size/AndrewJBateman/python-django-todos?style=plastic)\n![GitHub pull requests](https://img.shields.io/github/issues-pr/AndrewJBateman/python-django-todos?style=plastic)\n![GitHub Repo stars](https://img.shields.io/github/stars/AndrewJBateman/python-django-todos?style=plastic)\n![GitHub last commit](https://img.shields.io/github/last-commit/AndrewJBateman/python-django-todos?style=plastic)\n\n## :page_facing_up: Table of contents\n\n* [:zap: Python Django Todo](#zap-python-django-todo)\n  * [:page_facing_up: Table of contents](#page_facing_up-table-of-contents)\n  * [:books: General info](#books-general-info)\n  * [:camera: Screenshots](#camera-screenshots)\n  * [:signal_strength: Technologies](#signal_strength-technologies)\n  * [:floppy_disk: Setup](#floppy_disk-setup)\n  * [:computer: Code Examples](#computer-code-examples)\n  * [:cool: Features](#cool-features)\n  * [:clipboard: Status \u0026 To-do list](#clipboard-status--to-do-list)\n  * [:clap: Inspiration](#clap-inspiration)\n  * [:envelope: Contact](#envelope-contact)\n\n## :books: General info\n\n* User can add todo tasks to a list and then update or delete items\n* Styling done using Bootstrap\n\n## :camera: Screenshots\n\n![screen print](./img/tasks.jpg)\n\n## :signal_strength: Technologies\n\n* [Python v3](https://www.python.org/) programming language\n* [Django v3](https://www.djangoproject.com/) server-side web framework\n* [Bootstrap v4](https://getbootstrap.com/)\n\n## :floppy_disk: Setup\n\n* [Install Python](https://docs.python-guide.org/starting/installation/)\n* [Install pip](https://docs.python-guide.org/dev/virtualenvs/#installing-pipenv)\n* [Install Django](https://docs.djangoproject.com/en/3.1/howto/windows/) by typing `pip install Django`\n* Run `django-admin startproject example_proj` to create a new project [ref. docs](https://docs.djangoproject.com/en/3.1/intro/tutorial01/)\n* Open `example_proj` in VS Code\n* Run `python manage.py startapp new_module` to create Python module\n* Add code\n* Run `pip freeze` to see list of modules installed. [Ref. Docs](https://pip.pypa.io/en/stable/reference/pip_freeze/)\n* Run `python manage.py makemigrations` for changes to models etc.\n* Run `python manage.py migrate` to migrate the migration files.\n* For Admin panel: to add a superuser Run `python manage.py createsuperuser --username=joe --email=joe@example.com` [Ref. Docs](https://docs.djangoproject.com/en/3.1/topics/auth/default/)\n* Run `python manage.py runserver` to run server on port 8000 and open /admin console\n\n## :computer: Code Examples\n\n* extract from `tasks/views.py`: task update method\n\n```python\ndef updateTask(request, pk):\n  task = Task.objects.get(id=pk)\n\n  form = TaskForm(instance=task)\n\n  if request.method == 'POST':\n    form = TaskForm(request.POST, instance=task)\n    if form.is_valid():\n      form.save()\n      return redirect('/')\n\n  context = {'form':form}\n\n  return render(request, 'tasks/update_task.html', context)\n```\n\n## :cool: Features\n\n* Bootstrap styling\n\n## :clipboard: Status \u0026 To-do list\n\n* Status: Working\n* To-do: Work out how to add Bootstrap to each template page but only import once. Add styling to delete and update pages. Add backend database.\n\n## :clap: Inspiration\n\n* [Dennis Ivy: To Do App | Django 3.0](https://www.youtube.com/watch?v=4RWFvXDUmjo)\n\n## :file_folder: License\n\n* N/A\n\n## :envelope: Contact\n\n* Repo created by [ABateman](https://github.com/AndrewJBateman), email: gomezbateman@yahoo.com\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandrewjbateman%2Fpython-django-todos","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fandrewjbateman%2Fpython-django-todos","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandrewjbateman%2Fpython-django-todos/lists"}