David Winterbottom
|
6667e2d8f1
|
All integration tests pass! Woop!
|
пре 12 година |
st4lk
|
e9e1ffeee7
|
Add 'parent' argument to category_tree template tag
If parent is given, only parent descendant categories will be returned.
Fixes #741
|
пре 12 година |
David Winterbottom
|
4337a27505
|
Fix two testing issues arising in Django 1.5
|
пре 12 година |
David Winterbottom
|
80384a4007
|
Fix logic error in product availability
Introduced in 7fd62f2af0.
|
пре 12 година |
David Winterbottom
|
aa7f899c51
|
Move catalogue tests to integration folder...
...as they are all integration tests (they save stuff).
|
пре 13 година |
David Winterbottom
|
aab093deea
|
Convert non-ASCII char to ASCII for category slugs
This uses the unidecode package to convert non-ASCII words to ASCII
equivalents. We use a new slugify function to wrap this logic as we
will want to use it elsewhere.
See this StackOverflow thread for context:
http://stackoverflow.com/questions/702337/how-to-make-django-slugify-work-properly-with-unicode-strings/
Unidecode becomes a new dependency for Oscar.
https://pypi.python.org/pypi/Unidecode
Hat-tip to @avsazonov for suggesting this fix.
|
пре 13 година |
David Winterbottom
|
fc9999e70b
|
Rework subtree updating after move
New impl is considerably simpler and lets the save method update each
node's slug and full name.
|
пре 13 година |
David Winterbottom
|
5ba13b2330
|
Add test scaffolding around Category class
|
пре 13 година |
David Winterbottom
|
8e4d5edd95
|
Move category tests to integration folder
They use the DB so they are not really unit tests.
|
пре 13 година |