Commit graph

65 commits

Author SHA1 Message Date
David McCann
267c41f06d add Q modification to exclude() as well as filter 2010-09-14 12:57:26 +03:00
David McCann
cda3bbab2b added Q filtering magic to the eav manager. Recursively rebuilds the Q tree in-place before passing to the super class' filter. 2010-09-14 12:50:27 +03:00
David McCann
9ae619a225 added manager_only optional argument (for registering non-entity Models, to allow them to do fancy filtering) 2010-09-14 10:56:19 +03:00
David McCann
80bcb8cdf2 removed debugging code 2010-09-14 10:55:48 +03:00
David McCann
d6f59672ea refactored expand_filter_string from recursive to iterative 2010-09-14 10:10:20 +03:00
David Gelvin
9361fbd7eb Created enum models 2010-09-10 15:57:44 +00:00
David Gelvin
eacd87b156 Updated tests for new null boolean 2010-09-10 15:55:43 +00:00
David Gelvin
b31a914318 Merge branch 'master' of github.com:mvpdev/eav 2010-09-10 15:32:38 +00:00
David Gelvin
cf77d9da34 Changed VALUE_BOOLEAN to NullBooleanField 2010-09-10 15:31:12 +00:00
ksamuel
2dba6275d4 Adding configuration and test for related name in generic relation + fixing bug or some hardcoded name 2010-09-10 13:49:11 +00:00
ksamuel
cd641d2714 Fixed but of conflicting related names in generic relation 2010-09-10 12:52:18 +00:00
David Gelvin
c4e0cd715f Merge branch 'master' of github.com:mvpdev/eav
Conflicts:
	fields.py
2010-09-08 19:32:05 +00:00
David Gelvin
130d5b569c Changed datatype 2010-09-08 19:23:42 +00:00
ksamuel
68434c28e6 Merge branch 'master' of github.com:mvpdev/eav 2010-09-08 19:20:37 +00:00
ksamuel
edb58a347b Just for David to fix this bug 2010-09-08 19:16:46 +00:00
David Gelvin
6bda6f7a53 Updated manager 2010-09-08 19:11:33 +00:00
ksamuel
5a5bf84f3d Merge branch 'master' of github.com:mvpdev/eav 2010-09-08 18:29:28 +00:00
David Gelvin
23da5c11c6 Minor fix to test for mysql 2010-09-08 18:29:02 +00:00
ksamuel
04c5b4b5f1 Merge branch 'master' of github.com:mvpdev/eav 2010-09-08 18:20:19 +00:00
ksamuel
d80913ab91 Covered most get and set with tests 2010-09-08 18:19:51 +00:00
David Gelvin
4aa7952485 Merge branch 'master' of github.com:mvpdev/eav 2010-09-08 17:52:20 +00:00
David Gelvin
2f879ccc8b New manager 2010-09-08 17:51:56 +00:00
ksamuel
1b596733e5 Remove prints, added test to value acccessors and object setters / getters 2010-09-08 16:09:05 +00:00
ksamuel
1cdc831bd1 Fixed cache bug 2010-09-08 15:24:14 +00:00
David Gelvin
9afdc58a05 Catch database error in registry 2010-09-08 12:18:29 +00:00
David Gelvin
4a889b48bf Many fixes and filtering 2010-09-08 12:10:47 +00:00
ksamuel
8185f43458 Merged with david's filtering 2010-09-08 01:28:03 +00:00
ksamuel
0cc260c5b1 New cache reloading only for models on startup and at ever attribute addition 2010-09-08 01:18:27 +00:00
David Gelvin
de61e49622 First filter attempt 2010-09-07 19:28:39 +00:00
David Gelvin
b765aa9c51 Contribute genericrelation helper to entity on registration 2010-09-07 16:10:58 +00:00
David Gelvin
d989e85223 Renamed admin in utils to config 2010-09-07 15:16:40 +00:00
ksamuel
5fbd515d3f Merge branch 'master' of github.com:mvpdev/eav 2010-09-07 14:22:22 +00:00
ksamuel
e71123028c Added docstring in model 2010-09-07 14:22:02 +00:00
David Gelvin
0d53a7a790 Added TYPE_OBJECT 2010-09-07 14:14:03 +00:00
ksamuel
e915a95f06 Merge changing generic relations 2010-09-07 14:02:48 +00:00
David Gelvin
99cd67c22d Changed object to entity 2010-09-07 13:59:45 +00:00
ksamuel
4c09a4ee26 Merge branch 'master' of github.com:mvpdev/eav 2010-09-07 13:52:41 +00:00
ksamuel
bdf3e464bd Fixed: get_eva_attribute are now called as a classmethod 2010-09-07 13:52:16 +00:00
David Gelvin
05dddabbe2 More validation 2010-09-07 13:40:50 +00:00
David Gelvin
194f1f8708 More changes 2010-09-07 13:32:53 +00:00
ksamuel
9ce78e1418 Added test for _save_single 2010-09-07 13:09:27 +00:00
ksamuel
4d3127223c Merge branch 'master' of github.com:mvpdev/eav 2010-09-07 12:47:37 +00:00
ksamuel
d54b73a4cd Added test for set and get 2010-09-07 12:45:57 +00:00
David Gelvin
9b2402af7a Fixed auto slug 2010-09-07 12:44:13 +00:00
David Gelvin
f522655a6c Added stuff 2010-09-07 12:34:03 +00:00
David Gelvin
5444c15c7e Removed UUID, added auto_slug 2010-09-07 11:56:35 +00:00
David Gelvin
14173b822f Merge branch 'master' of github.com:mvpdev/eav 2010-09-07 11:23:41 +00:00
David Gelvin
65f4452744 Implemented remove_label 2010-09-07 11:23:25 +00:00
ksamuel
8ff5a917e7 Fixed add_label and added test for add_label 2010-09-07 11:18:15 +00:00
David Gelvin
e842dac43a Changed from pre_save to post_save handler 2010-09-07 10:44:43 +00:00