Commit graph

147 commits

Author SHA1 Message Date
Corey Oordt
416898d2a5 Changed behavior of (de)activating an item within the change form:
Instead of changing all descendants' active status to the current item's, it will only change the descendants' active status if the item is False.

As it makes sense to have an item active, but its children inactive, it doesn't make sense that an item is inactive, but its descendants are active.

This doesn't change the activate/deactivate admin actions. They will always  affect an item and its descendants.
2012-01-04 23:53:50 -05:00
Corey Oordt
06713d7803 Bumped the version number to 0.8.6 and altered the get_version a bit. 2012-01-03 09:18:10 -05:00
Corey Oordt
6f6241c264 Altered the field type of the alternate url field from URL to Char. This allows relative urls, instead of full urls.
Added a migration in case the database complains. Really doesn't do anything on that level
2012-01-03 09:18:10 -05:00
David Charbonnier
798d20da3d fix missing imports 2011-12-20 08:09:18 +01:00
Corey Oordt
40f4d19b82 Version Bump to 0.8.5 2011-11-03 09:25:29 -04:00
Corey Oordt
e0365e8382 Fixes issue #26 by limiting the slug to the first 50 characters. 2011-11-03 09:24:39 -04:00
Corey Oordt
c0359454ec Bumped version to 0.8.4 2011-10-14 13:50:24 -04:00
Corey Oordt
586fefed79 Added a version check to support Django 1.1 in a core Django function 2011-10-14 13:50:11 -04:00
Corey Oordt
432fccae12 Version bump to 0.8.3 2011-10-13 09:35:13 -04:00
Corey Oordt
ac117419ba Activate and Deactivate of a child no longer (de)activates their parent.
The query set includes the entire hierarchy. So manually get the categories based on the selected items. Then do them and their children
2011-10-13 09:35:02 -04:00
Corey Oordt
a883e69451 Remove the delete action from the available actions. 2011-10-13 09:32:55 -04:00
Corey Oordt
fdbb08431e Version bump to 0.8.2 2011-09-04 19:56:22 -04:00
Corey Oordt
801d269c41 Bumped version to 0.8.1 2011-08-29 06:39:27 -04:00
Corey Oordt
2a0b4768a3 Fixes a bug trying to set active on decendants before object is saved. 2011-08-29 06:39:00 -04:00
Corey Oordt
bcd38da766 Version bump. 2011-08-22 09:54:28 -04:00
Corey Oordt
3fe50040c3 Improved Category import. 2011-08-22 09:51:53 -04:00
Corey Oordt
3e8a10ad4e Added an active flag for models 2011-08-22 09:51:11 -04:00
Corey Oordt
8d0b5f942b Version bump to 0.7.2 2011-08-19 10:19:14 -04:00
Corey Oordt
7cb74829ea Added a check in migrate_app to see if the app is a string or not. 2011-08-19 10:13:18 -04:00
Corey Oordt
309accf3e0 Updated the get_version function to be PEP 386 compliant and version bump to 0.7.2b1 2011-08-19 10:05:25 -04:00
Corey Oordt
4d4793db36 PEP 8 formatting 2011-08-19 10:04:39 -04:00
Corey Oordt
5a74525446 Ensure that the slug is always within the 50 characters it needs to be. 2011-08-18 10:31:52 -04:00
Corey Oordt
4107cdd125 Changed the DatabaseError import to be more compatible 2011-08-18 10:31:22 -04:00
Corey Oordt
4d3fdb0ba9 Version bump to 0.7.1 2011-08-03 14:23:52 -04:00
Corey Oordt
3b6d469b89 Due to settings, the migration for the category relations table never would be created. This fixes it 2011-08-03 14:23:30 -04:00
Corey Oordt
fa6e2f1153 Final version: 0.7 2011-08-02 13:46:39 -04:00
Corey Oordt
b1ad054759 Forgot to add the alternate_url to the admin. 2011-08-02 13:43:15 -04:00
Corey Oordt
6aae69b015 Altered the inline template to display the content_object instead of the __unicode__ of the middle table. 2011-08-02 11:25:57 -04:00
Corey Oordt
7bdfb32474 Added a setting for the JAVASCRIPT_URL to make placement of the genericcollections.js file easier 2011-08-02 10:54:35 -04:00
Corey Oordt
e922506fd9 Added compatibility with Django 1.1 by adding missing methods for editor and bumped version to 0.7beta2 2011-08-02 07:08:27 -04:00
Corey Oordt
d3cbb62b5d Added a get_latest_objects_by_category template tag. Might be useful. 2011-08-01 09:14:18 -04:00
Corey Oordt
fdc025d812 Added the ability to add the appropriate fields to a table if configured after an initial syncdb. 2011-08-01 09:12:39 -04:00
Corey Oordt
cedd54e85d Added an alternate url field to the model. 2011-08-01 09:09:34 -04:00
Corey Oordt
7e83b12a41 Refactored the registry into a registry of models and fields. This will make it easier for migrations. 2011-08-01 09:08:31 -04:00
Corey Oordt
28bb8e53fd Bumping the version to 0.7beta1 2011-08-01 09:06:59 -04:00
Corey Oordt
89e3307117 Deleted old migration scripts since they were migrated to south 2011-07-28 12:49:45 -04:00
Corey Oordt
6f26261c50 Version bump to 0.6 2011-05-18 07:26:54 -04:00
Corey Oordt
d90dccda01 Fixed a problem in the new admin creation where it wouldn't properly filter out the category fields by model 2011-05-16 08:57:29 -04:00
Corey Oordt
97c45e702f The registry default settings needs to be an empty dict, not list. 2011-05-16 08:56:27 -04:00
Corey Oordt
4e8f490714 Enable registering of models in settings. 2011-05-16 08:56:01 -04:00
Corey Oordt
141f753a95 Putting registry outside of the try block 2011-05-13 08:16:18 -04:00
Corey Oordt
7639d95721 Version bump to 0.6beta4 2011-05-12 10:03:25 -04:00
Corey Oordt
93cd476c57 Updating settings for Django 1.3 2011-05-12 10:03:11 -04:00
Corey Oordt
3d91ff1faf Version bump to 0.6beta3 2011-05-12 06:57:07 -04:00
Corey Oordt
64dd94aa43 Ah, the wonders of copying and pasting. Fixed some errors resulting from it. 2011-05-12 06:55:08 -04:00
Corey Oordt
d64ad65a7c Version bump to 0.6beta2 2011-05-12 06:47:11 -04:00
Corey Oordt
05a55fea7d Added a Deprecation warning for CATEGORIES_RELATION_MODELS 2011-05-12 06:46:21 -04:00
Corey Oordt
32b5451c15 Clean up per pylint. 2011-05-12 06:45:36 -04:00
Corey Oordt
efe3cdd06b Refactored the thumbnail from imagefield to filefield.
Why? ImageField causes hits to storage to fill out certain fields. Added a storage class and width/height fields so it is possible to scale the thumbnails and store them somewhere besides the filesystem.
2011-05-11 09:01:33 -04:00
Corey Oordt
8e843fbcd1 Adding South migrations 2011-05-11 08:58:39 -04:00