summaryrefslogtreecommitdiff
path: root/docs/internals/contributing/writing-code
diff options
context:
space:
mode:
authorAndrew Godwin <andrew@aeracode.org>2012-12-18 09:02:07 +0000
committerAndrew Godwin <andrew@aeracode.org>2012-12-18 09:02:07 +0000
commitb62e82365ad56ca930f7abb1d1dbdf9ce5a7c7c3 (patch)
tree76bce44f4c7ee6172dcf116be6e4a26e380ef20a /docs/internals/contributing/writing-code
parent6a632e04578776e877adc5e2dc53f008c890a0d4 (diff)
parentc64b57d16688025b2d48668d5c4cb9eda7484612 (diff)
Merge remote-tracking branch 'core/master' into schema-alteration
Conflicts: django/db/models/loading.py django/db/models/options.py
Diffstat (limited to 'docs/internals/contributing/writing-code')
-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
~~~~~~~~~~~~~~~~~~~~~