Commit Graph

8828 Commits

Author SHA1 Message Date
mostafaei2002
ccb66221bd fix: generate new colors for code on dark theme with mistral AI 2024-05-19 18:57:45 +03:30
mostafaei2002
42d1515b17 fix: fix small theming issues 2024-05-19 18:54:30 +03:30
mostafaei2002
77291fe07b feat: add dark theme 2024-05-18 13:49:55 +03:30
mostafaei2002
8d18f20d09 fix: update navbar buttons location 2024-05-18 12:59:06 +03:30
mostafaei2002
2ff176aa71 fix: update sidenav styles 2024-05-18 12:51:52 +03:30
mostafaei2002
0f41e086a6 fix: restore removed function 2024-05-18 12:47:36 +03:30
mostafaei2002
21f478c548 fix: improve navbar button, add icons 2024-05-18 12:46:20 +03:30
mostafaei2002
45b096329e fix: update main content column widths 2024-05-18 12:36:31 +03:30
mostafaei2002
0c860959a8 fix: remove mkdocs headerlinks 2024-05-18 12:34:55 +03:30
mostafaei2002
d51937b015 fix: fix images on mobile 2024-05-18 12:33:54 +03:30
mostafaei2002
8b2d4a881e fix: fix scroll to headings & remove unnecessary scripts 2024-05-18 12:32:27 +03:30
mostafaei2002
a10a198aae fix: setup prettyprint 2024-05-16 10:38:09 +03:30
mostafaei2002
e1f1c9e3ac fix: update more styleS 2024-05-16 10:02:53 +03:30
mostafaei2002
457be6ca6c feat: update navbar styles and add bootstrap classes 2024-05-15 12:52:54 +03:30
mostafaei2002
80cc6b8066 fix: enable hot reloading with mkdocs 2024-05-15 12:41:22 +03:30
mostafaei2002
5be3eeb9ae fix: fix minor style import 2024-05-15 12:03:13 +03:30
mostafaei2002
8c110cf6f3 feat: setup webpack dev env for bootstrap 2024-05-15 11:44:47 +03:30
mostafaei2002
c71ac9456b fix: remove old files 2024-05-15 11:34:36 +03:30
mostafaei2002
5102d46931 feat: install bootstrap on npm 2024-05-15 10:51:49 +03:30
mostafaei2002
a97f1a8f5c feat: add package.json 2024-05-14 11:42:06 +03:30
mostafaei2002
aa3583a83b fix: update footer 2024-05-14 11:23:19 +03:30
mostafaei2002
fb6210066f fix: move scripts to end of page 2024-05-14 11:23:19 +03:30
mostafaei2002
4f7f4ab054 fix: update side nav 2024-05-14 11:23:19 +03:30
mostafaei2002
e294ad7a70 fix: move modal code, update main-content classes 2024-05-14 11:23:19 +03:30
mostafaei2002
736f378b3e fix: navbar dropdown urls 2024-05-14 11:23:19 +03:30
mostafaei2002
f75a6526a2 fix: remove commented out code old navbar 2024-05-14 11:23:19 +03:30
mostafaei2002
4106ff080b feat: add search modal 2024-05-14 11:23:19 +03:30
mostafaei2002
44dd71c7c7 fix: change search form to search modal btn 2024-05-14 11:23:19 +03:30
mostafaei2002
ea66c941bb feat: add new navbar base HTML 2024-05-14 11:23:19 +03:30
mostafaei2002
db00ca7506 feat: remove old src tags and add new 2024-05-14 11:23:19 +03:30
mostafaei2002
f4ffee1f59 feat: add venv/ to .gitignore 2024-05-12 20:06:41 +03:30
Stanislav Levin
36d5c0e74f
tests: Check urlpatterns after cleanups (#9400)
According to docs:
https://docs.python.org/3/library/unittest.html#unittest.TestCase.addClassCleanup

> Add a function to be called after tearDownClass() to cleanup resources
  used during the test class. Functions will be called in reverse order to
  the order they are added (LIFO).

This was revealed with recent change in pytest (`8.2.0`):
> pytest-dev/pytest#11728: For unittest-based tests, exceptions during
  class cleanup (as raised by functions registered with
  TestCase.addClassCleanup) are now reported instead of silently failing.

`check_urlpatterns` is called before `cleanup_url_patterns` and fails
(problem was hidden by `pytest < 8.2.0`).

`doClassCleanups` can be used instead to check after-cleanup state:

https://docs.python.org/3/library/unittest.html#unittest.TestCase.doClassCleanups

> This method is called unconditionally after tearDownClass(), or after
  setUpClass() if setUpClass() raises an exception.

  It is responsible for calling all the cleanup functions added by
  addClassCleanup(). If you need cleanup functions to be called prior to
  tearDownClass() then you can call doClassCleanups() yourself.

Fixes: https://github.com/encode/django-rest-framework/issues/9399

Signed-off-by: Stanislav Levin <slev@altlinux.org>
2024-05-07 13:05:03 +06:00
Peter Thomassen
9d4ed054bf
Don't use Windows line endings 2024-04-30 18:28:27 +02:00
Peter Thomassen
b34bde47d7
Fix typo in setup.cfg setting 2024-04-30 18:28:26 +02:00
Peter Thomassen
ab681f2d5e
Update requirements in docs 2024-04-30 18:28:25 +02:00
Peter Thomassen
22377241a8
bump pygments (security hygiene)
Addresses https://github.com/encode/django-rest-framework/security/dependabot/9
2024-04-30 18:28:24 +02:00
Peter Thomassen
d58b8da591
Update deprecation hints 2024-04-30 18:28:23 +02:00
Peter Thomassen
d38aab39e4
Remove unused code 2024-04-30 18:28:22 +02:00
Peter Thomassen
82d91a85ff
Fix tox config 2024-04-30 18:28:21 +02:00
Peter Thomassen
1f2daaf53c
Drop support for Django < 4.2 and Python < 3.8
Discussion: https://github.com/encode/django-rest-framework/discussions/8814#discussioncomment-9237791
2024-04-30 18:28:19 +02:00
Peter Thomassen
91bbac1f67
bump mkdocs, no longer need to pin jinja2
Addresses https://github.com/encode/django-rest-framework/security/dependabot/11
2024-04-30 18:28:04 +02:00
Peter Thomassen
7900778fbe
Remove obsolete sentence from docs 2024-04-30 18:24:23 +02:00
Peter Thomassen
861b7ac42b
Adapt issue/PR template to better reflect contribution policy 2024-04-30 18:24:22 +02:00
Peter Thomassen
52bfe20dec
Adapt docs to reflect stability-focused contribution policy 2024-04-30 18:24:21 +02:00
Peter Thomassen
f642d85be2
Fix docs typo 2024-04-30 18:24:20 +02:00
Peter Thomassen
430de731e7
Clean up project management docs 2024-04-30 18:24:19 +02:00
Terence Honles
e596f43c4e
use warnings rather than logging a warning for DecimalField warnings (#9367) 2024-04-27 17:15:06 +06:00
Max Muoto
7f18ec1b53
Revert "Ensure CursorPagination respects nulls in the ordering field (#8912)" (#9381)
This reverts commit b1cec517ff.
2024-04-27 17:07:05 +06:00
Tom Christie
f96c065607
Update README.md (#9375)
Drop unnecessary self-serving promo text. (blergh) 😅
2024-04-27 16:58:44 +06:00
Jakub Szaredko
97c5617edc
Docs: Add Python 3.12 to the requirements (#9382) 2024-04-27 16:57:48 +06:00