Kaynağa Gözat

auto commit

master
jfinn 8 ay önce
ebeveyn
işleme
7a85c9ec3c

+ 1
- 1
edan_v1/edan_v1/settings.py Dosyayı Görüntüle

@@ -41,7 +41,7 @@ CSRF_TRUSTED_ORIGINS =["https://*.edanflor.com"]
41 41
 
42 42
 INSTALLED_APPS = [
43 43
     
44
-    'daphne',
44
+    # 'daphne',
45 45
     'channels',
46 46
     "hrld",
47 47
 

+ 4
- 8
src/oscar/apps/search/views/catalogue.py Dosyayı Görüntüle

@@ -13,7 +13,7 @@ CategoryForm = get_class("search.forms", "CategoryForm")
13 13
 BaseSearchView = get_class("search.views.base", "BaseSearchView")
14 14
 Category = get_model("catalogue", "Category")
15 15
 
16
-import traceback
16
+
17 17
 class CatalogueView(BaseSearchView):
18 18
     """
19 19
     Browse all products in the catalogue
@@ -26,13 +26,9 @@ class CatalogueView(BaseSearchView):
26 26
 
27 27
     def get(self, request, *args, **kwargs):
28 28
         try:
29
-            try:
30
-                # do_stuff()
31
-                raise "q"
32
-            except Exception as e:
33
-                # print(traceback.format_exc())
34
-                print(traceback.print_exception(e))
35
-
29
+            print("GET CAT")
30
+            
31
+            print(traceback.print_stack())
36 32
             return super().get(request, *args, **kwargs)
37 33
         except Http404:
38 34
             # Redirect to page one.

Loading…
İptal
Kaydet