{"id":23992864,"url":"https://github.com/yash08123/todo-django","last_synced_at":"2026-04-16T08:32:02.927Z","repository":{"id":271117868,"uuid":"912438260","full_name":"yash08123/todo-django","owner":"yash08123","description":"A simple todo app built with django","archived":false,"fork":false,"pushed_at":"2025-01-05T15:57:50.000Z","size":12,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-07T20:38:12.811Z","etag":null,"topics":["bootstrap","css","django","django-framework","django-project","html"],"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/yash08123.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":"2025-01-05T15:23:02.000Z","updated_at":"2025-01-06T10:56:02.000Z","dependencies_parsed_at":"2025-01-05T23:30:56.550Z","dependency_job_id":null,"html_url":"https://github.com/yash08123/todo-django","commit_stats":null,"previous_names":["yash08123/todo_django","yash08123/todo-django"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yash08123%2Ftodo-django","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yash08123%2Ftodo-django/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yash08123%2Ftodo-django/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yash08123%2Ftodo-django/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/yash08123","download_url":"https://codeload.github.com/yash08123/todo-django/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240613961,"owners_count":19829251,"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":["bootstrap","css","django","django-framework","django-project","html"],"created_at":"2025-01-07T20:37:02.563Z","updated_at":"2026-04-16T08:31:57.904Z","avatar_url":"https://github.com/yash08123.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Django Todo App\n\nA simple Todo application built with Django, featuring user authentication and MySQL database integration.\n\n## Features\n\n- User authentication (signup, login, logout)\n- Create, read, update, and delete (CRUD) operations for todos\n- User-specific todo lists\n- MySQL database for data storage\n- Bootstrap for responsive UI\n\n## Prerequisites\n\n- Python 3.x\n- Django 5.1.4\n- MySQL Server\n- MySQL client for Python (`mysqlclient`)\n\n## Installation\n\n1. **Clone the repository:**\n\n   ```bash\n   git clone https://github.com/yash08123/ToDo_Django.git\n   cd todo_project\n   ```\n\n2. **Create a virtual environment:**\n\n   ```bash\n   python -m venv venv\n   source venv/bin/activate  # On Windows use `venv\\Scripts\\activate`\n   ```\n\n3. **Install the dependencies:**\n\n   ```bash\n   pip install -r requirements.txt\n   ```\n\n4. **Set up the MySQL database:**\n\n   - Log into MySQL as root:\n\n     ```bash\n     mysql -u root -p\n     ```\n\n   - Create the database and user:\n\n     ```sql\n     CREATE DATABASE todo_db CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci;\n     CREATE USER 'todo_user'@'localhost' IDENTIFIED BY 'todo_password';\n     GRANT ALL PRIVILEGES ON todo_db.* TO 'todo_user'@'localhost';\n     FLUSH PRIVILEGES;\n     ```\n\n5. **Configure the database in `settings.py`:**\n\n   Update the `DATABASES` section in `todo_project/todo_project/settings.py` with your MySQL credentials:\n\n   ```python\n   DATABASES = {\n       'default': {\n           'ENGINE': 'django.db.backends.mysql',\n           'NAME': 'todo_db',\n           'USER': 'root',\n           'PASSWORD': 'your_password',\n           'HOST': 'localhost',\n           'PORT': '3306',\n           'OPTIONS': {\n               'init_command': \"SET sql_mode='STRICT_TRANS_TABLES'\"\n           }\n       }\n   }\n   ```\n\n6. **Run migrations:**\n\n   ```bash\n   python manage.py makemigrations\n   python manage.py migrate\n   ```\n\n7. **Create a superuser:**\n\n   ```bash\n   python manage.py createsuperuser\n   ```\n\n8. **Run the development server:**\n\n   ```bash\n   python manage.py runserver\n   ```\n\n9. **Access the application:**\n\n   Open your web browser and go to `http://127.0.0.1:8000/`.\n\n## Usage\n\n- Sign up for a new account or log in with an existing account.\n- Add, complete, or delete todos.\n- View your todo list.\n\n## Troubleshooting\n\n- If you encounter a `django.db.utils.OperationalError: (1045, \"Access denied for user...\")`, ensure your MySQL credentials in `settings.py` are correct and that the MySQL server is running.\n\n## License\n\nThis project is licensed under the MIT License. See the [LICENSE](LICENSE) file for details.\n\n## Contributing\n\nContributions are welcome! Please fork the repository and submit a pull request for any improvements.\n\n## Contact\n\nFor any questions or issues, please contact [yashnagarkar124@gmail.com](mailto:yashnagarkar124@gmail.com). ","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyash08123%2Ftodo-django","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyash08123%2Ftodo-django","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyash08123%2Ftodo-django/lists"}