Alex Crawley
cac875b4a4
Extend range model to include slug field
This is required for sites that allow ranges to be browsed.
This change includes a datamigration to slugify existing range names.
Fixes #906
před 12 roky
David Winterbottom
a2f4dfc0ea
Stop using null in fixture
Now that field is not nullable.
před 12 roky
Maik Hoepfel
4c1eeb7979
Fix offers fixtures
Recent commit regarding null=True on CharFields (44da815 ) broke
importing the offers fixtures because of a field being null.
The Travis builds did not fail because loaddata wrongly returns an exit
code of 0: https://code.djangoproject.com/ticket/20538
před 12 roky
David Winterbottom
ecc17c116b
Use a better selection of books for the sandbox
Fixes #655
před 12 roky
David Winterbottom
adf641d20b
Add fixture for 3 different offer types
před 13 roky
David Winterbottom
cb854b05b9
Add simple CSV fixture for testing ranges dashboard
před 13 roky
David Winterbottom
66aeb2bd29
Add ranges fixture
Was getting pretty bored of creating one everytime I want to test the
offers dashboard.
Fixture is loaded as part of 'make sandbox|demo' targets.
před 13 roky
David Winterbottom
865507e008
Correct gateway URL in promotions fixture
před 13 roky
David Winterbottom
c6193ba5ef
Switch sandbox promotions fixtures to use natural keys
Learnt the hard way that promotion fixtures will have different content
type IDs in each environment.
před 13 roky
David Winterbottom
679fab82f7
Use a fixture for homepage promotions on sandbox site
před 13 roky
David Winterbottom
82598c93d3
Add ORDER_PLACED to email templates fixture
před 13 roky
David Winterbottom
ba59c01467
Add email dashboard
This allows admins to:
* Preview emails in the dashboard
* Send preview emails
* Save emails
Fixes #359
před 13 roky
David Winterbottom
f9f95f8bcb
Remove silly image from sandbox fixtures
Was an "image-not-found" image from another project, where I originally
harvested the testing images.
Also, sym-link in Oscar's image-not-found image to the assets/media
folder.
před 13 roky
David Winterbottom
6826b2e5da
Fix timezone warning in auth fixture
před 13 roky
David Winterbottom
0d6f9be8e6
Improved sandbox creation using makefile
Remove old recreatedb script in favour of using the makefile.
před 13 roky
David Winterbottom
0f859d2640
Commit image tarball
před 13 roky
David Winterbottom
53fcdfbe70
Move fixtures and data to better location
Update makefile and docs to reflect this change.
před 13 roky