aboutsummaryrefslogtreecommitdiffstats
path: root/docs/howto
diff options
context:
space:
mode:
Diffstat (limited to 'docs/howto')
-rw-r--r--docs/howto/setup.rst7
-rw-r--r--docs/howto/usingcurl.rst6
2 files changed, 12 insertions, 1 deletions
diff --git a/docs/howto/setup.rst b/docs/howto/setup.rst
index e59ea90e..b4fbc037 100644
--- a/docs/howto/setup.rst
+++ b/docs/howto/setup.rst
@@ -3,6 +3,13 @@
Setup
=====
+Installing into site-packages
+-----------------------------
+
+If you need to manually install Django REST framework to your ``site-packages`` directory, run the ``setup.py`` script::
+
+ python setup.py install
+
Template Loaders
----------------
diff --git a/docs/howto/usingcurl.rst b/docs/howto/usingcurl.rst
index e7edfef9..2ad2c764 100644
--- a/docs/howto/usingcurl.rst
+++ b/docs/howto/usingcurl.rst
@@ -23,4 +23,8 @@ There are a few things that can be helpful to remember when using CURL with djan
#. Or any other content type::
- curl -X PUT -H 'Content-Type: application/json' --data-binary '{"foo":"bar"}' http://example.com/my-api/some-resource/ \ No newline at end of file
+ curl -X PUT -H 'Content-Type: application/json' --data-binary '{"foo":"bar"}' http://example.com/my-api/some-resource/
+
+#. You can use basic authentication to send the username and password::
+
+ curl -X GET -H 'Accept: application/json' -u <user>:<password> http://example.com/my-api/ \ No newline at end of file