Skip to content

Django 1.7 support#2

Open
jaylett wants to merge 2 commits into
masterfrom
django-1.7-support
Open

Django 1.7 support#2
jaylett wants to merge 2 commits into
masterfrom
django-1.7-support

Conversation

@jaylett

@jaylett jaylett commented Apr 12, 2015

Copy link
Copy Markdown
Owner
  1. Use form.add_error()
  2. Change test runner to set up Django in the 1.7+ way.
  3. Drop use of @override_settings to change database since we don't actually need it and it emits warnings now.

Tested in postgresql, not yet on mysql.

jaylett added 2 commits April 12, 2015 13:38
We have to call django.setup() now.

Additionally, changing DATABASES using @override_settings generates a
warning; since we only test one database per process, simplify things
considerably by getting things right in settings.configure() to start
off with.
This makes us depend on Django >= 1.7, so note that in setup.py.
Bump version to v0.3; tested with postgresql but not mysql as yet.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant