Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Doc fixes #151

Closed
wants to merge 5 commits into from

2 participants

@malcolmt

Two errors that were spat out as I ran "make html". The one using more verbose English to get around a problem with " ApiKeys" is due to a limitation in docutils: it wants the closing literal marker to be followed by a whitespace.

(Ignore the fact that this is trying to pull five commits. They're mostly merges. You just need the final one. Can't convince github to let me say that; guess it wants something that isn't a pull request or I should clean up my branch a bit.)

@toastdriven
Owner

Thanks! Fixed in SHA: 44cd2ae

@toastdriven
Owner

Works better when I'm not being a moron. :/ Fixed in SHA: c659163

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
This page is out of date. Refresh to see the latest.
Showing with 3 additions and 3 deletions.
  1. +3 −3 docs/authentication_authorization.rst
View
6 docs/authentication_authorization.rst
@@ -68,8 +68,8 @@ As an alternative to requiring sensitive data like a password, the
machine-generated api key. Tastypie ships with a special ``Model`` just for
this purpose, so you'll need to ensure ``tastypie`` is in ``INSTALLED_APPS``.
-Tastypie includes a signal function you can use to auto-create ``ApiKey``s.
-Hooking it up looks like::
+Tastypie includes a signal function you can use to auto-create ``ApiKey``
+objects. Hooking it up looks like::
from django.contrib.auth.models import User
from django.db import models
@@ -78,7 +78,7 @@ Hooking it up looks like::
models.signals.post_save.connect(create_api_key, sender=User)
``DigestAuthentication``
-~~~~~~~~~~~~~~~~~~~~~~~
+~~~~~~~~~~~~~~~~~~~~~~~~~
This authentication scheme uses HTTP Digest Auth to check a user's
credentials. The username is their ``django.contrib.auth.models.User``
Something went wrong with that request. Please try again.