aboutsummaryrefslogtreecommitdiffstats
path: root/config/settings/local.py (unfollow)
Commit message (Collapse)AuthorFilesLines
5 dayslocal dev docker config tweakMatthew Lemon1-1/+1
10 daysMajor refactoring and removal of junkMatthew Lemon1-4/+0
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.
2024-12-08wip: working on ratelimit - not quite working in the browserMatthew Lemon1-6/+6
2024-12-08wip: sorting out the email sendingMatthew Lemon1-8/+8
2024-12-04Email verificationMatthew Lemon1-2/+13
- 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-06-22Some tidying onlyMatthew Lemon1-0/+2
Includes the DATABASE_URL in the local settings. Linting changes.
2024-05-28Remove django-extensionsMatthew Lemon1-0/+0
2024-05-28Should be a buildable Django containerMatthew Lemon1-1/+0
2024-05-27Remove django-extensionsMatthew Lemon1-1/+1
2024-05-27Trying to remove django_toolbar - also removes whitenose settingsMatthew Lemon1-8/+7
2024-05-15Switched off buggy aspect of debug toolbarMatthew Lemon1-1/+1
https://github.com/cookiecutter/cookiecutter-django/issues/2902