Allie
3e51ba4d51
Update documentation on dependency installation ( #8566 )
...
We depend on pytz, but until late last year we got it implicitly through
depending on Django. Since their release 4.0, however, they no longer
depend on pytz; commit 250479dc3
added the dependency directly to our
metadata in setup.py, but the documentation about dependencies (most
importantly, the instructions for new contributors) was left untouched.
This commit updates the new contributor instructions to suggest an
"editable installation" of the project at the step that previously had
users manually install Django. In this mode, pip fetches and installs
the project dependencies automatically (so in the unlikely event we grow
another dependency, that doc doesn't need to be changed again) and makes
the project available to the virtualenv's python as a normal package,
but doesn't require reinstallation for mundane edits.
2022-09-27 13:54:52 +01:00
Adam Johnson
aa12a5f967
Lint with pre-commit ( #7900 )
...
Following [my comment here](https://github.com/encode/django-rest-framework/pull/7589#issuecomment-813301322 ) and [Django's own move to pre-commit](https://docs.djangoproject.com/en/dev/internals/contributing/writing-code/coding-style/#pre-commit-checks ).
* Add pre-commit config file to run flake8 and isort.
* Add extra "common sense" hooks.
* Run pre-commit on GitHub actions using the [official action](https://github.com/pre-commit/action/ ). This is a good way to get up-and-running but it would be better if we activated [pre-commit.ci](https://pre-commit.ci/ ), which is faster and will auto-update the hooks for us going forwards.
* Remove `runtests.py` code for running linting tools.
* Remove `runtests.py --fast` flag, since that would now just run `pytest -q`, which can be done with `runtests.py -q` instead.
* Remove tox configuration and requirements files for linting.
* Update the contributing guide to mention setting up pre-commit.
2021-04-05 12:08:52 +01:00
Min ho Kim
ec1b14174f
Fixed typos ( #6872 )
2019-08-14 14:39:45 -07:00
Florian Hoornaar
1b5bc07d4c
Fix typos in comments
2015-08-19 03:55:39 +02:00
Tom Christie
9f4f9c9c9f
Single source of truth for requirements
2015-02-17 12:46:55 +00:00
Tom Christie
fbb21caaaa
Merge master
2015-02-09 20:43:50 +00:00
Xavier Ordoquy
750d0c9f2b
Add Twine to the requirements.
2015-02-06 13:57:08 +01:00
Xavier Ordoquy
238a3b507b
Add Twine to the requirements.
2015-02-06 13:50:40 +01:00
Tom Christie
4ee4b4f2dc
Merge master
2015-01-30 14:00:25 +00:00
Carlton Gibson
790c92d438
Update Django-Filter references in docs and requirements.
2015-01-23 15:22:20 +01:00
Tom Christie
6065cdbd93
Merge master
2015-01-19 15:16:57 +00:00
David Muller
00449dc42c
Bump pytest version to 2.6.4
2015-01-18 13:56:52 -08:00
David Muller
7c0d14a6d5
Bump pytest-django version to 2.8.0
2015-01-18 13:55:53 -08:00
Tom Christie
4ea1402916
Merge master
2014-12-18 12:24:16 +00:00
Tom Christie
af0f042462
Add pinned versions of wheels and mkdocs to our dev requirements.
2014-12-18 11:53:11 +00:00
Tom Christie
26131a7aea
Fix dependancies
2014-12-12 15:59:11 +00:00
José Padilla
bc0c25df30
Consolidate Django and test requirements
2014-12-01 17:31:11 -04:00
Tom Christie
d1fe61ce94
Fix requirements. Closes #2170 .
2014-12-01 17:05:11 +00:00
Tom Christie
4207d44531
Update requirements.txt
2014-09-05 13:19:47 +01:00
Tom Christie
87dae4d854
Remove old 'djangorestframework directories
2012-09-20 13:19:43 +01:00
Tom Christie
578017e01d
New docs
2012-08-29 20:57:37 +01:00
Jamie Matthews
18535c7a38
Preserve existing query params in PaginatorMixin
...
Previously, generation of next/previous links would discard any existing
query parameters. This commit introduces a dependency on URLObject, which
is used to intelligently parse and modify URLs to ensure existing params
are preserved.
Addresses issues #107
2012-01-05 14:07:31 +00:00
Tom Christie
28ccabf165
Use coverage>=3.4, since that's what we've got in tox.ini at the moment. Refs #96
2011-12-15 16:22:10 +00:00
Tom Christie
83910ff7a4
Update requirements. Refs #96
2011-12-15 16:20:37 +00:00
Tom Christie
67b13bd1bc
More general requirements.
2011-12-14 20:11:02 +00:00
Tom Christie
f7b7778a79
pull in markos changes, minor tweaks to yaml stuff
2011-07-01 17:44:08 +01:00
markotibold
f67c0651ba
syncing dependencies.
2011-06-26 02:58:42 +02:00
markotibold
d417a1a20a
moved from examples/requirements.txt to main requirements.txt
2011-06-26 01:41:15 +02:00
markotibold
8cab127c2a
some restyling and updated requirements.txt for yaml support
2011-06-26 01:38:56 +02:00
tom christie tom@tomchristie.com
e7fd0cf244
Add coverage to requirements
2011-03-17 08:36:22 +00:00
tom christie tom@tomchristie.com
805aa03ec1
Yowzers. Final big bunch of refactoring for 0.1 release. Now support Django 1.3's views, admin style api is all polished off, loads of tests, new test project for running the test. All sorts of goodness. Getting ready to push this out now.
2011-02-19 10:26:27 +00:00
tom christie tom@tomchristie.com
42f2f9b40d
Rename to django-rest-framework, get simpleexample working
2011-01-30 18:30:39 +00:00
tom christie tom@tomchristie.com
650111dc8c
Initial commit of all files to the repository.
2010-12-29 19:37:57 +00:00