philo.git
14 years agoFixing a bug in BlogView's tag_view where it would provide a QuerySet as `tag` instea...
Joseph Spiros [Mon, 5 Jul 2010 18:59:56 +0000 (14:59 -0400)]
Fixing a bug in BlogView's tag_view where it would provide a QuerySet as `tag` instead of the Tag instance.

14 years agoIncreasing the max_length of the slug field on Titled (and all subclasses).
Joseph Spiros [Mon, 5 Jul 2010 18:34:47 +0000 (14:34 -0400)]
Increasing the max_length of the slug field on Titled (and all subclasses).

14 years agoMerge branch 'master' of git://github.com/kgodey/philo
Joseph Spiros [Mon, 5 Jul 2010 18:32:27 +0000 (14:32 -0400)]
Merge branch 'master' of git://github.com/kgodey/philo

* 'master' of git://github.com/kgodey/philo:
  Fixed null constraint on entries_per_page in BlogView
  Edited unicode methods and added some null=True, blank=True constraints.

14 years agoFixed null constraint on entries_per_page in BlogView
Kriti Godey [Mon, 5 Jul 2010 18:29:35 +0000 (23:59 +0530)]
Fixed null constraint on entries_per_page in BlogView

14 years agoEdited unicode methods and added some null=True, blank=True constraints.
Kriti Godey [Mon, 5 Jul 2010 17:57:03 +0000 (23:27 +0530)]
Edited unicode methods and added some null=True, blank=True constraints.

14 years agoAdding __unicode__ to BlogViews.
Joseph Spiros [Sat, 3 Jul 2010 13:08:45 +0000 (09:08 -0400)]
Adding __unicode__ to BlogViews.

14 years agoMerge branch 'master' of git://github.com/kgodey/philo
Joseph Spiros [Fri, 2 Jul 2010 12:01:05 +0000 (08:01 -0400)]
Merge branch 'master' of git://github.com/kgodey/philo

* 'master' of git://github.com/kgodey/philo:
  Updated models, created separate files called utils and validators.
  Fixed File unicode method and added pagination to the BlogNode's index template. More robust pagination to be done.

14 years agoMerge branch 'penfield'
Kriti Godey [Fri, 2 Jul 2010 11:54:56 +0000 (17:24 +0530)]
Merge branch 'penfield'

14 years agoMerge branch 'master' into penfield, cleaned up.
Kriti Godey [Fri, 2 Jul 2010 11:51:13 +0000 (17:21 +0530)]
Merge branch 'master' into penfield, cleaned up.

14 years agoUpdated models, created separate files called utils and validators.
Kriti Godey [Fri, 2 Jul 2010 09:17:39 +0000 (14:47 +0530)]
Updated models, created separate files called utils and validators.

14 years agoAdded uniqueness constraints to Tag, NewsletterArticle, and NewsletterIssue, and...
Joseph Spiros [Wed, 30 Jun 2010 11:44:35 +0000 (07:44 -0400)]
Added uniqueness constraints to Tag, NewsletterArticle, and NewsletterIssue, and added ordering to NewsletterArticle and NewsletterIssue.

14 years agoFleshed out NewsletterView further, and updated BlogView to match.
Joseph Spiros [Wed, 30 Jun 2010 11:33:31 +0000 (07:33 -0400)]
Fleshed out NewsletterView further, and updated BlogView to match.

14 years agoSwitched all references to Templates in BlogViews and NewsletterViews for references...
Joseph Spiros [Wed, 30 Jun 2010 00:04:32 +0000 (20:04 -0400)]
Switched all references to Templates in BlogViews and NewsletterViews for references to Pages.

14 years agoFixed a bug in ContentTypeSubclassLimiter whereby it would only return direct subclas...
Joseph Spiros [Tue, 29 Jun 2010 23:58:33 +0000 (19:58 -0400)]
Fixed a bug in ContentTypeSubclassLimiter whereby it would only return direct subclasses of the specified class. It now returns all non-abstract model subclasses, however deep in the class hierarchy.

14 years agoMultiViews now pass extra_context and node to view functions that accept them as...
Joseph Spiros [Tue, 29 Jun 2010 23:25:49 +0000 (19:25 -0400)]
MultiViews now pass extra_context and node to view functions that accept them as arguments.

14 years agoAdded support for tags to Blogs and BlogViews.
Joseph Spiros [Tue, 29 Jun 2010 23:02:31 +0000 (19:02 -0400)]
Added support for tags to Blogs and BlogViews.

14 years agoAdded app_label to Tag. Removed app_label from abstract models, as it would be inheri...
Joseph Spiros [Tue, 29 Jun 2010 22:39:56 +0000 (18:39 -0400)]
Added app_label to Tag. Removed app_label from abstract models, as it would be inherited by non-abstract subclasses in other applications.

14 years agoMerge branch 'penfield'
Joseph Spiros [Tue, 29 Jun 2010 17:58:35 +0000 (13:58 -0400)]
Merge branch 'penfield'

* penfield:
  Fleshed out Newsletter, NewsletterArticle, NewsletterIssue, and NewsletterView.
  Moved Tag, and the Titled abstract model, from penfield into philo proper. Added support for a PHILO_PERSON_MODULE setting, and penfield models now refer to that for author fields (by default, it is set to auth.User, so in effect this changes nothing).
  Switching to new Node/View system.
  Tags implemented in Penfield, added to blog entries.
  The index template gets a queryset of entries now.
  Fixed date ordering.
  Fixed blog entries plural and ordering.
  Started implementation of Newsletter models.
  Separating Blogs from the nodes that render them, creating BlogNodes.
  Finished implementing blogs with the exception of tag support.
  Initial skeleton of penfield application, and partial implementation of Entry and Blog models.

14 years agoFleshed out Newsletter, NewsletterArticle, NewsletterIssue, and NewsletterView
Joseph Spiros [Tue, 29 Jun 2010 17:56:12 +0000 (13:56 -0400)]
Fleshed out Newsletter, NewsletterArticle, NewsletterIssue, and NewsletterView

14 years agoMoved Tag, and the Titled abstract model, from penfield into philo proper. Added...
Joseph Spiros [Tue, 29 Jun 2010 15:37:39 +0000 (11:37 -0400)]
Moved Tag, and the Titled abstract model, from penfield into philo proper. Added support for a PHILO_PERSON_MODULE setting, and penfield models now refer to that for author fields (by default, it is set to auth.User, so in effect this changes nothing).

14 years agoMerge branch 'master' into penfield
Joseph Spiros [Mon, 28 Jun 2010 20:04:19 +0000 (16:04 -0400)]
Merge branch 'master' into penfield

14 years agoFixing imports on admin.widgets, forgot to move some from admin.base.
Joseph Spiros [Mon, 28 Jun 2010 20:03:50 +0000 (16:03 -0400)]
Fixing imports on admin.widgets, forgot to move some from admin.base.

14 years agoMerge branch 'master' into penfield
Joseph Spiros [Mon, 28 Jun 2010 20:00:30 +0000 (16:00 -0400)]
Merge branch 'master' into penfield

14 years agoChanging the Template container node detection code to use the child_nodelists attrib...
Joseph Spiros [Sun, 27 Jun 2010 11:15:15 +0000 (07:15 -0400)]
Changing the Template container node detection code to use the child_nodelists attribute implemented on relevant nodes in Django 1.2. Therefore, Django 1.2 is now required.

14 years agoMerge branch 'master' into penfield
Joseph Spiros [Sat, 26 Jun 2010 13:08:28 +0000 (09:08 -0400)]
Merge branch 'master' into penfield

14 years agoAdding extra_context to render_to_response on Nodes and Views, adding (attributes...
Joseph Spiros [Sat, 26 Jun 2010 13:06:18 +0000 (09:06 -0400)]
Adding extra_context to render_to_response on Nodes and Views, adding (attributes|relationships)_with_node to Views, and implemented usage of both additions in Page.

14 years agoMerge branch 'penfield-new-nodes' into penfield
Joseph Spiros [Fri, 25 Jun 2010 18:11:12 +0000 (14:11 -0400)]
Merge branch 'penfield-new-nodes' into penfield

14 years agoSwitching to new Node/View system.
Joseph Spiros [Fri, 25 Jun 2010 18:10:19 +0000 (14:10 -0400)]
Switching to new Node/View system.

14 years agoMerge branch 'master' into penfield-new-nodes
Joseph Spiros [Fri, 25 Jun 2010 18:05:36 +0000 (14:05 -0400)]
Merge branch 'master' into penfield-new-nodes

14 years agoInitial implementation of new Node system whereby Nodes are separate from the objects...
Joseph Spiros [Fri, 25 Jun 2010 17:58:04 +0000 (13:58 -0400)]
Initial implementation of new Node system whereby Nodes are separate from the objects that render them.

14 years agoMerge branch 'master' into penfield
Joseph Spiros [Wed, 23 Jun 2010 17:32:19 +0000 (13:32 -0400)]
Merge branch 'master' into penfield

14 years agoMinor cosmetic cleanup of model references following the models module restructuring.
Joseph Spiros [Wed, 23 Jun 2010 17:30:58 +0000 (13:30 -0400)]
Minor cosmetic cleanup of model references following the models module restructuring.

14 years agoMerge branch 'master' into penfield
Joseph Spiros [Wed, 23 Jun 2010 16:28:12 +0000 (12:28 -0400)]
Merge branch 'master' into penfield

14 years agoSplitting models into submodules beside models.base.
Joseph Spiros [Wed, 23 Jun 2010 16:26:10 +0000 (12:26 -0400)]
Splitting models into submodules beside models.base.

14 years agoRenaming models.all to models.base.
Joseph Spiros [Wed, 23 Jun 2010 15:43:04 +0000 (11:43 -0400)]
Renaming models.all to models.base.

14 years agoSwitching models module to use a directory (models/) rather than a single file (model...
Joseph Spiros [Tue, 22 Jun 2010 16:43:02 +0000 (12:43 -0400)]
Switching models module to use a directory (models/) rather than a single file (models.py).

14 years agoMerge branch 'master' into penfield
Joseph Spiros [Tue, 22 Jun 2010 16:12:37 +0000 (12:12 -0400)]
Merge branch 'master' into penfield

14 years agoMerge branch 'melinath'
Joseph Spiros [Tue, 22 Jun 2010 16:12:12 +0000 (12:12 -0400)]
Merge branch 'melinath'

* melinath:
  Pre-merge cleanup.
  Switched URLRedirectValidator and URLLinkValidator to subclass directly from RegexValidator. --Avoids having to implement verify_exists for a link on a node that, say, might not even be on a site per se. If that's something I want later, I can look at it then... for now, this will fulfill its function just fine.
  Explicated DoesNotExist exception for PageAdmin save_model method.
  Added get_path fallback to slug to increase information flow by reducing the number of ? displayed
  Revert Redirect unicode.
  Added Redirect unicode.
  Added redirect and link validators to allow internal-style absolute and relative links/redirects.
  Fixed null content reference id bug.

14 years agoPre-merge cleanup.
Joseph Spiros [Tue, 22 Jun 2010 16:11:41 +0000 (12:11 -0400)]
Pre-merge cleanup.

14 years agoMerge git://github.com/melinath/philo into melinath
Joseph Spiros [Tue, 22 Jun 2010 16:05:04 +0000 (12:05 -0400)]
Merge git://github.com/melinath/philo into melinath

* git://github.com/melinath/philo:
  Switched URLRedirectValidator and URLLinkValidator to subclass directly from RegexValidator. --Avoids having to implement verify_exists for a link on a node that, say, might not even be on a site per se. If that's something I want later, I can look at it then... for now, this will fulfill its function just fine.
  Explicated DoesNotExist exception for PageAdmin save_model method.
  Added get_path fallback to slug to increase information flow by reducing the number of ? displayed
  Revert Redirect unicode.
  Added Redirect unicode.
  Added redirect and link validators to allow internal-style absolute and relative links/redirects.
  Fixed null content reference id bug.

14 years agoSwitched URLRedirectValidator and URLLinkValidator to subclass directly from RegexVal...
melinath [Tue, 22 Jun 2010 02:01:25 +0000 (22:01 -0400)]
Switched URLRedirectValidator and URLLinkValidator to subclass directly from RegexValidator.
--Avoids having to implement verify_exists for a link on a node that, say, might not even be on a site per se. If that's something I want later, I can look at it then... for now, this will fulfill its function just fine.

14 years agoFixed File unicode method and added pagination to the BlogNode's index template....
Kriti Godey [Sun, 20 Jun 2010 07:19:42 +0000 (12:49 +0530)]
Fixed File unicode method and added pagination to the BlogNode's index template. More robust pagination to be done.

14 years agoExplicated DoesNotExist exception for PageAdmin save_model method.
melinath [Fri, 18 Jun 2010 19:02:55 +0000 (15:02 -0400)]
Explicated DoesNotExist exception for PageAdmin save_model method.

14 years agoAdded get_path fallback to slug to increase information flow by reducing the number...
melinath [Fri, 18 Jun 2010 15:21:42 +0000 (11:21 -0400)]
Added get_path fallback to slug to increase information flow by reducing the number of ? displayed

14 years agoRevert Redirect unicode.
melinath [Fri, 18 Jun 2010 14:53:07 +0000 (10:53 -0400)]
Revert Redirect unicode.

14 years agoMerge branch 'master' of http://git.ithinksw.org/philo
melinath [Fri, 18 Jun 2010 14:43:39 +0000 (10:43 -0400)]
Merge branch 'master' of git.ithinksw.org/philo

14 years agoMerge branch 'master' into penfield
Joseph Spiros [Fri, 18 Jun 2010 08:55:49 +0000 (04:55 -0400)]
Merge branch 'master' into penfield

14 years agoRevert "Added File unicode."
Joseph Spiros [Fri, 18 Jun 2010 08:54:26 +0000 (04:54 -0400)]
Revert "Added File unicode."

This reverts commit 49c97b01f25be1831eedf7c615849bcb08142ea5.

14 years agoAdded Redirect unicode.
melinath [Fri, 18 Jun 2010 01:33:47 +0000 (21:33 -0400)]
Added Redirect unicode.

14 years agoAdded redirect and link validators to allow internal-style absolute and relative...
melinath [Thu, 17 Jun 2010 20:25:24 +0000 (16:25 -0400)]
Added redirect and link validators to allow internal-style absolute and relative links/redirects.

14 years agoFixed null content reference id bug.
melinath [Thu, 17 Jun 2010 16:39:12 +0000 (12:39 -0400)]
Fixed null content reference id bug.

14 years agoMerge branch 'penfield' of git://github.com/kgodey/philo into penfield
Joseph Spiros [Thu, 17 Jun 2010 09:35:54 +0000 (05:35 -0400)]
Merge branch 'penfield' of git://github.com/kgodey/philo into penfield

* 'penfield' of git://github.com/kgodey/philo:
  Tags implemented in Penfield, added to blog entries.

14 years agoMerge branch 'master' into penfield
Joseph Spiros [Thu, 17 Jun 2010 09:34:22 +0000 (05:34 -0400)]
Merge branch 'master' into penfield

14 years agoMerge branch 'melinath'
Joseph Spiros [Thu, 17 Jun 2010 09:30:09 +0000 (05:30 -0400)]
Merge branch 'melinath'

* melinath:
  Revert "Made referencing containers optional on pages. Fixes a bug."
  Pre-merge cleanup.
  Fixed collapse classes
  Added contentlet unicode and fixed container context bug.
  Made referencing containers optional on pages. Fixes a bug.
  Added File unicode.
  Last random entry before more organized approach. Added documentation/admin display information and membersof templatetag. Fixed minor admin/template bugs.
  Reopened treechanges. Moved validation language to validators.py. Abstracted NodeForm to TreeForm.
  Added admin form validation to prevent: 1. a treemodel being its own parent (uses a validate_parents method added to the model.) 2. a node having the same path (i.e. parent+slug) as another Also added a ModelAdmin for the File model.
  Went back and fixed spacing issues with last cleanup. Also added some list display options to the redirect, template and page models to improve the admin site.
  Last random entry before more organized approach. Added documentation/admin display information and membersof templatetag. Fixed minor admin/template bugs.
  Reopened treechanges. Moved validation language to validators.py. Abstracted NodeForm to TreeForm.
  Added admin form validation to prevent: 1. a treemodel being its own parent (uses a validate_parents method added to the model.) 2. a node having the same path (i.e. parent+slug) as another Also added a ModelAdmin for the File model.
  Went back and fixed spacing issues with last cleanup. Also added some list display options to the redirect, template and page models to improve the admin site.

14 years agoRevert "Made referencing containers optional on pages. Fixes a bug."
Joseph Spiros [Thu, 17 Jun 2010 09:28:33 +0000 (05:28 -0400)]
Revert "Made referencing containers optional on pages. Fixes a bug."

This reverts commit c8256e579ea1a9e840619e1dade8f18353db7973 on admin.py.

14 years agoPre-merge cleanup.
Joseph Spiros [Thu, 17 Jun 2010 09:23:21 +0000 (05:23 -0400)]
Pre-merge cleanup.

14 years agoMerge git://github.com/melinath/philo into melinath
Joseph Spiros [Thu, 17 Jun 2010 08:05:44 +0000 (04:05 -0400)]
Merge git://github.com/melinath/philo into melinath

* git://github.com/melinath/philo:
  Fixed collapse classes
  Added contentlet unicode and fixed container context bug.
  Made referencing containers optional on pages. Fixes a bug.
  Added File unicode.
  Last random entry before more organized approach. Added documentation/admin display information and membersof templatetag. Fixed minor admin/template bugs.
  Reopened treechanges. Moved validation language to validators.py. Abstracted NodeForm to TreeForm.
  Added admin form validation to prevent: 1. a treemodel being its own parent (uses a validate_parents method added to the model.) 2. a node having the same path (i.e. parent+slug) as another Also added a ModelAdmin for the File model.
  Went back and fixed spacing issues with last cleanup. Also added some list display options to the redirect, template and page models to improve the admin site.
  Last random entry before more organized approach. Added documentation/admin display information and membersof templatetag. Fixed minor admin/template bugs.
  Reopened treechanges. Moved validation language to validators.py. Abstracted NodeForm to TreeForm.
  Added admin form validation to prevent: 1. a treemodel being its own parent (uses a validate_parents method added to the model.) 2. a node having the same path (i.e. parent+slug) as another Also added a ModelAdmin for the File model.
  Went back and fixed spacing issues with last cleanup. Also added some list display options to the redirect, template and page models to improve the admin site.

14 years agoRemerged clone to push to it
melinath [Wed, 16 Jun 2010 18:56:16 +0000 (14:56 -0400)]
Remerged clone to push to it

14 years agoFixed collapse classes
melinath [Wed, 16 Jun 2010 18:29:36 +0000 (14:29 -0400)]
Fixed collapse classes

14 years agoTags implemented in Penfield, added to blog entries.
Kriti Godey [Wed, 16 Jun 2010 17:58:23 +0000 (23:28 +0530)]
Tags implemented in Penfield, added to blog entries.

14 years agoMerge branch 'penfield' of git://github.com/kgodey/philo into penfield
Joseph Spiros [Wed, 16 Jun 2010 15:31:50 +0000 (11:31 -0400)]
Merge branch 'penfield' of git://github.com/kgodey/philo into penfield

* 'penfield' of git://github.com/kgodey/philo:
  The index template gets a queryset of entries now.
  Fixed date ordering.
  Fixed blog entries plural and ordering.

14 years agoMerge branch 'master' into penfield
Joseph Spiros [Wed, 16 Jun 2010 15:31:37 +0000 (11:31 -0400)]
Merge branch 'master' into penfield

14 years agoMerged origin/master
melinath [Wed, 16 Jun 2010 15:29:22 +0000 (11:29 -0400)]
Merged origin/master

14 years agoAdded contentlet unicode and fixed container context bug.
melinath [Wed, 16 Jun 2010 15:19:40 +0000 (11:19 -0400)]
Added contentlet unicode and fixed container context bug.

14 years agoMade referencing containers optional on pages. Fixes a bug.
melinath [Wed, 16 Jun 2010 14:51:27 +0000 (10:51 -0400)]
Made referencing containers optional on pages. Fixes a bug.

14 years agoMerge branch 'admin-cleanup'
Joseph Spiros [Wed, 16 Jun 2010 14:41:39 +0000 (10:41 -0400)]
Merge branch 'admin-cleanup'

* admin-cleanup:
  Making Attribute and Relationship inlines collapsible with custom template.
  Hiding save_on_top on the Page add form template, and adding template documentation to Page change forms when the page's selected template provides it.
  Pages now have a custom add form template which notifies the user that they must select a template and save before containers will be available.
  Implementing NodeAdmin and subclasses for built-in Node types.

14 years agoMaking Attribute and Relationship inlines collapsible with custom template.
Joseph Spiros [Wed, 16 Jun 2010 13:43:01 +0000 (09:43 -0400)]
Making Attribute and Relationship inlines collapsible with custom template.

14 years agoHiding save_on_top on the Page add form template, and adding template documentation...
Joseph Spiros [Wed, 16 Jun 2010 12:48:29 +0000 (08:48 -0400)]
Hiding save_on_top on the Page add form template, and adding template documentation to Page change forms when the page's selected template provides it.

14 years agoPages now have a custom add form template which notifies the user that they must...
Joseph Spiros [Wed, 16 Jun 2010 12:13:39 +0000 (08:13 -0400)]
Pages now have a custom add form template which notifies the user that they must select a template and save before containers will be available.

14 years agoImplementing NodeAdmin and subclasses for built-in Node types.
Joseph Spiros [Wed, 16 Jun 2010 11:41:25 +0000 (07:41 -0400)]
Implementing NodeAdmin and subclasses for built-in Node types.

14 years agoThe index template gets a queryset of entries now.
Kriti Godey [Wed, 16 Jun 2010 07:31:45 +0000 (13:01 +0530)]
The index template gets a queryset of entries now.

14 years agoFixed date ordering.
Kriti Godey [Wed, 16 Jun 2010 06:52:33 +0000 (12:22 +0530)]
Fixed date ordering.

14 years agoFixed blog entries plural and ordering.
Kriti Godey [Wed, 16 Jun 2010 06:51:59 +0000 (12:21 +0530)]
Fixed blog entries plural and ordering.

14 years agoAdded File unicode.
melinath [Tue, 15 Jun 2010 18:05:31 +0000 (14:05 -0400)]
Added File unicode.

14 years agoRebased to origin; removed treechanges.
melinath [Mon, 14 Jun 2010 19:42:28 +0000 (15:42 -0400)]
Rebased to origin; removed treechanges.

14 years agoLast random entry before more organized approach. Added documentation/admin display...
melinath [Mon, 14 Jun 2010 19:30:43 +0000 (15:30 -0400)]
Last random entry before more organized approach. Added documentation/admin display information and membersof templatetag. Fixed minor admin/template bugs.

14 years agoReopened treechanges. Moved validation language to validators.py. Abstracted NodeForm...
melinath [Fri, 11 Jun 2010 17:02:08 +0000 (13:02 -0400)]
Reopened treechanges. Moved validation language to validators.py. Abstracted NodeForm to TreeForm.

14 years agoAdded admin form validation to prevent:
melinath [Thu, 10 Jun 2010 22:02:52 +0000 (18:02 -0400)]
Added admin form validation to prevent:
1. a treemodel being its own parent (uses a validate_parents method added to the model.)
2. a node having the same path (i.e. parent+slug) as another
Also added a ModelAdmin for the File model.

14 years agoWent back and fixed spacing issues with last cleanup.
melinath [Thu, 10 Jun 2010 05:03:20 +0000 (01:03 -0400)]
Went back and fixed spacing issues with last cleanup.
Also added some list display options to the redirect, template and page models to improve the admin site.

14 years agoLast random entry before more organized approach. Added documentation/admin display...
melinath [Mon, 14 Jun 2010 19:30:43 +0000 (15:30 -0400)]
Last random entry before more organized approach. Added documentation/admin display information and membersof templatetag. Fixed minor admin/template bugs.

14 years agoCleaning up imports.
Joseph Spiros [Mon, 14 Jun 2010 03:06:12 +0000 (23:06 -0400)]
Cleaning up imports.

14 years agoRemoving dependency on standalone simplejson by using the version included with Djang...
Joseph Spiros [Mon, 14 Jun 2010 02:52:16 +0000 (22:52 -0400)]
Removing dependency on standalone simplejson by using the version included with Django in django.utils.

14 years agoReopened treechanges. Moved validation language to validators.py. Abstracted NodeForm...
melinath [Fri, 11 Jun 2010 17:02:08 +0000 (13:02 -0400)]
Reopened treechanges. Moved validation language to validators.py. Abstracted NodeForm to TreeForm.

14 years agoMerge branch 'treechanges'
melinath [Thu, 10 Jun 2010 22:03:49 +0000 (18:03 -0400)]
Merge branch 'treechanges'

14 years agoAdded admin form validation to prevent:
melinath [Thu, 10 Jun 2010 22:02:52 +0000 (18:02 -0400)]
Added admin form validation to prevent:
1. a treemodel being its own parent (uses a validate_parents method added to the model.)
2. a node having the same path (i.e. parent+slug) as another
Also added a ModelAdmin for the File model.

14 years agoMerge branch 'master' into cleanup
melinath [Thu, 10 Jun 2010 14:56:38 +0000 (10:56 -0400)]
Merge branch 'master' into cleanup

14 years agoMerge branch 'master' into penfield
Joseph Spiros [Thu, 10 Jun 2010 08:36:35 +0000 (04:36 -0400)]
Merge branch 'master' into penfield

14 years agoMerge branch 'melinath'
Joseph Spiros [Thu, 10 Jun 2010 08:17:25 +0000 (04:17 -0400)]
Merge branch 'melinath'

* melinath:
  Fixing style issues and an incorrect modification of .gitignore.
  Fixed the context variable leak in the blockcontainer tag.
  Fixed a bug where the ContainerNode had a nodelist_empty=None, whereas nodelist_empty is expected to be an iterable by line 314 of models.py. Also added 'nodelist_main' to the manage.py line 314 list of subnodelist possibilities and added a child_nodelists attribute to ContainerNode for possible forward-compatibility.
  First draft of blockcontainer functionality. Tries to reuse most of the code related to the original container tag by extending it, simply interpreting the values slightly differently.
  Added documentation and help text to models.py and containers.py to hopefully improve usability.

14 years agoFixing style issues and an incorrect modification of .gitignore.
Joseph Spiros [Thu, 10 Jun 2010 08:14:00 +0000 (04:14 -0400)]
Fixing style issues and an incorrect modification of .gitignore.

14 years agoMerge git://github.com/melinath/philo into melinath
Joseph Spiros [Thu, 10 Jun 2010 08:09:00 +0000 (04:09 -0400)]
Merge git://github.com/melinath/philo into melinath

* git://github.com/melinath/philo:
  Fixed the context variable leak in the blockcontainer tag.
  Fixed a bug where the ContainerNode had a nodelist_empty=None, whereas nodelist_empty is expected to be an iterable by line 314 of models.py. Also added 'nodelist_main' to the manage.py line 314 list of subnodelist possibilities and added a child_nodelists attribute to ContainerNode for possible forward-compatibility.
  Fixed a bug where the ContainerNode had a nodelist_empty=None, whereas nodelist_empty is expected to be an iterable by line 314 of models.py. Also added 'nodelist_main' to the manage.py line 314 list of subnodelist possibilities and added a child_nodelists attribute to ContainerNode for possible forward-compatibility.
  First draft of blockcontainer functionality. Tries to reuse most of the code related to the original container tag by extending it, simply interpreting the values slightly differently.
  Added documentation and help text to models.py and containers.py to hopefully improve usability.

14 years agoWent back and fixed spacing issues with last cleanup.
melinath [Thu, 10 Jun 2010 05:03:20 +0000 (01:03 -0400)]
Went back and fixed spacing issues with last cleanup.
Also added some list display options to the redirect, template and page models to improve the admin site.

14 years agoMerge branch 'master' into cleanup
melinath [Thu, 10 Jun 2010 04:51:16 +0000 (00:51 -0400)]
Merge branch 'master' into cleanup

14 years agoMerge branch 'blockcontainer'
melinath [Wed, 9 Jun 2010 23:51:18 +0000 (19:51 -0400)]
Merge branch 'blockcontainer'

14 years agoFixed the context variable leak in the blockcontainer tag.
melinath [Wed, 9 Jun 2010 23:47:06 +0000 (19:47 -0400)]
Fixed the context variable leak in the blockcontainer tag.

14 years agoMerge branch 'blockcontainer' of github.com:melinath/philo into blockcontainer
melinath [Wed, 9 Jun 2010 21:57:18 +0000 (17:57 -0400)]
Merge branch 'blockcontainer' of github.com:melinath/philo into blockcontainer

14 years agoFixed a bug where the ContainerNode had a nodelist_empty=None, whereas nodelist_empty...
melinath [Wed, 9 Jun 2010 21:46:48 +0000 (17:46 -0400)]
Fixed a bug where the ContainerNode had a nodelist_empty=None, whereas nodelist_empty is expected to be an iterable by line 314 of models.py. Also added 'nodelist_main' to the manage.py line 314 list of subnodelist possibilities and added a child_nodelists attribute to ContainerNode for possible forward-compatibility.

14 years agoFixed a bug where the ContainerNode had a nodelist_empty=None, whereas nodelist_empty...
melinath [Wed, 9 Jun 2010 21:46:48 +0000 (17:46 -0400)]
Fixed a bug where the ContainerNode had a nodelist_empty=None, whereas nodelist_empty is expected to be an iterable by line 314 of models.py. Also added 'nodelist_main' to the manage.py line 314 list of subnodelist possibilities and added a child_nodelists attribute to ContainerNode for possible forward-compatibility.

14 years agoFirst draft of blockcontainer functionality. Tries to reuse most of the code
melinath [Wed, 9 Jun 2010 19:48:22 +0000 (15:48 -0400)]
First draft of blockcontainer functionality. Tries to reuse most of the code
related to the original container tag by extending it, simply interpreting the
values slightly differently.

14 years agoMerge branch 'cleanup'
melinath [Wed, 9 Jun 2010 17:49:56 +0000 (13:49 -0400)]
Merge branch 'cleanup'

14 years agoAdded documentation and help text to models.py and containers.py to hopefully improve...
melinath [Wed, 9 Jun 2010 17:35:23 +0000 (13:35 -0400)]
Added documentation and help text to models.py and containers.py to hopefully improve usability.