Permalink
Browse files

Added docs on failing syncdbs. Thanks to easel for the original patch!

  • Loading branch information...
1 parent 895a56d commit 91ed855267852b3e0868fd61d470dd5d185fcb46 @toastdriven toastdriven committed Mar 30, 2012
Showing with 16 additions and 0 deletions.
  1. +1 −0 AUTHORS
  2. +15 −0 docs/debugging.rst
View
@@ -41,6 +41,7 @@ Contributors:
* philipn (Philip Neustrom) for GeoDjango integration.
* dgerzo (Daniel Gerzo) for GeoDjango integration and work on PATCH and related fields.
* ipmb (Peter Baumgartner) for a patch regarding the order of object saves.
+* easel for a documentation patch on failing syncdbs.
Thanks to Tav for providing validate_jsonp.py, placed in public domain.
View
@@ -70,3 +70,18 @@ You can do this over an entire collection as well::
curl -H 'Content-Type: application/json' -X PUT --data @- "http://localhost:8000/api/v1/entry/"
.. _Requests: http://python-requests.org
+
+
+"Why is my syncdb with superuser failing with a DatabaseError?"
+===============================================================
+
+More specifically, this specific ``DatabaseError``::
+
+ django.db.utils.DatabaseError: no such table: tastypie_apikey
+
+This is a side effect of the (disabled by default) ``create_api_key`` signal
+as described in the :ref:`authentication_authorization` section of the
+documentation when used in conjunction with South.
+
+To work around this issue, you can disable the ``create_api_key`` signal
+until you have completed running ``syncdb --migrate`` for the first time.

0 comments on commit 91ed855

Please sign in to comment.