Alexander Gaevsky
4ba9d578bf
Add content wrapper block to the test site templates in order to resemble standard site behaviour during tests.
hace 8 años
Marco Badan
1a61781152
Fix `TEMPLATE_DIRS` test config
The config was picking the wrong directory so the custom test templates
were not used during tests.
Notes
- Fix missing i18n load tags
- Remove mixed tab/space indentation
- Add two settings tests
hace 11 años
Izidor Matušov
35e7a832c0
Add OSCAR_HOMEPAGE setting
Allow using a different app than promotions as the homepage view.
hace 12 años
Maik Hoepfel
6462b7d368
Drop {% load url from future %} from templates
Django 1.4 is not supported anymore, hence we can remove it.
hace 12 años
Costas Basdekis
75ee4c8545
Use kwargs in {% url ... %} template tags
Fixes #881
hace 12 años
Izidor Matušov
b7569ca5a2
Making strings translatable
I used the existing script [1] that cooperates very nicely with vim.
1: https://github.com/rory/django-template-i18n-lint
Fixes #676
hace 12 años
David Winterbottom
68b417dee5
Rename test site folder for consistency
Distinguish it from the other folders which each define a category of
test.
hace 13 años
David Winterbottom
b702c74113
Moved test site modules into separate package
hace 13 años
David Winterbottom
2089b12408
Extended test runner to generate coverage stats
hace 14 años
David Winterbottom
46cdbd3045
Added first view of promotions dashboard app
hace 14 años
David Winterbottom
facf291a71
Reworked the way tests are run to not require the examples files.
hace 14 años
Andrew Ingram
9f323a580c
Added category_tree template tag, returns a structured list of categories and subcategories up to a specified depth using a single sql query.
hace 14 años
David Winterbottom
6b797ed3f5
Basic image promotions now working
hace 14 años
David Winterbottom
59475e76e4
Updated promotions to use template_name and template_context methods for rendering each type
hace 14 años
David Winterbottom
b2c8270e29
Converted final two apps over to new structure
hace 14 años
David Winterbottom
4521e1b2e2
Converted promotions app to new structure
hace 14 años
David Winterbottom
da8b0902a6
Moved all templates into app folders
hace 14 años
Andrew Ingram
5313fc2918
Refactored apps to use app_label.app, this is to stop __init__.py executing get_model calls before the installed apps get installed.
Basket app now uses Application object
hace 14 años
Andrew Ingram
a976882f31
More work on basket views, decided to steer away from anything clever and use different views to handle different functionality.
hace 14 años
Andrew Ingram
c25d160721
Slight tweaks to reviews and login/logout urls in layout
hace 14 años
David Winterbottom
dac52a181b
Added email history section to profile
hace 14 años
Andrew Ingram
57dba803a6
created a Shop application that includes all the oscar URLs, updated examples to use it
hace 14 años
David Winterbottom
3ac94db7f7
Middleware baskets now working for anon users
hace 14 años
Andrew Ingram
5507007c8e
Similar to the ProductApplication, CustomerApplication ties all of the customer views and URLs into a single class which can be extended. We get some lovely URL namespacing for free.
hace 15 años
David Winterbottom
84b4709952
Added a "see more" link to promotions
hace 15 años
David Winterbottom
3bcb77fc2d
Moved all templates into an oscar folder
hace 15 años
David Winterbottom
85e2f6ab62
Added template tag to render promotions
hace 15 años
David Winterbottom
8179b3e5b4
First version of merchandising blocks now working
hace 15 años
David Winterbottom
f12f22fad3
Added template tag to render promotions
hace 15 años
David Winterbottom
88b47f8743
First version of merchandising blocks now working
hace 15 años
David Winterbottom
06e93fc877
Added Solr search form as default
hace 15 años
David Winterbottom
d6aa1b9e28
Reworked promotions package to track clicks and use a single
model for both pods and banners
hace 15 años
David Winterbottom
e7ccabfbca
Updated settings and context processors to work with basic pods and banners
hace 15 años
David Winterbottom
4b268e4b23
Added basic pods to the marketing app
hace 15 años
David Winterbottom
23494e0dc4
Added basic banners functionality
hace 15 años
David Winterbottom
fa047e33f3
Added basic address book functionality
hace 15 años
David Winterbottom
66e2edc162
Added views to checkout.
You can now go through the entire checkout process although
the delivery method and payment options are simple redirects.
The order doesn't actually get placed either. That's next on
the to-do list.
hace 15 años
David Winterbottom
955f3e9ed9
Moved messages HTML to layout.
hace 15 años
David Winterbottom
d3717c28fc
Updated template structure to include base.html and layout.html
hace 15 años