-
Notifications
You must be signed in to change notification settings - Fork 4
Added test to count queries on dynamic form queryset + improve performances #162
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Added test to count queries on dynamic form queryset + improve performances #162
Conversation
at the time of writing, here's the diff between this branch and the #156
diff --git a/CHANGELOG.rst b/CHANGELOG.rst
index eb118ca..0b91285 100644
--- a/CHANGELOG.rst
+++ b/CHANGELOG.rst
@@ -6,7 +6,6 @@ master (unreleased)
===================
* Added a make target to install the demo site.
-* Added django-perf-rec module for tests and improved SQL queries in `ContextFormDetailView` (#54, #154, #160).
Release 0.5.0 (2017-01-10)
diff --git a/demo/demo/settings.py b/demo/demo/settings.py
index 4e0b88d..c85f655 100644
--- a/demo/demo/settings.py
+++ b/demo/demo/settings.py
@@ -128,9 +128,3 @@ FORMIDABLE_POST_CREATE_CALLBACK_SUCCESS = 'demo.callback_success_message'
FORMIDABLE_POST_UPDATE_CALLBACK_SUCCESS = 'demo.callback_success_message'
FORMIDABLE_POST_CREATE_CALLBACK_FAIL = 'demo.callback_fail_message'
FORMIDABLE_POST_UPDATE_CALLBACK_FAIL = 'demo.callback_fail_message'
-
-
-# django-perf-rec settings
-PERF_REC = {
- 'MODE': 'all'
-}
diff --git a/formidable/__init__.py b/formidable/__init__.py
index 96b0a07..d21ec65 100644
--- a/formidable/__init__.py
+++ b/formidable/__init__.py
@@ -1,3 +1 @@
default_app_config = 'formidable.app.FormidableConfig'
-
-version = '0.6.0.dev0'
diff --git a/setup.py b/setup.py
index 398eb69..d5526df 100644
--- a/setup.py
+++ b/setup.py
@@ -4,15 +4,12 @@ from __future__ import unicode_literals
import os
from setuptools import setup, find_packages
-import formidable
-
-
with open(os.path.join(os.path.dirname(__file__), 'README.rst')) as readme:
README = readme.read()
setup(
name='django-formidable',
- version=formidable.version,
+ version='0.6.0.dev0',
packages=find_packages(),
include_package_data=True,
license='BSD License', which corresponds to the diff introduced by the previous merges of #159 and #160. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. Thanks.
40da5d8
to
124720c
Compare
Changelog * Added a make target to install the demo site (#152). * Added django-perf-rec module for tests and improved SQL queries in `ContextFormDetailView` (#54, #154, #160). * Added test to count queries on dynamic form queryset + improve performances (#155, #156, #162). * Added test to count queries on retrieve builder view + improve performances by removing duplicate queries (#157, #158, #163).
refs #155.