Siegmeyer of Catarina
9bf3dbfb5d
Migrate module docstrings to Google-style format ( #10 ) ( #5 )
2018-06-03 15:42:16 +02:00
Siegmeyer of Catarina
e5cd77b075
Sort imports ( #3 )
...
Make import statements PEP 8 compliant.
2018-05-31 03:21:20 +02:00
Iwo Herka
b99a3c0641
Move license notice to root directory ( #3 )
2018-05-18 13:37:39 +02:00
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
342fee006a
Remove Vim directives
2018-04-06 16:53:32 +02:00
Iwo Herka
8131da4389
Fix misc_models test
2018-04-06 14:45:27 +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
Hamdi Sahloul
464a947548
Support attribute per model and attributes ordering
2016-10-14 02:00:55 +09:00
Marc Chakiachvili
1eb6c3cd49
Correct sites error when running 'makemigrations'
2016-01-18 15:03:46 +01:00
Marc Chakiachvili
05866d2f9e
Make eav 'timezone' aware :
...
- changed called from datetime.now to timezone.now
- changed called from datetime(...) to timezone.datetime(...)
- changed forms validator as well
2016-01-15 15:16:28 +01:00
Marc Chakiachvili
91d3c47042
Compatibility from django 1.9 - Issue #35
2016-01-15 11:16:10 +01:00
Filip Novák
16ec66e09d
Fix Python 3 syntax error
2015-06-23 13:56:03 +02:00
Bruno Tavares
7d3016cfbc
Make doctest skip invalid tests
2013-11-25 23:17:52 +00:00
Bruno Tavares
7f92a4ec20
Trying to avoid doctest
2013-11-25 23:01:34 +00:00
Bruno Tavares
94b4dd762b
more fixes to the tests
2013-11-25 22:56:18 +00:00
Bruno Tavares
fdc7886614
in doc test correction ( duplicate key )
2013-11-25 22:52:18 +00:00
Bruno Tavares
a70b9c5359
Fixed in do test
2013-11-25 22:50:15 +00:00
Bruno Tavares
7a2fd8bfa1
Corrected test
2013-11-25 22:49:02 +00:00
Nic Pottier
2b8eaf9e44
big optimization to save and validate hooks to not cause lots of single db queries
2013-02-19 17:05:30 +02:00
Tim Sutton
c373704c50
Some small typo fixes
2012-04-04 22:57:54 +02:00
Tim Sutton
21aa62a35c
Fix Unexpected keyword arguments to values_list: ['Flat'] bug in models.entity.get_all_attribute_slugs
2012-04-04 22:56:24 +02:00
Steve Ivy
17a0bf4203
admin fixes:- switch order of objects and on_site properties on Attribute so that all Attributes are listed in the admin- add site to list_display and list_filter
2011-03-09 10:39:43 -07:00
Andrew Marder
b608a0ae6d
removed unique together statement that forced the eav to act like a dict, now the eav acts like a multi-valued dict. This is useful for my use case where a family (a single entity) may have multiple children (multiple values for the same attribute).
2010-11-02 09:13:24 -04:00
David Gelvin
1b67380d0e
Removed slug as primary key
2010-09-30 12:45:29 +03:00
David Gelvin
5ccc3f012a
Added sites framework
2010-09-30 12:43:26 +03:00
David Gelvin
9cf3b5b9f1
Merge branch 'dev' of github.com:mvpdev/django-eav into dev
2010-09-30 12:26:32 +03:00
David Gelvin
3de8d13b7d
Fixed doctest
2010-09-30 12:26:20 +03:00
David McCann
78f6164db0
made slug the primary key (as it's unique anyway). This allows other apps to load fixed Attributes from fixtures with less chance of colliding with other fixtures in other apps.
2010-09-30 11:02:43 +03:00
David Gelvin
0264919f88
Reorganized dir
2010-09-27 16:28:52 +03:00