Commit graph

138 commits

Author SHA1 Message Date
JP White
3d94eb3ec2 Adding registration decorator and updating README with Prereqs for Sites Framework 2015-08-15 23:34:11 -04:00
dorey
86098dc1cd Merge pull request #30 from fosil/fosil-patch-1
Fix Python 3 syntax error
2015-06-23 13:42:22 -04:00
Filip Novák
16ec66e09d Fix Python 3 syntax error 2015-06-23 13:56:03 +02:00
dorey
d41f10468c Merge pull request #27 from madEng84/master
bugfix #26 - support for new ContentType-s field related_query_name
2015-02-18 13:35:19 -05:00
MadEng84
55afd2aab9 bugfix #26 - support for new ContentType-s field related_query_name 2015-02-17 10:29:54 +01:00
dorey
7aae3e0bfb Merge pull request #22 from gingerjoos/patch-1
Change get_or_create() to return tuple
2013-12-30 23:16:57 -08:00
GingerJoos
6d6e42e3c4 Change get_or_create() to return tuple
Change get_or_create() to return a tuple, confirming to Django's default behaviour ( see https://docs.djangoproject.com/en/dev/ref/models/querysets/#get-or-create )
2013-12-31 12:04:27 +05:30
dorey
d756504fc6 Merge pull request #21 from tavaresb/master
Record creation speed up, no need to fetch all attributes on each save
2013-11-27 09:27:34 -08: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
Bruno Tavares
1ac549409a no need to fetch all attributes on each save! 2013-11-25 22:23:31 +00:00
dorey
27c2121754 Merge pull request #17 from nyaruka/master
DB Optimization for save and validate
2013-03-21 11:38:03 -07: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
Moses Katembu
24be357a30 Merge pull request #12 from timlinux/master
get_all_attribute_slugs bug fix
2012-04-05 13:06:30 -07: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
David Gelvin
bd541d5fb7 Respect user fieldsets. Thanks pagles for the issue and patch 2011-03-02 21:09:48 +02:00
Steve Ivy
1a346613a1 Update args for render_change_form for Django 1.0+ 2011-02-26 15:01:16 -07:00
David Gelvin
e8b5849de2 Merge branch 'master' of github.com:mvpdev/django-eav 2010-11-09 17:31:47 +03:00
David Gelvin
9f53a9b290 Include eav.tests in setup.py 2010-11-09 17:31:05 +03: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
39a1c95920 Removed uuid (not used) 2010-09-29 18:52:58 +03:00
David Gelvin
9bfb30b94b More spelling corrections 2010-09-29 13:25:41 +03:00
David Gelvin
44d6f473c5 Fixed spelling error 2010-09-29 13:23:17 +03:00
David Gelvin
5a3046b1dd Updated docs 2010-09-29 13:12:17 +03:00
David Gelvin
6561034bfd Doc fix 2010-09-29 13:09:08 +03:00
David Gelvin
28c8c5ed0f Doc changes 2010-09-29 13:07:26 +03:00
David Gelvin
df16ed379d Updated install docs 2010-09-29 13:04:02 +03:00
David Gelvin
3c1d3c9de3 Minor setup / README changes 2010-09-29 12:58:14 +03:00
David Gelvin
f889f89dcb Readme tweak 2010-09-28 16:44:14 +03:00
David Gelvin
d669a6fdaa Renamed README 2010-09-28 16:41:27 +03:00
David Gelvin
0436a7f497 Updated README 2010-09-28 16:39:57 +03:00
David Gelvin
e944804173 Added setup, tweaked docs 2010-09-28 13:45:20 +03:00
David Gelvin
8744714574 Reorganized dir 2010-09-27 16:30:16 +03:00
David Gelvin
0264919f88 Reorganized dir 2010-09-27 16:28:52 +03:00
David Gelvin
d6cc4eedfb Minor changes to registry 2010-09-24 12:51:09 +03:00
David Gelvin
23d44981a5 Refactored registration 2010-09-24 12:48:37 +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
41ff6972a2 Refactored registry 2010-09-23 15:31:00 +03:00