fix tests with new API data

git-svn-id: https://svn.aptivate.org/svn/idsapi/dev@11041 679a26be-e637-0410-a801-b7d8065a4221
Change to new class based RedirectView in urls.py

git-svn-id: https://svn.aptivate.org/svn/idsapi/dev@11042 679a26be-e637-0410-a801-b7d8065a4221
Upgrade Django for security fixes

Should really upgrade to 1.4, but there is a little work involved

git-svn-id: https://svn.aptivate.org/svn/idsapi/dev@11043 679a26be-e637-0410-a801-b7d8065a4221
pep8 and whitespace fixes

git-svn-id: https://svn.aptivate.org/svn/idsapi/dev@11044 679a26be-e637-0410-a801-b7d8065a4221
Update default settings for solr URL

git-svn-id: https://svn.aptivate.org/svn/idsapi/dev@11045 679a26be-e637-0410-a801-b7d8065a4221
reorganise pip packages

git-svn-id: https://svn.aptivate.org/svn/idsapi/dev@11046 679a26be-e637-0410-a801-b7d8065a4221
Undo some changes from the mysolr experiment

git-svn-id: https://svn.aptivate.org/svn/idsapi/dev@11047 679a26be-e637-0410-a801-b7d8065a4221
Switch to patched sunburnt with edismax

So drop the mysolr library.

git-svn-id: https://svn.aptivate.org/svn/idsapi/dev@11048 679a26be-e637-0410-a801-b7d8065a4221
Cache the SolrInterface object for one hour at a time

Whenever we create the SolrInterface object we fetch the schema from the
solr instance - this slows us down.  So cache, but only for one hour at
a time.

git-svn-id: https://svn.aptivate.org/svn/idsapi/dev@11049 679a26be-e637-0410-a801-b7d8065a4221
Use the json format with sunburnt

Should be faster than the xml version, and has only recently been
introduced into sunburnt.

git-svn-id: https://svn.aptivate.org/svn/idsapi/dev@11050 679a26be-e637-0410-a801-b7d8065a4221
django-jenkins after 0.14 require django>=1.4, so pin to 0.14

git-svn-id: https://svn.aptivate.org/svn/idsapi/dev@11051 679a26be-e637-0410-a801-b7d8065a4221
Add tests for get_solr_interface()

git-svn-id: https://svn.aptivate.org/svn/idsapi/dev@11054 679a26be-e637-0410-a801-b7d8065a4221
Update jenkins local_settings to use ssh tunnel to ids solr

In conjunction with changes in the jenkins config with ideas from
http://stackoverflow.com/a/15198031/3189

git-svn-id: https://svn.aptivate.org/svn/idsapi/dev@11057 679a26be-e637-0410-a801-b7d8065a4221
Update sunburnt to be compatible with python 2.6

git-svn-id: https://svn.aptivate.org/svn/idsapi/dev@11060 679a26be-e637-0410-a801-b7d8065a4221
Upgrade to Django 1.4.x and django-registration 1.0

As part of this:

- use new django conf urls import path
- use new registration urls in urls.py
- improve signals to create user profile, and import from __init__.py
- add __unicode__() method to UserProfile
- pep8 and related small edits

git-svn-id: https://svn.aptivate.org/svn/idsapi/dev@11071 679a26be-e637-0410-a801-b7d8065a4221
Add staging_new deploy env

It will be on the staging server, but with a different URL (and
VirtualHost).

Also update the wsgi config to cope with two deploys on one server.

git-svn-id: https://svn.aptivate.org/svn/idsapi/dev@11072 679a26be-e637-0410-a801-b7d8065a4221
Fix date formatting

We were relying on implicit datetime conversion to string before.  With
the Django upgrade the format changed (2005-01-01 00:00:00 to
2005-01-01T00:00:00), so this change explicitly sets the date conversion
using strftime.

git-svn-id: https://svn.aptivate.org/svn/idsapi/dev@11073 679a26be-e637-0410-a801-b7d8065a4221
Use new WSGIDaemonProcess for staging_new

git-svn-id: https://svn.aptivate.org/svn/idsapi/dev@11074 679a26be-e637-0410-a801-b7d8065a4221
Fixes for new deploy environment and django version

- new location for admin static/media files
- new path to urls conf
- change db used by staging_new

git-svn-id: https://svn.aptivate.org/svn/idsapi/dev@11075 679a26be-e637-0410-a801-b7d8065a4221
fix small deploy script bug

git-svn-id: https://svn.aptivate.org/svn/idsapi/dev@11103 679a26be-e637-0410-a801-b7d8065a4221