Author: jtauber
Date: Sat Sep 27 01:22:19 2008
New Revision: 938
Modified:
trunk/local_apps/zwitschern/templates/notification/tweet_reply_received/teaser.html
trunk/local_apps/zwitschern/urls.py
Log:
switched to using named urls for zwitschern
Modified:
trunk/local_apps/zwitschern/templates/notification/tweet_reply_received/teaser.html
==============================================================================
---
trunk/local_apps/zwitschern/templates/notification/tweet_reply_received/teaser.html
(original)
+++
trunk/local_apps/zwitschern/templates/notification/tweet_reply_received/teaser.html
Sat Sep 27 01:22:19 2008
@@ -1,2 +1,2 @@
-{% load i18n %}{% url profile_detail username=tweet.sender.username as
profile_url %}{% url zwitschern.views.single tweet.id as reply_url %}
+{% load i18n %}{% url profile_detail username=tweet.sender.username as
profile_url %}{% url single_tweet tweet.id as reply_url %}
{% blocktrans with tweet.sender as tweet_sender %}<a href="{{ profile_url
}}">{{ tweet_sender }}</a> sent you a <a href="{{ reply_url }}">tweet
reply</a>.{% endblocktrans %}
Modified: trunk/local_apps/zwitschern/urls.py
==============================================================================
--- trunk/local_apps/zwitschern/urls.py (original)
+++ trunk/local_apps/zwitschern/urls.py Sat Sep 27 01:22:19 2008
@@ -1,7 +1,7 @@
from django.conf.urls.defaults import *
urlpatterns = patterns('',
- (r'^$', 'zwitschern.views.personal'),
- (r'^all/$', 'zwitschern.views.public'),
- (r'^(\d+)/$', 'zwitschern.views.single'),
+ url(r'^$', 'zwitschern.views.personal', name='tweets_you_follow'),
+ url(r'^all/$', 'zwitschern.views.public', name='all_tweets'),
+ url(r'^(\d+)/$', 'zwitschern.views.single', name='single_tweet'),
)
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---