* Improve PageNumberPagination docs by adding page_query_param customization example
* Improve pagination accessibility by adding aria attributes and rel navigation hints
* Revert template changes; moved to separate accessibility PR
* Apply suggestion from @Copilot
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
---------
Co-authored-by: Asif Saif Uddin {"Auvi":"অভি"} <auvipy@gmail.com>
Co-authored-by: Bruno Alla <browniebroke@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* Switch to mkdocs material theme
* Add logo
* Style badges on homepage
* Basic dark theme
* Enable a few theme features
* Customise large logo for dark theme
* CSS tweaks
* Add background grid back
* Switch to mkdocs material theme
* Add logo
* Style badges on homepage
* Basic dark theme
* Add syntax highlighting to code snippets
* Convert homepage snippets to code fences
* Update homepage logos
* Move mkdocs-material to pyproject.toml docs group
* Keep existing syntax highlighting
* Remove old docs_theme folder
* Tweak syntax highlighting colors on dark theme
* Add readthedocs config file
* Fix end of file empty lines
* Upgrade pip during install
* Remove custom styling for .prettyprint
* Remove .prettyprint border entirely
* Make tabs sticky in navbar
* Merge page ToC with navigation
* Tweak colors for more accessible contrast
* Add Figma file for the logos
* Apply suggestion from @Copilot
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* Adjust styles for badges
* Enable content tabs for OS specific instructions
https://squidfunk.github.io/mkdocs-material/reference/content-tabs/
* Add icons for content tabs
* Standardize on .venv for virtualenv name in docs
* Add note about bash for Windows
---------
Co-authored-by: Asif Saif Uddin {"Auvi":"অভি"} <auvipy@gmail.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* fix: MultipleChoiceField use ordered sort
(cherry picked from commit 8436483e66af3d1317d99335b7fae95c1f58d13a)
* test: fix unit tests
(cherry picked from commit 6428ac4a05f4a33eb0813cc56d584f56e7bfac89)
* test: test TestMultipleChoiceField can json serializable
(cherry picked from commit 12908b149c446598682269f8df78290fa8268982)
* test: fix unit test
(cherry picked from commit 73a709c4b04ae510d61f2d426f93f6aef98b09fd)
* minor: rest old formatting
* fix: using pytest.fail to test
* Update test_fields.py
* Update test_fields.py
* Update test_fields.py
* test: add test cases
* docs: update docs
* Update docs/api-guide/fields.md
* Skip inner list allocation
* Fix punctuation
---------
Co-authored-by: Asif Saif Uddin {"Auvi":"অভি"} <auvipy@gmail.com>
Co-authored-by: Bruno Alla <browniebroke@users.noreply.github.com>
Co-authored-by: Bruno Alla <alla.brunoo@gmail.com>
Co-authored-by: Bruno Alla <browniebroke@users.noreply.github.com>
Co-authored-by: Asif Saif Uddin {"Auvi":"অভি"} <auvipy@gmail.com>
Co-authored-by: Bruno Alla <alla.brunoo@gmail.com>
* 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>