Skip to content

feat: Update to Django 4+ and add README #1

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

stripathi669
Copy link
Collaborator

This commit updates the project to Django 4.2 and related dependencies, including migrating from djangorestframework-jwt to djangorestframework-simplejwt.

Key changes include:

  • Updated requirements.txt with Django>=4.0,<5.0 and compatible versions of DRF, SimpleJWT, and other packages.
  • Modified Django settings (settings.py, urls.py) to be compatible with Django 4.x and rest_framework_simplejwt.
  • Updated application code (registration/models.py, registration/views.py) for Django 4.x and rest_framework_simplejwt, including on_delete for ForeignKeys and token generation logic.
  • Ensured migrations run correctly and the tests (though currently empty) execute without errors.
  • Created a new README.md file with comprehensive instructions for project setup, running the development server, and details about available API endpoints.

This commit updates the project to Django 4.2 and related dependencies, including migrating from `djangorestframework-jwt` to `djangorestframework-simplejwt`.

Key changes include:
- Updated `requirements.txt` with Django>=4.0,<5.0 and compatible versions of DRF, SimpleJWT, and other packages.
- Modified Django settings (`settings.py`, `urls.py`) to be compatible with Django 4.x and `rest_framework_simplejwt`.
- Updated application code (`registration/models.py`, `registration/views.py`) for Django 4.x and `rest_framework_simplejwt`, including `on_delete` for ForeignKeys and token generation logic.
- Ensured migrations run correctly and the tests (though currently empty) execute without errors.
- Created a new `README.md` file with comprehensive instructions for project setup, running the development server, and details about available API endpoints.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant