* Update pytest versions
* Ignore deprecation warnings from coreapi
* ignore coreapi deprecation warnings during test startup
* Use pytest directly in tox and relax version pins
* removed requirements txt files
* Updated Testing section from Contributing.md
* updated command to install dependencies for documentation in CI
* updated tox.ini
* build: Adopt PEP 735 for development dependency management
* Update installation commands for dependency groups in tox.ini and main.yml
* update installation command in testing section of contributing docs
* Clean up old `requirements text files` references in workflows and docs
* Removed references to `requirements.txt` in GitHub Actions workflows.
* Updated `mkdocs-deploy.yml` and `main.yml` to install dependencies using `pyproject.toml`.
* Cleaned up documentation to remove mentions of the `requirements` folder.
* Fix invalid pyproject.toml
Project's URLs should be in the [project] table
* Keep full versions in package groups
* Specify all tox deps as dependency groups
---------
Co-authored-by: Bruno Alla <alla.brunoo@gmail.com>
* Add copy button to code blocks for improved documentation usability
* Add copy button to code blocks for improved documentation usability
* Add copy button to code blocks for improved documentation usability
* Make "Copy" button smaller
---------
Co-authored-by: Bruno Alla <alla.brunoo@gmail.com>
- Add test_data_cannot_be_accessed_prior_to_is_valid to HyperlinkedManyToManyTests
- Add test_data_cannot_be_accessed_prior_to_is_valid to PKManyToManyTests
- Remove TODO comments that were addressed
- Ensures AssertionError is raised when accessing .data before validation
Fixes TODO items in:
- tests/test_relations_hyperlink.py (line 71)
- tests/test_relations_pk.py (line 97)
Co-authored-by: therealjozbert <info@therealjozbert.com>
Co-authored-by: Asif Saif Uddin {"Auvi":"অভি"} <auvipy@gmail.com>
* Add django-lisan to third-party packages
* Update django-lisan entry in third-party packages documentation to include a reference link
* Remove inline link
* Replace NBSP by actual spaces
---------
Co-authored-by: Bruno Alla <alla.brunoo@gmail.com>
- Respect USERNAME_FIELD of the user model.
- Default ordering by username.
- Filter by creation date.
Co-authored-by: Asif Saif Uddin {"Auvi":"অভি"} <auvipy@gmail.com>
* adding django6.0a support
* test fixed
* gitignore updated
* pre-commit applied
* test issue 1386 fixed
* fixing test issue 1386
* .gov domain handled for different version
* correct urls updated
* Modify URL test cases for Django version compatibility
Adjust URL test cases based on Django version.
* Add Django import to test_templatetags.py
* Reorder import statements in test file
* Update tox.ini
* Update tox.ini
* Revert unnecessary changes in tests
* Default to AutoField for now
* Add Django upper bound to base and dist tests to avoid testing on unsupported versions
---------
Co-authored-by: Asif Saif Uddin {"Auvi":"অভি"} <auvipy@gmail.com>
Co-authored-by: Bruno Alla <alla.brunoo@gmail.com>
* Add axiom-drf-py package to 3rd party drf packages
Add axiom-drf-py package to 3rd party drf packages
* Update permissions.md to include axioms-drf-py
Added information about axioms-drf-py package for authentication and authorization.
* Add axiom-drf-py to third-party packages list
* Add validation for decorator order with @api_view
Raise TypeError when API policy decorators (@permission_classes,
@renderer_classes, etc.) are applied after @api_view instead of before it.
Fixes#9596
* Address PR review feedback: update error message wording and example
- Change 'must be applied before' to 'must come after (below) the' to match DRF docs language
- Fix decorator order in example to show @api_view first, then policy decorator below
- Remove unnecessary f-string prefixes from non-interpolated lines
- Update all test assertions to match new error message wording
Addresses feedback from @browniebroke in PR #9821