mango r232 - in branches/django: . mango
- From: ovitters svn gnome org
- To: svn-commits-list gnome org,gnome-sysadmin gnome org
- Subject: mango r232 - in branches/django: . mango
- Date: Sun, 22 Jun 2008 21:26:32 +0000 (UTC)
Author: ovitters
Date: Sun Jun 22 21:26:32 2008
New Revision: 232
URL: http://svn.gnome.org/viewvc/mango?rev=232&view=rev
Log:
* mango/urls.py: Enable fake view_index (doesn't do anything).
* mango/views.py (view_index): Rename test_index to view_index
Modified:
branches/django/ (props changed)
branches/django/ChangeLog
branches/django/mango/urls.py
branches/django/mango/views.py
Modified: branches/django/mango/urls.py
==============================================================================
--- branches/django/mango/urls.py (original)
+++ branches/django/mango/urls.py Sun Jun 22 21:26:32 2008
@@ -1,13 +1,13 @@
from django.conf.urls.defaults import *
-from mango.views import current_datetime, list_users, test_index, list_accounts, edit_user, list_mirrors, edit_mirror, list_foundationmembers
+from mango.views import current_datetime, list_users, list_accounts, edit_user, list_mirrors, edit_mirror, list_foundationmembers, view_index
import mango.settings
urlpatterns = patterns('',
+ (r'^%s$' % mango.settings.SITE_ROOT, view_index),
(r'^%stime/$' % mango.settings.SITE_ROOT, current_datetime),
(r'^%susers/$' % mango.settings.SITE_ROOT, list_users),
(r'^%susers/edit/(?P<user>\w+)/$' % mango.settings.SITE_ROOT, edit_user),
- (r'^%stest/$' % mango.settings.SITE_ROOT, test_index),
(r'^%srequests/$' % mango.settings.SITE_ROOT, list_accounts),
(r'^%smirrors/$' % mango.settings.SITE_ROOT, list_mirrors),
(r'^%smirrors/edit/(?P<pk>\d+)/$' % mango.settings.SITE_ROOT, edit_mirror),
Modified: branches/django/mango/views.py
==============================================================================
--- branches/django/mango/views.py (original)
+++ branches/django/mango/views.py Sun Jun 22 21:26:32 2008
@@ -129,7 +129,7 @@
-def test_index(request):
+def view_index(request):
doc, root = get_xmldoc('Login Page', request)
root.append(ET.Element('homepage'))
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]