aboutsummaryrefslogtreecommitdiffstats
path: root/alphabetlearning/resources (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Adds isort as dev depenedencyMatthew Lemon5 days1-18/+8
|
* Major refactoring and removal of junkMatthew Lemon9 days20-432/+33
| | | | | | | | | | | | | | | | | | | | | | | | | | This commit includes significant refactoring, cleanup, and updates across various components of the Django project. The following changes were made: - **Database Migration Updates:** - Removed unnecessary migrations in the `alphabetlearning.contrib.sites` and `alphabetlearning.payments` apps, consolidating them into cleaner initial migration files. - Altered the `Site` model in `alphabetlearning.contrib.sites` to streamline its fields and default settings. - Introduced new models in `alphabetlearning.payments` related to email signups and verification, reflecting a shift in focus and better alignment with current business logic. - **Django Settings Changes:** - Updated the database settings to use SQLite for local development, while commenting out production-specific configurations. - Managed third-party dependencies within `requirements.txt` and `pyproject.toml`, ensuring alignment with the latest Django version (5.1.4) and removing obsolete dependencies (e.g., `celery`, `django-celery-beat`, `flower`, etc.). - **Docker and Compose Clean-up:** - Removed old Dockerfiles and unnecessary services from the `docker-compose` configuration, streamlining the local and production setups. - Updated the Dockerfile configuration for local development, focusing on essential services only. - **General Code Clean-up:** - Removed unused tasks, views, tests, and files related to the Celery and Redis frameworks. - Cleaned up various model definitions and their related migrations for consistency and clarity. - **Documentation and Comments:** - Updated comments and code documentation where necessary to reflect the changes made during this cleanup process. This major refactor aims to enhance project maintainability and streamline the development experience while preparing for future feature expansions and improvements.
* testing llms ability to liberally add comments to a funcMatthew Lemon2024-12-231-27/+50
|
* wip: sorting out the email sendingMatthew Lemon2024-12-081-2/+2
|
* bugfix: assign price of 0 to resource without Price objectMatthew Lemon2024-10-201-0/+5
|
* Can now delete item from basketMatthew Lemon2024-10-201-1/+0
| | | | | | | - if is only one item left, it is deleted along with the basket - if there are more than one, just that one is deleted - TODO needs proper handling of the confirmation page - it's not formatted. htmx?
* bugfix: detail view failed if user had no shopping cartMatthew Lemon2024-10-201-4/+6
|
* Cart shows items in it; disables buttons if item in basketMatthew Lemon2024-10-201-0/+13
| | | | | | | | | | - Rough cart icon in navbar - Shows items in cart - Styled dependent on existence - Add to cart buttons disabled if resource in cart, on resource list page and detail page - Throws 404 error if trying add item to cart which has no price - eventually all items will have a price
* Changes the Resource to include Stripe referenceMatthew Lemon2024-10-192-7/+31
|
* Renamed from pyblackbird_cc to alphabetlearning - everywhereMatthew Lemon2024-10-1541-0/+2242