Here is slashes: _slashes = ( "/" if settings.BLOG_SLUG else "", "/" if settings.APPEND_SLASH else "", )
Thanks. On May 13, 2013, at 4:28 AM, Tom Evans <tevans...@googlemail.com> wrote: > On Sun, May 12, 2013 at 9:08 AM, <n...@vidyasource.com> wrote: >> I have an app within my project called popular_keywords. >> >> Within urls.py I have this: >> >> urlpatterns = patterns("apps.popular_keywords.views", >> url("^%keyword/(?P<keyword>.*)%s$" % _slashes, >> "matching_items_list", name="matching_items") >> ) >> > > What is the contents of _slashes? > > > Cheers > > Tom > > -- > You received this message because you are subscribed to a topic in the Google > Groups "Django users" group. > To unsubscribe from this topic, visit > https://groups.google.com/d/topic/django-users/y_G3Zirkn7s/unsubscribe?hl=en. > To unsubscribe from this group and all its topics, send an email to > django-users+unsubscr...@googlegroups.com. > To post to this group, send email to django-users@googlegroups.com. > Visit this group at http://groups.google.com/group/django-users?hl=en. > For more options, visit https://groups.google.com/groups/opt_out. > > -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscr...@googlegroups.com. To post to this group, send email to django-users@googlegroups.com. Visit this group at http://groups.google.com/group/django-users?hl=en. For more options, visit https://groups.google.com/groups/opt_out.