Iwo Herka
2b6f470fa7
Add Q-expr rewriter/fix relational algebra ( #1 )
...
* Add debug Q-expr print function
* Change old __unicode__ methods to __str__ format
* Move __unicode__ methods to __str__
* Rewrite AND Q-expressions to safe form
* Make Q-expr debug print method use nicer format
* Document rewrite_q_expr function
* Rewrite/improve queries' test
* Document some more code
* Reorganize and document queryset module
* Add more tests for queries
* Use generic relation attribute instead instead of 'eav_values'
* Update docstring
* Fix a typo
* Move up a variable
* Rename a function
* Check if 'in' filter rhs is not a QuerySet
* Add newline to the end of file
* Fix typo; tweak docstring
2018-05-18 13:18:24 +02:00
Iwo Herka
813f349683
Remove lost print
2018-04-06 16:24:34 +02:00
Iwo Herka
17c8d84295
Make tests runnable with Python 3
2018-04-06 13:59:51 +02:00
Iwo Herka
7d1aca31b1
Test fixes + run script.
2017-09-05 12:01:20 +02:00
David Gelvin
8744714574
Reorganized dir
2010-09-27 16:30:16 +03:00
David Gelvin
802d92255d
Rewrote tests
2010-09-23 19:40:32 +03:00
David Gelvin
ebf979fa53
Added register / unregister to __init__
2010-09-23 15:51:59 +03:00
David Gelvin
093a0ef457
Renamed utils to registry
2010-09-23 13:58:11 +03:00
David Gelvin
c7e595fdf9
Renamed app to eav, added version to __init__
2010-09-23 13:42:30 +03:00
David Gelvin
e5d83e365a
Added license to __init__ and fixed nosetests
2010-09-23 13:05:40 +03:00
David Gelvin
a53bc53daa
Major refactor
2010-09-22 15:28:19 +03:00
David Gelvin
515cdf07ee
Rename models, config attrs, started admin intigration
2010-09-22 11:02:28 +03:00
David Gelvin
5120ab4ac9
Added docs to test
2010-09-17 12:56:52 +03:00
David Gelvin
39e6a21403
Added documentation and tests
2010-09-17 12:50:28 +03:00
David Gelvin
9a5e3574e1
Rewrote filters. Again.
2010-09-17 00:10:38 +03:00
David Gelvin
75bf922020
Merge branch 'master' into dev
2010-09-10 16:21:41 +00:00
ksamuel
0c1f6377c7
Failing tests for filter
2010-09-10 16:02:51 +00:00
David Gelvin
eacd87b156
Updated tests for new null boolean
2010-09-10 15:55:43 +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
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
4a889b48bf
Many fixes and filtering
2010-09-08 12:10:47 +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
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
bdf3e464bd
Fixed: get_eva_attribute are now called as a classmethod
2010-09-07 13:52:16 +00:00
ksamuel
9ce78e1418
Added test for _save_single
2010-09-07 13:09:27 +00:00
ksamuel
d54b73a4cd
Added test for set and get
2010-09-07 12:45:57 +00:00
ksamuel
8ff5a917e7
Fixed add_label and added test for add_label
2010-09-07 11:18:15 +00:00
ksamuel
36c212b42d
Fix in tests import
2010-09-07 10:35:31 +00:00
David Gelvin
b105833866
Merge branch 'master' of github.com:mvpdev/eav
2010-09-07 10:28:12 +00:00
David Gelvin
900e75b010
More fixes
2010-09-07 10:25:48 +00:00
ksamuel
42206683e4
Merge branch 'master' of github.com:mvpdev/eav
2010-09-07 10:24:40 +00:00
David Gelvin
a77b1e3e6e
Added new fields, validation, etc...
2010-09-07 10:11:09 +00:00
ksamuel
4b675f58d4
Added test for class parameters
2010-09-07 10:02:16 +00:00
ksamuel
c9e34de99f
Settings are all passed will the configuration class
2010-09-07 09:52:03 +00:00
David Gelvin
b59c5b60bb
Reorganized files
2010-09-07 08:33:42 +00:00