Add missing constraint.
[wolnelektury.git] / src / lesmianator / views.py
index e179c14..b4cbf69 100644 (file)
@@ -16,7 +16,7 @@ def main_page(request):
 
     return render(
         request,
 
     return render(
         request,
-        'lesmianator/lesmianator.html',
+        'lesmianator/2022/lesmianator.html' if request.EXPERIMENTS['layout'].value else 'lesmianator/lesmianator.html',
         {"last": last, "shelves": shelves})
 
 @cache.never_cache
         {"last": last, "shelves": shelves})
 
 @cache.never_cache