Add Note for async workers with Django

Django lazy loads URLConf during the first request.
This commit is contained in:
K Subramanian 2014-10-29 16:39:45 +05:30 committed by Randall Leeds
parent 3bffef06c2
commit d203d022f5

View File

@ -137,3 +137,13 @@ this queue new connections will eventually start getting dropped.
::
$ sudo sysctl -w net.core.somaxconn="2048"
Troubleshooting
===============
How do I fix Django reporting an ``ImproperlyConfigured`` error?
----------------------------------------------------------------
With asynchronous workers, creating URLs with the ``reverse`` function of
``django.core.urlresolvers`` may fail. Use ``reverse_lazy`` instead.