Commit Graph

490 Commits (115aad641dc633a2de6e94d02f355abbb7403898)

Author SHA1 Message Date
Brandon Taylor 789f22b69b Merge branch 'sortable-by-refactor' 2011-11-22 22:25:45 -06:00
Brandon Taylor 7c7fbd5130 Adding sqlite db with sample project data. 2011-11-22 22:25:11 -06:00
Brandon Taylor 63a80f5953 Incremented version to 1.2.
Refactored ORM calls to properly order objects by the sortable_by property to ensure objects are grouped correctly in the sortable change list template after being passed through dynamic_regroup.
Fixed missing import for jquery.effects.core, again.
Refactored sortable_by classmethod into a property.
2011-11-22 22:19:39 -06:00
Brandon Taylor fe01094ac6 Merge branch 'master' of github.com:btaylordesign/django-admin-sortable 2011-11-22 21:00:19 -06:00
Brandon Taylor fd06064d48 Mode switches. 2011-11-22 20:58:09 -06:00
unknown 1b9c5c0a64 Refactored sortable_by into a property instead of a classmethod.
Added backwards compatibility for pre 1.1.1 versions that still have sortable_by defined as a classmethod.
Need to address dynamic regroup template tag to see why categories are not being grouped properly in sample app.
2011-11-22 20:42:36 -06:00
Brandon Taylor fba568399c Eliminated setting of self.order to 1 if Max returns None, as order has a default value of 1 defined in the field. 2011-11-16 20:50:12 -06:00
Brandon Taylor 7a242dd41c Refactored classmethods to use aggregation Max instead order_by. 2011-11-16 20:24:33 -06:00
Brandon Taylor 30c19c257a Incremented version to 1.1.1 2011-11-16 00:50:18 -06:00
Brandon Taylor 8365043e0e Modified classmethod queries that determine if a Model is sortable to only retieve one record and not use count.
Fixed jQueryUI highlight method call in success handler of ajax function when dragging stops.
Fixed missing script resource for jquery.effects.core.js
2011-11-16 00:48:14 -06:00
Brandon Taylor 638f26df27 Updated version to 1.1.0 2011-10-04 12:36:31 -05:00
Brandon Taylor 1117941f91 Added KeyError handling on do_sorting_view 2011-10-04 12:01:06 -05:00
Brandon Taylor 8e23b98e6a Merge branch 'master' of github.com:btaylordesign/django-admin-sortable 2011-09-24 11:22:23 -05:00
Brandon Taylor 5cfae6f40b Updated version to 1.0.9 2011-09-24 11:21:57 -05:00
Brandon Taylor 8e15caedaa Merge pull request #3 from EightMedia/master
Merging pull request for: Styling and i18n for the new templates
2011-09-22 07:05:51 -07:00
Jaap Roes 3bc05b0fa5 Back link now returns to change list 2011-09-22 15:54:29 +02:00
Jaap Roes def6b940f2 Added i18n files and Dutch translations, also included locale directory in MANIFEST file 2011-09-22 15:53:10 +02:00
Jaap Roes 612ab190cf Made new template strings translateable 2011-09-22 15:52:19 +02:00
Jaap Roes 00bcdc754a Call block.super for extrahead/extrastyles blocks 2011-09-22 15:23:01 +02:00
Brandon Taylor cbd612d128 Updated version to 1.0.8
Updated README and COPYRIGHT
2011-09-17 17:47:06 -05:00
Brandon Taylor e214dcd067 Moved jQuery import back to Google CDN. 2011-09-17 17:35:08 -05:00
Brandon Taylor 3aa8b1983f Merge branch 'master' of github.com:btaylordesign/django-admin-sortable 2011-09-17 16:48:23 -05:00
Brandon Taylor e1311fc6f5 Added support for non-numeric primary keys 2011-09-17 16:48:14 -05:00
Brandon Taylor 8db3ad417b Removed print statement in template tag.
Increased version to 1.0.7
2011-09-14 23:07:24 -05:00
Brandon Taylor 31f28d5b50 Removed all .pyc files 2011-09-14 09:17:31 -05:00
Brandon Taylor 1c6a0acc7e Added *.pyc and *.pyo to .gitignore 2011-09-14 09:16:49 -05:00
Brandon Taylor d91f9fb420 Changed version to 1.0.6 2011-09-14 09:13:02 -05:00
Brandon Taylor 1286fc6f46 Ugh. Fixed typo in recursive include command. 2011-09-14 09:11:29 -05:00
Brandon Taylor 7159b7709a Added manifest to include static and templates directories in distro and also exclude the sample project from the installed source.
Fixes Github issue #1
2011-09-14 09:06:50 -05:00
Brandon Taylor 9fadb30670 Updated version to 1.0.5 2011-09-11 01:26:07 -05:00
Brandon Taylor d24225ab5d Updated README to include instructions on new name of static files directory and for use with contrib.staticfiles. 2011-09-11 01:24:54 -05:00
Brandon Taylor 6c3e93ded8 Changed name of static media folder from \"media\" to \"static\" for use with django.contrib.staticfiles app. 2011-09-11 01:22:19 -05:00
Brandon Taylor 2f2aeff0ec Fixed if statements so they won't bomb if inline class doesn't subclass sortable. 2011-09-03 22:46:05 -05:00
Brandon Taylor d67112e66d Added login credential information to main README.
Added README for sample_project that also contains login credentials for the impatient.
2011-09-03 22:21:37 -05:00
Brandon Taylor 7df70a2339 Updated version to 1.0.4.
Updated setup.py
2011-09-03 22:11:40 -05:00
Brandon Taylor 7ad1925ec1 Updated example to demonstrate SortableStackedInline 2011-09-03 22:10:27 -05:00
Brandon Taylor 5d10de5ed4 Added SortableInlineBase class to do subclass checking. 2011-09-03 22:03:40 -05:00
Brandon Taylor 971de8423c Added support for stacked inline models.
Added highlighting to sorted inline.
Added migrations to add Note class to database.
Added SortableInlineBase for checking type of model specified in inline model subclasses Sortable.
2011-09-03 22:02:48 -05:00
Brandon Taylor 4e38d8fbe1 Adding files to repo. 2011-08-31 19:51:02 -05:00
Brandon Taylor 41b83e155f first commit 2011-08-31 19:45:13 -05:00