Commits

David Chambers  committed 5996225

preserve alphabetical order

  • Participants
  • Parent commits 85f1433

Comments (0)

Files changed (1)

File urls/defaults.py

         (r'^page/(\d+)/$', page),
     )
 
+if mango.settings.SEARCH:
+    urlpatterns += patterns('',
+        (r'^search$', search),
+    )
+
 if mango.settings.SITEMAP:
     urlpatterns += patterns('',
         (r'^sitemap[.]xml$', 'django.contrib.sitemaps.views.sitemap',
         (r'^tag/([^/]+)/feed/$', atom),
     )
 
-if mango.settings.SEARCH:
-    urlpatterns += patterns('',
-        (r'^search$', search),
-    )
-
 if mango.settings.SUBSCRIPTIONS:
     urlpatterns += patterns('',
         (r'^(.+?)/unsubscribe/(\d+)/$', unsubscribe),