From d203d022f544b5f3beab759d4cc93482ef1adc79 Mon Sep 17 00:00:00 2001 From: K Subramanian Date: Wed, 29 Oct 2014 16:39:45 +0530 Subject: [PATCH] Add Note for async workers with Django Django lazy loads URLConf during the first request. --- docs/source/faq.rst | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/docs/source/faq.rst b/docs/source/faq.rst index 3e3d75fd..c397a435 100644 --- a/docs/source/faq.rst +++ b/docs/source/faq.rst @@ -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.