aboutsummaryrefslogtreecommitdiffstats
path: root/config/settings/local.py (follow)
Commit message (Collapse)AuthorAgeFilesLines
* local dev docker config tweakMatthew Lemon5 days1-1/+1
|
* Major refactoring and removal of junkMatthew Lemon10 days1-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.
* wip: working on ratelimit - not quite working in the browserMatthew Lemon2024-12-081-6/+6
|
* wip: sorting out the email sendingMatthew Lemon2024-12-081-8/+8
|
* Email verificationMatthew Lemon2024-12-041-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
* Some tidying onlyMatthew Lemon2024-06-221-0/+2
| | | | | | Includes the DATABASE_URL in the local settings. Linting changes.
* Remove django-extensionsMatthew Lemon2024-05-281-0/+69
|
* Should be a buildable Django containerMatthew Lemon2024-05-281-70/+0
|
* Remove django-extensionsMatthew Lemon2024-05-271-1/+1
|
* Trying to remove django_toolbar - also removes whitenose settingsMatthew Lemon2024-05-271-8/+7
|
* Switched off buggy aspect of debug toolbarMatthew Lemon2024-05-151-1/+1
| | | | https://github.com/cookiecutter/cookiecutter-django/issues/2902
* After first pre-commit processingMatthew Lemon2024-05-131-0/+71