add faq entry for 401 errors for users who do not load test data
parent
9af703e128
commit
fc0e422fbb
11
docs/faq.rst
11
docs/faq.rst
|
@ -54,6 +54,17 @@ Of course, replacing `MOCK_MODULES` with the modules that you want to mock out.
|
|||
|
||||
from mock import Mock as MagicMock
|
||||
|
||||
My server gives a 401 error when building documentation
|
||||
----------------------------------------------------------
|
||||
|
||||
This error is a result of SLUMBER not having access to a database superuser account. You can fix this by loading test data::
|
||||
|
||||
./manage.py loaddata test_data
|
||||
|
||||
If you'd prefer not to install test data, you'll need to create a database account for SLUMBER to use. You can provide these credentials by editing the following variables::
|
||||
|
||||
SLUMBER_USERNAME = 'test'
|
||||
SLUMBER_PASSWORD = 'test'
|
||||
|
||||
Can I make search engines only see one version of my docs?
|
||||
----------------------------------------------------------
|
||||
|
|
Loading…
Reference in New Issue