Commit graph

166 commits

Author SHA1 Message Date
Corey Oordt
f3cc72a76b Fix for django 1.4 compatibility 2012-03-06 15:05:03 -05:00
Corey Oordt
d194974635 Removed an errant print statement 2012-03-06 15:04:19 -05:00
Corey Oordt
5487447260 Removed the __init__ method for the treechange list. Don't need it and it varies too much by django version. Version bump to 1.0final 2012-02-15 08:56:24 -05:00
Corey Oordt
8abf9840c1 Version bump to 1.0b2 2012-02-15 08:56:24 -05:00
Corey Oordt
6d44ee2d62 The admin prior to 1.4 requires a different result from get_ordering 2012-02-15 08:56:24 -05:00
Corey Oordt
96a3f61928 Allow the setting of a SLUG_TRANSLITERATOR to convert non-ASCII characters to ASCII characters. 2012-02-15 08:56:23 -05:00
Corey Oordt
65ef584cf4 Version bump to 1.0b1 2012-02-15 08:56:23 -05:00
Corey Oordt
768291d720 Moved the base models to base.py and did a few PEP8 cleanups 2012-02-15 08:54:33 -05:00
Corey Oordt
7428f87394 This fixes #31
* Uses the incorrect version segment. Although it works in 1.4a1, it is not perfect.
2012-02-15 08:54:33 -05:00
Corey Oordt
3b0cf8da4c Moved the base classes to a new file to isolate them. 2012-02-15 08:54:33 -05:00
Corey Oordt
7f48b70478 Added compatibility with Django 1.4 2012-02-15 08:54:33 -05:00
Corey Oordt
c69047d259 Refactored the admin into a base class for subclasses. 2012-02-15 08:54:33 -05:00
Corey Oordt
3cfc812410 Updated migrations to include a data migration. 2012-02-15 08:54:33 -05:00
Corey Oordt
fdf968fb6e Extracted a base class for categories to allow other apps to make their own independent category-style models.
* Updated for django-mptt 0.5.2
* Fixed typo in the CategoryRelation field in that the foreign key is called 'story'
* Made the order field non-null and default to 0
* Changed the parent foreign key a TreeForeignKey (for 0.5.2)
* Changed requirements to mptt>=0.5.2
* Added a migration for model changes.
2012-02-15 08:54:33 -05:00
Corey Oordt
84f84e10c8 Updated the default view caching to 600, which is the django default instead of forcing the views to NEVER cache at all. 2012-02-15 08:54:32 -05:00
Jose Soares
f6c06a2bf6 Addresses issue #27; updated musicgenres.json 2012-02-06 15:44:32 -05:00
Jose Soares
2ea3d2337e Fixes issue #30; includes static directory when packaged 2012-02-06 13:23:51 -05:00
Jose Soares
07f698c638 Moved the editor app so its inside the categories app 2012-01-11 15:22:29 -05:00
Corey Oordt
f6502f45a3 Version bump to 0.8.7 2012-01-04 23:54:21 -05:00
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