Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge pull request #13 from jrief/fixes

Fixed some typos, one of which could cause a bug
  • Loading branch information...
commit 6318fcd122f97da33288943ccb22c9972f03a58c 2 parents 75ae43a + 740951e
@chrisglass authored
Showing with 6 additions and 6 deletions.
  1. +3 −3 README.rst
  2. +3 −3 shop_simplevariations/urls.py
View
6 README.rst
@@ -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.
View
6 shop_simplevariations/urls.py
@@ -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.