aboutsummaryrefslogtreecommitdiffstats
path: root/config/settings/base.py (unfollow)
Commit message (Collapse)AuthorFilesLines
10 daysMajor refactoring and removal of junkMatthew Lemon1-45/+31
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.
10 daysRemoved Mailgun - all of itv.0.1-funnelMatthew Lemon1-4/+0
2024-12-09wip: moving home page to home app and implementing reCAPTCHAMatthew Lemon1-0/+5
2024-12-08wip: working on ratelimit - not quite working in the browserMatthew Lemon1-0/+7
2024-12-08Uses Mailgun for production and local settingsMatthew Lemon1-0/+3
- credentials are in the .env file - uses the mailgun http API to send verification messages
2024-12-04Email verificationMatthew Lemon1-1/+1
- Associated changes in the .env file now allow us to test the SMTP server config - Added mine and J's email ad admins - Grab env variables from the .env file in the local.py file for testing purposes - Set an expiry of 24hrs for the validation link to work - Added an HTML version of the verification email
2024-10-17skeleton webhook for stripe workingMatthew Lemon1-0/+1
2024-10-15Renamed from pyblackbird_cc to alphabetlearning - everywhereMatthew Lemon1-13/+12
2024-09-08wip: implementing checkoutMatthew Lemon1-0/+5
- also some formatting changes
2024-08-02Switch off mandatory email validation for now.Matthew Lemon1-2/+2
2024-08-01Switch on console output for email for testing.Matthew Lemon1-2/+3
2024-05-28Fixed incorrect AWS URLMatthew Lemon1-1/+1
2024-05-28Should be a buildable Django containerMatthew Lemon1-30/+30
2024-05-27Removes most celery, storages and sentry configMatthew Lemon1-62/+63
Comments out in the settings files. Leaves a couple of imports of celery, but we're not removing the requirements on celery so should be fine, it will be installed. Comments out storages and sentry code. Leaves it all in Dockerfile and compose, but this change is aimed at getting Django running WITHOUT docker and compose.
2024-05-16formatting onlyMatthew Lemon1-1/+1
2024-05-15Removes email validation for allauth for local devMatthew Lemon1-1/+1
2024-05-14Can now upload to SpacesMatthew Lemon1-0/+32