Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fixed some typos, one of which could cause a bug

  • Loading branch information...
commit 740951e09f0371ee8314b794f0c0d2e8cc9023f8 1 parent 75ae43a
Jacob Rief jrief authored
Showing with 6 additions and 6 deletions.
  1. +3 −3 README.rst
  2. +3 −3 shop_simplevariations/urls.py
6 README.rst
View
@@ -1,6 +1,6 @@
-================================
+===============================
django SHOP - Simple Variations
-================================
+===============================
This app's purpose is to provide a way to quickly create product variations for
most simple cases.
@@ -48,7 +48,7 @@ Usage
* Bind it to a product
* Add options and the corresponding price to the group.
* When a `CartItemOption` object is linked to a `CartItem`, the option's value
- will be added to the CartItem's price and a corresponding extra field willbe
+ will be added to the CartItem's price and a corresponding extra field will be
added to the Cart/Order.
* Override django-shop's `product_detail.html` template and add selection
elements so that your users can select variations.
6 shop_simplevariations/urls.py
View
@@ -1,6 +1,6 @@
+#-*- coding: utf-8 -*-
from django.conf.urls.defaults import patterns, url
-
-from .views import SimplevariationCartDetails
+from shop_simplevariations.views import SimplevariationCartDetails
urlpatterns = patterns('',
@@ -12,7 +12,7 @@
name='cart_item_add' ),
url(r'^$',
SimplevariationCartDetails.as_view(), name='cart'),
- url(r'^cart/update/$',
+ url(r'^update/$',
SimplevariationCartDetails.as_view(action='put'),
name='cart_update'),
url('^item/(?P<id>[0-9A-Za-z-_.//]+)$',
Please sign in to comment.
Something went wrong with that request. Please try again.