| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
- credentials are in the .env file
- uses the mailgun http API to send verification messages
|
| |
|
|
|
|
|
|
|
|
| |
- 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
|
| |
|
| |
|
| |
|
| |
|
|\ |
|
| | |
|
|/ |
|
|
|
|
| |
- also some formatting changes
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
Includes the DATABASE_URL in the local settings.
Linting changes.
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
| |
|
|
|
|
| |
https://github.com/cookiecutter/cookiecutter-django/issues/2902
|
| |
|
|
|