/soc/2012/sanket/www-statscollector: df4b65a70d9e: Make URL's sh...
sanket
sanket at soc.pidgin.im
Sun Aug 12 08:02:59 EDT 2012
Changeset: df4b65a70d9e30ebf9938749636f9433162fdb70
Author: sanket <sanket at soc.pidgin.im>
Date: 2012-08-12 05:02 +0530
Branch: default
URL: http://hg.pidgin.im/soc/2012/sanket/www-statscollector/rev/df4b65a70d9e
Description:
Make URL's short/easy
diffstat:
pidgin_stats_collector/urls.py | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (20 lines):
diff --git a/pidgin_stats_collector/urls.py b/pidgin_stats_collector/urls.py
--- a/pidgin_stats_collector/urls.py
+++ b/pidgin_stats_collector/urls.py
@@ -20,13 +20,13 @@ urlpatterns = patterns('',
url(r'^collectstats/$', 'statscollector.views.index'),
# Accepts a POST reuqest to process
- url(r'^collectstats/collect/$', 'statscollector.views.collect'),
+ url(r'^collect/$', 'statscollector.views.collect'),
# A minimalistic display app for the stats
- url(r'^collectstats/display/$', 'display.views.index'),
+ url(r'^display/$', 'display.views.index'),
# Detail of plugins
- url(r'^collectstats/display/plugins-detail$', 'display.views.plugins_detail'),
+ url(r'^display/plugins-detail$', 'display.views.plugins_detail'),
# Make media files to be served static and hot ;-)
(r'^media/(?P<path>.*)$', 'django.views.static.serve', {'document_root': settings.MEDIA_ROOT, 'show_indexes': True}),
)
More information about the Commits
mailing list