David Winterbottom пре 12 година
родитељ
комит
e2bfdbfb29
2 измењених фајлова са 1 додато и 2 уклоњено
  1. 0
    1
      oscar/apps/catalogue/reviews/views.py
  2. 1
    1
      oscar/apps/offer/custom.py

+ 0
- 1
oscar/apps/catalogue/reviews/views.py Прегледај датотеку

@@ -124,4 +124,3 @@ class ProductReviewList(ListView):
124 124
         context['product'] = get_object_or_404(
125 125
             self.product_model, pk=self.kwargs['product_pk'])
126 126
         return context
127
-

+ 1
- 1
oscar/apps/offer/custom.py Прегледај датотеку

@@ -24,7 +24,7 @@ def create_range(range_class):
24 24
             "Custom ranges must have text names (not ugettext proxies)")
25 25
 
26 26
     # In Django versions further than 1.6 it will be update_or_create
27
-    # Proof: https://docs.djangoproject.com/en/dev/ref/models/querysets/#update-or-create
27
+    # https://docs.djangoproject.com/en/dev/ref/models/querysets/#update-or-create # noqa
28 28
     values = {
29 29
         'name': range_class.name,
30 30
         'proxy_class': _class_path(range_class),

Loading…
Откажи
Сачувај