be more robust
[wolnelektury.git] / apps / waiter / settings.py
index f75edfe..fef4a7e 100644 (file)
@@ -10,3 +10,9 @@ try:
     WAITER_URL = settings.WAITER_URL
 except AttributeError:
     WAITER_URL = join(settings.MEDIA_URL, 'waiter')
+
+try:
+    WAITER_MAX_QUEUE = settings.WAITER_MAX_QUEUE
+except AttributeError:
+    WAITER_MAX_QUEUE = 20
+