Commit graph

49 commits

Author SHA1 Message Date
Jonathan Senecal
88e88f53bd Fix "No reverse match" issue with template. 2015-04-13 18:45:25 +02:00
Jonathan Senecal
13065d09e8 Added the "fields" attribute in testapp
django.core.exceptions.ImproperlyConfigured: Creating a ModelForm without either the 'fields' attribute or the 'exclude' attribute is prohibited; form SchoolForm needs updating.
- Added the "fields" attribute to SchoolForm
- Added the "fields" attribute to EmployeeForm
- Added the "fields" attribute to DeptForm
- Added the "fields" attribute to QuestionForm
- Added the "fields" attribute to QuestionNonAutoForm
2015-04-13 18:44:06 +02:00
Jonathan Senecal
1b5e7e18d3 PEP8 + simple typo 2015-04-13 18:42:30 +02:00
Ben Cail
91dad724fb Adds render_inner_js_code to HeavySelect2TagWidget
Add a test for HeavyModelSelect2TagField in the testapp.
The labels for selected options aren't displayed correctly in the test.
I updated HeavySelect2TagWidget to override render_inner_js_code, and now it seems to work properly.

Closes #133

Squashed commit of the following:

commit 94895a8743b0c4ebdf888da08827486106a5b15d
Author: Ben Cail <benjamin_cail@brown.edu>
Date:   Tue Nov 18 15:11:24 2014 -0500

    use view name instead of hard-coded url

commit fb9e1444ed73f2c8bad071182e8919dbf4f6bfe6
Author: Ben Cail <benjamin_cail@brown.edu>
Date:   Mon Nov 17 14:31:50 2014 -0500

    override render_inner_js_code in HeavySelect2TagWidget (similar to AutoHeavySelect2Mixin)

commit feff9c2a76474121aa2ff9c9b98a4f7dbfb0ab49
Author: Ben Cail <benjamin_cail@brown.edu>
Date:   Mon Nov 17 14:21:29 2014 -0500

    add test for HeavyModelSelect2TagField
2015-02-24 10:15:13 +01:00
crccheck
66a0ebfe99 fix random typos found while reading the project 2013-11-19 19:00:58 -06:00
AppleGrew (applegrew)
4bfcdc6ef5 Issue 76 testing 2013-11-09 10:00:43 +05:30
apalazon
8f81544f83 Restored test.db to old one 2013-10-29 10:45:26 +01:00
apalazon
c1de491f53 Restore the code to use GET - again. The example works with GET and POST. 2013-10-29 10:42:40 +01:00
apalazon
9c249ae5e7 Resuelto el problema con la limpiexa de la búsqueda 2013-10-29 10:27:10 +01:00
apalazon
e2cc63e69f Fix issue #66 on my own example, implementing get_val_txt(self, value) on my overriden field. 2013-10-29 10:23:26 +01:00
apalazon
3805f12717 Test case for issue #66 AutoSelect2MultipleField does not bind GET value on page render 2013-10-22 13:53:31 +02:00
AppleGrew (applegrew)
cc94db7e2b Issue 54. Widget performance fix. 2013-09-17 22:02:32 +05:30
AppleGrew (applegrew)
096162ac84 Changed some log levels. 2013-09-16 11:37:34 +05:30
AppleGrew (applegrew)
ab57470b02 Adding Tagging support. 2013-09-16 02:03:08 +05:30
AppleGrew (applegrew)
fe1fb4fd76 Updating Select2 JS to 3.4.1 2013-07-06 10:04:18 +05:30
Michał Ociepka
677d817abf Sync database
Administration authentication data:
* user name: "admin",
* password: "admin".

Issue #43
2013-06-08 10:17:59 +02:00
Michał Ociepka
482435b313 Register all models in admin
Issue #43
2013-06-08 10:16:38 +02:00
Michał Ociepka
94c3d5bd21 Add the school form
Issue #43
2013-06-08 10:15:45 +02:00
Michał Ociepka
8f14e64701 Add new testing model School
Issue #43
2013-06-08 10:14:59 +02:00
Michał Ociepka
de98651ab0 Add Django admin
Issue #43
2013-06-08 10:13:46 +02:00
AppleGrew (applegrew)
e082822cdd v4.0.0 Added Hashed Id generation scheme 2013-03-15 11:30:40 +05:30
AppleGrew (applegrew)
f58f608b23 v3.3.1 commit 2013-03-13 00:29:02 +05:30
AppleGrew (applegrew)
05b69c89b6 * Multi-process support. * Updated Select2 to 3.3.1. 2013-03-02 11:25:00 +05:30
AppleGrew (applegrew)
b39268f42d Issue#26 fix. 2013-02-28 21:17:20 +05:30
AppleGrew (applegrew)
4e1243bfec Issue#23 fix. 2013-02-28 14:18:27 +05:30
AppleGrew (applegrew)
1aedde99d6 Now minifying CSS and JS files. During production they will be used intead.
The minification process has been automated too. When sdist command is
given to setup.py then it will use web-service to minify the js n css
files.
2013-01-13 23:25:47 +05:30
AppleGrew (applegrew)
aa60bb36ec Making heavy use localStorage instead of cookies and few more heavy related fixes. 2013-01-13 10:02:39 +05:30
AppleGrew (applegrew)
8dea1a6446 Addressed issue#19.
Code to generate JS code did not take into account the scenario where
string constants already had quotes in them. Only Heavy fields and
widgets were affected.
2013-01-06 00:30:02 +05:30
AppleGrew (applegrew)
913453f8ef v3.1.4. Manually picked changes from Issue#16 (pull request). 2012-11-27 10:31:40 +05:30
AppleGrew (applegrew)
cf960fe11b v3.1.3 released. 2012-11-26 23:17:15 +05:30
Stéphane Raimbault
98fa4a9c70 Fix deprecated import of Django urls 2012-11-26 17:45:32 +01:00
Stéphane Raimbault
c5a664db07 Add convenient execution bit to manage.py 2012-11-26 12:53:28 +01:00
Stéphane Raimbault
e84f7dc330 Switch to default layout of Django 1.4 2012-11-26 12:53:28 +01:00
AppleGrew (applegrew)
7946563288 v3.1.3. Fixed some minor issues. 2012-11-25 01:44:36 +05:30
AppleGrew (applegrew)
434f89cdfc Performace improvement & tests 2012-11-25 00:32:56 +05:30
AppleGrew (applegrew)
487e55020c Added a timer util. 2012-10-13 20:56:39 +05:30
AppleGrew (applegrew)
3ac09c7a96 * Fixed setup.py to include templates dir * Updated select2 to version 3.2 2012-09-28 23:26:12 +05:30
AppleGrew (applegrew)
6409289bbb Added AUTO_RENDER_SELECT2_STATICS setting. 2012-09-14 12:04:36 +05:30
AppleGrew (applegrew)
94bc993377 Further bug fixes. 2012-09-03 09:39:50 +05:30
AppleGrew (applegrew)
3c3fe0b130 Fixing some design issues in Heavy fields. 2012-09-02 01:21:17 +05:30
AppleGrew (applegrew)
3f65a2349f Issue4, more fixes. 2012-09-01 01:17:08 +05:30
AppleGrew (applegrew)
8169db806b * Sphinx docs added. * Fixed Issue 4 * Improved code docstrings 2012-08-31 11:34:23 +05:30
AppleGrew (applegrew)
4e240ce415 v2.0.1
* Auto field register fix.
* Prevent multiple execution of heavy_data.js.
2012-08-23 00:22:49 +05:30
AppleGrew (applegrew)
878ddb839a More bug fixes. And added 'auto_id' parameter for auto fields. 2012-08-22 11:19:30 +05:30
AppleGrew (applegrew)
6a2c96668d Loggers added 2012-08-22 09:55:20 +05:30
AppleGrew (applegrew)
691fa14e2e Multi value bu fixes
Many bugs ironed out of Multi value fields. Added many new tests for
multi value fields.
2012-08-21 23:21:41 +05:30
AppleGrew (applegrew)
f3569bcea2 Multi value tests added and more fixes.
* Fixed infinite recursion causing Python crash bug.
* Multi-value is working.
* Tested added for multi-value field.
2012-08-21 01:38:31 +05:30
AppleGrew (applegrew)
703d540689 The changes in this code crashes Python 2.7.1 (OSX build) 2012-08-20 19:08:52 +05:30
AppleGrew (applegrew)
8579993107 v1.1 changes.
Lots of fixes and redesign. Also added a full fledged project for
testing out the components.
2012-08-19 23:13:15 +05:30