summaryrefslogtreecommitdiff
path: root/docs/internals/contributing
diff options
context:
space:
mode:
Diffstat (limited to 'docs/internals/contributing')
-rw-r--r--docs/internals/contributing/writing-code/submitting-patches.txt7
-rw-r--r--docs/internals/contributing/writing-code/unit-tests.txt7
2 files changed, 13 insertions, 1 deletions
diff --git a/docs/internals/contributing/writing-code/submitting-patches.txt b/docs/internals/contributing/writing-code/submitting-patches.txt
index b51ac0d906..a90dc32605 100644
--- a/docs/internals/contributing/writing-code/submitting-patches.txt
+++ b/docs/internals/contributing/writing-code/submitting-patches.txt
@@ -52,8 +52,15 @@ and time availability), claim it by following these steps:
page,
2. then click "Submit changes."
+.. note::
+ The Django software foundation requests that anyone contributing more than
+ a trivial patch to Django sign and submit a `Contributor License
+ Agreement`_, this ensures that the Django Software Foundation has clear
+ license to all contributions allowing for a clear license for all users.
+
.. _Create an account: https://www.djangoproject.com/accounts/register/
.. _password reset page: https://www.djangoproject.com/accounts/password/reset/
+.. _Contributor License Agreement: https://www.djangoproject.com/foundation/cla/
Ticket claimers' responsibility
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
diff --git a/docs/internals/contributing/writing-code/unit-tests.txt b/docs/internals/contributing/writing-code/unit-tests.txt
index a828b06b36..4e702ff83e 100644
--- a/docs/internals/contributing/writing-code/unit-tests.txt
+++ b/docs/internals/contributing/writing-code/unit-tests.txt
@@ -9,7 +9,8 @@ The tests cover:
* Models and the database API (``tests/modeltests``),
* Everything else in core Django code (``tests/regressiontests``),
-* :ref:`contrib-apps` (``django/contrib/<app>/tests``).
+* :ref:`contrib-apps` (``django/contrib/<app>/tests`` or
+ ``tests/regressiontests/<app>_...``).
We appreciate any and all contributions to the test suite!
@@ -38,6 +39,8 @@ with this sample ``settings`` module, ``cd`` into the Django
If you get an ``ImportError: No module named django.contrib`` error,
you need to add your install of Django to your ``PYTHONPATH``.
+.. _running-unit-tests-settings:
+
Using another ``settings`` module
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
@@ -133,6 +136,8 @@ Then, run the tests normally, for example:
./runtests.py --settings=test_sqlite admin_inlines
+.. _running-unit-tests-dependencies:
+
Running all the tests
~~~~~~~~~~~~~~~~~~~~~