Author: david.michon
Date: Wed May 27 06:28:10 2009
New Revision: 534
Modified:
branches/electron/pages/admin/__init__.py
branches/electron/pages/media/pages/css/pages.css
branches/electron/pages/models.py
Log:
add redirect_to_url
Modified: branches/electron/pages/admin/__init__.py
==============================================================================
--- branches/electron/pages/admin/__init__.py (original)
+++ branches/electron/pages/admin/__init__.py Wed May 27 06:28:10 2009
@@ -47,6 +47,7 @@
if settings.PAGE_TEMPLATES:
normal_fields.append('template')
normal_fields.append('redirect_to')
+ normal_fields.append('redirect_to_url')
fieldsets = (
(_('General'), {
'fields': general_fields,
Modified: branches/electron/pages/media/pages/css/pages.css
==============================================================================
--- branches/electron/pages/media/pages/css/pages.css (original)
+++ branches/electron/pages/media/pages/css/pages.css Wed May 27 06:28:10
2009
@@ -399,6 +399,10 @@
border-right: none;
}
+.change-form .module-options .redirect_to_url input {
+ width: 200px;
+}
+
/* Languages */
.change-form .module-options .language ul {
margin: 0;
Modified: branches/electron/pages/models.py
==============================================================================
--- branches/electron/pages/models.py (original)
+++ branches/electron/pages/models.py Wed May 27 06:28:10 2009
@@ -60,6 +60,8 @@
redirect_to = models.ForeignKey('self', null=True, blank=True,
related_name='redirected_pages')
+ redirect_to_url = models.CharField(max_length=200, null=True,
blank=True)
+
# Managers
objects = PageManager()
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---