David Winterbottom
c4d818242f
Update demo templates
Use strategy to look-up prices and availability
12 years ago
Costas Basdekis
75ee4c8545
Use kwargs in {% url ... %} template tags
Fixes #881
12 years ago
David Winterbottom
9d3b3f9f8c
Fix building of demo site
Still needs more attention but this fixes the problems when running
"make demo".
12 years ago
Maik Hoepfel
5537471053
Demo site: Speed up CSV import
The CSV importer is one of three equally broken ones in the repo.
Nonetheless, it's rather slow due to lack of not happening in a
transaction. This one-liner speeds it up by factor of two.
12 years ago
Maik Hoepfel
28f268db89
Demo's settings.py: LocMemCache, comments re PostGIS, language code
* Analogous to 64b59f the default cache for the demo site has been
switched to LocMemCache instead of memcache
* Comments regarding usable databases have been updated
* The language code has been changed to en-gb
12 years ago
Jon Price
488edd9d33
remove min-height on radio and checkboxes
12 years ago
Jon Price
20feca86d5
tidied up the offers, added space between products in lists, promotion fonts in sidebar, removed the horizontal forms from the site
12 years ago
Jon Price
794beb885e
styled new accounts nav, tidied the wishlists on detail page, responsive category menu
12 years ago
Jon Price
4419ee23ce
aside single promo styles
12 years ago
Jon Price
d8fa569225
button sizes in the accounts too large, flexibility added to single product promotion in sidebars
12 years ago
Jon Price
20834fb879
merged duplicate less files into bootstrap, smaller images in checkout, wishlist button on the detail page
12 years ago
Jon Price
271d531de5
modified the category lists styles for search filters
12 years ago
Jon Price
bc79c7222d
accounts: fixed button groups, basic responsive. Removed responsive container in preference to padding on the default container
12 years ago
Jon Price
dc8758e4b6
tidy of the review list / detail pages
12 years ago
Jon Price
d88789df3a
IE fixes: svg in ie9, missing end tag h3 on basket, large buttons in ie7, main nav dropdown in ie7
12 years ago
Jon Price
835bf4fd50
added the image promotion: added the widget styles
12 years ago
Jon Price
d5a6968f16
adding checkout nav back in, cleanup of basket,saved basket,confirmation order list/responsivly
12 years ago
Jon Price
f40befcc3b
unavailable badge less prominant
12 years ago
Jon Price
1f99cd0878
some widget font size changes on responsive
12 years ago
Jon Price
33fc3e6897
chnaged the font sizing to ems to easily chnage global fonts responsively
12 years ago
Jon Price
8a4fc55b7f
removing product list styles where bootstrap grid should be doing the work
12 years ago
Jon Price
187a1a7e3c
fixed the categoies list on the browse page
12 years ago
Jon Price
c65393d574
Added load url from future into templates, fixed main navigation to display child categories, tidied header responsivness
12 years ago
Jon Price
5ea1629f47
fixed closing divs and nav primary has children condition
12 years ago
David Winterbottom
8c9af901b1
Update ALLOWED_HOSTS settings
- Add setting for demo
- Correct typo for sandbox
12 years ago
Maik Hoepfel
e38e8c95f8
Add eggs template loader to TEMPLATE_LOADERS
Dependencies installed via setup.py stay in their eggs and their
templates won't be found by Django. This caused a
TemplateNotFoundError when users were trying to use
Django's admin to set categories.
Using the admin is unsupported, but this still prevents a similar error
from happening when we use other dependencies that ship templates. It
also shouldn't slow down production use.
Fixes #761
12 years ago
Euan Lau
170f977eff
Fix a few demo template bugs
12 years ago
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
12 years ago
David Winterbottom
faa70ead1f
Add simple order processing to demo site
- Only handles Datacash payments at the moment
12 years ago
David Winterbottom
8f13688eb0
Add shipping event type fixture to demo site
12 years ago
David Winterbottom
828fab8c05
Replace line_actions block in demo order dashboard
12 years ago
David Winterbottom
902c4fa8fa
Add local order app to demo site
- Fix payment event reference issue
- Upgrade django-oscar-datacash
- Handle changes to bankcard obj
12 years ago
Jannis Leidel
006654283c
Stop manually serving static files
This is done by staticfiles' runserver command automatically.
12 years ago
David Winterbottom
1a716ba31d
Don't send 404 emails in demo site
12 years ago
Matus Moravcik
a1a6c602f5
Use get_product_class where possible
12 years ago
Maik Hoepfel
1bc23cdbec
Update testing for Django 1.5
* Emailbackend: Updated to use REQUIRED_FIELDS
* Demo and sandbox site now use compat.AUTH_USER_MODEL as well
* Added example custom user that gets tested for Django >= 1.5
12 years ago
Jannis Leidel
1d8d2bdc9b
Convert absolute path of webfonts into relative one
So that it's possible to use a different URL for static assets.
12 years ago
David Winterbottom
427cd484d5
Correct offers fixture
Use blank instead of null.
12 years ago
David Winterbottom
2924df0421
Remove bad settings path
12 years ago
David Winterbottom
173e57090c
Add a stub DATABASES setting to bypass a South init issue
Without this, South was choking as it couldn't find a 'default' key in
DATABASES.
12 years ago
David Winterbottom
a635cc49d4
Update manage.py files from sandbox and demo
They were copies of an old Django 1.3 project version with some Tangent
extensions.
12 years ago
David Winterbottom
ad2df646a8
Use THUMBNAIL_KEY_PREFIX in sandbox/demo
To avoid having cache clashes.
12 years ago
David Winterbottom
3978d84110
Adjust use of basket_form templatetag in demo site
The parameters have been changed to use request, not request.basket.
13 years ago
David Winterbottom
c70f55fd24
Fix issue with childless categories in primary nav
Their links were not clickable previously.
13 years ago
David Winterbottom
0c3d43d0d9
Update demo CSS
13 years ago
David Winterbottom
ce19ea18f6
Tidy demo templates
- Remove duplicate lists from footer.html.
- Remove "All" prefix from browsing as it doesn't make sense when the
summary is "All products".
13 years ago
Jon Price
98bce4111d
added styles for the category listing on browse.html
13 years ago
Jon Price
802e3f94fe
styled login, fixed include for single/feature promo, begun responsive/mobile (head,foot,product lists,home page )
13 years ago
David Winterbottom
c413883dcb
Correct basket item count in template partial
13 years ago
David Winterbottom
0651537048
Update payment advice for bankcard form
13 years ago