Revision: 635
Author: batiste.bieler
Date: Thu Aug 13 09:29:22 2009
Log: Fix bug 143
http://code.google.com/p/django-page-cms/source/detail?r=635
Modified:
/trunk/pages/admin/views.py
=======================================
--- /trunk/pages/admin/views.py Mon Aug 3 05:40:39 2009
+++ /trunk/pages/admin/views.py Thu Aug 13 09:29:22 2009
@@ -12,7 +12,7 @@
def change_status(request, page_id, status):
"""Switch the status of a page."""
- statuses = {'draft':0,'published':0,'expired':2,'hidden':3}
+ statuses = {'draft':0,'published':1,'expired':2,'hidden':3}
if request.method == 'POST':
try:
page = Page.objects.get(pk=page_id)
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"pinax-updates" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/pinax-updates?hl=en
-~----------~----~----~----~------~----~------~--~---