Skip to content

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