Permalink
Browse files

fixing small typos

  • Loading branch information...
1 parent 9dfb098 commit 3b871939f6286f8130f5fce054dbd2402a65a7db @mbrochh mbrochh committed Jun 17, 2011
Showing with 15 additions and 17 deletions.
  1. +14 −14 README.rst
  2. +1 −3 tests/testapp/.coveragerc
View
@@ -2,7 +2,7 @@
django SHOP - Simple Variations
================================
-This app's purpose is to provide a way to quickly create product variations for
+This app's purpose is to provide a way to quickly create product variations for
most simple cases.
It considers variations as a {label: value} entry in the cart modifiers, so it
@@ -16,25 +16,25 @@ Installation
This requires django SHOP to work (https://github.com/chrisglass/django-shop)
* Add the app to your INSTALLED_APPS in your settings.py
-* Add `shop_simplevariations.cart_modifier.ProductOptionsModifier` to your
+* Add `shop_simplevariations.cart_modifier.ProductOptionsModifier` to your
`SHOP_CART_MODIFIERS` setting.
* Add `(r'^shop/cart/', include(simplevariations_urls)),` to your `urls.py`
just before `(r'^shop/', include(shop_urls)),`
-
+
Your urls.py should look like this:
::
from django.conf.urls.defaults import *
from django.contrib import admin
-
+
from shop import urls as shop_urls
from shop_simplevariations import urls as simplevariations_urls
-
-
+
+
admin.autodiscover()
-
-
+
+
urlpatterns = patterns('',
(r'^admin/', include(admin.site.urls)),
(r'^shop/cart/', include(simplevariations_urls)),
@@ -47,12 +47,12 @@ Usage
* Create an Option group in the admin view
* 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
+* 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
added to the Cart/Order.
-* Override django-shop's `product_detail.html` template and add selection
+* Override django-shop's `product_detail.html` template and add selection
elements so that your users can select variations.
-
+
The product_detail.html template
================================
@@ -63,7 +63,7 @@ Therefore you need to override the template. django-shop-simplevariations
ships with two templatetags that help creating drop down lists so that a
customer can actually chose variation.
-First make sure to load the simplecariation templatetags:
+First make sure to load the simplevariation templatetags:
::
@@ -102,5 +102,5 @@ Contributing
============
Feel free to fork this project on github, send pull requests...
-development discussion happends on the django SHOP mailing list
+development discussion happends on the django SHOP mailing list
(django-shop@googlegroups.com)
@@ -1,12 +1,10 @@
[run]
branch = True
source =
- shop
- shop.addressmodel
+ shop_simplevariations
omit =
../../*migrations*
../../*tests*
/usr/share/*
[report]
precision = 2
-

0 comments on commit 3b87193

Please sign in to comment.