News for hackers. Stuff that matters.
Re:Using Django for mostly static sites by motter on Monday February 17, 2014 @11:31AM (#7252800)
It's surprisingly easy, though I believe the tests expect one to be configured (I haven't checked precisely why, or if it can be configured not to expect a database).
Re:Using Django for mostly static sites by mazelife on Monday February 17, 2014 @12:58PM (#7253316)
It can be configured not to expect a database. You just subclass the DjangoTestSuiteRunner to skip setting up and tearing down the DB, then set that as TEST_RUNNER. See here for an example: http://stackoverflow.com/questions/5917587/django-unit-tests...
Re:Using Django for mostly static sites by StavrosK on Monday February 17, 2014 @12:28PM (#7253118)
I just configure it with SQLite in those cases. You can probably even specify ":memory:" for the DB location.