David Winterbottom 12 лет назад
Родитель
Сommit
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),

Загрузка…
Отмена
Сохранить