I'm having some trouble sending along more than one variable to the view.

my urls.py is as follows:

urlpatterns = patterns('',
    url(r'^rss/(?P<anything>[^/]+)/$', 'rss.rssama.views.makerss', name='anything'),
    url(r'^$', 'rss.rssama.views.home'),    
)

views.py

def maakrss(request, anything):

So now it takes from www.mydomain.com/rss/[anything]/ and sends 'anything' to my view. However I also want it to send along another string to views.py, like:

www.mydomain.com/rss/[anynumber]/[anystring]/

I tried this but that didn't work:

url(r'^rss/(?P<anynumber>[^/]+)/(?P<anystring>[^/]+)/$', 'rss.rssama.views.makerss', name='anynumber', name2='anystring'),

But this doesn't work, it gives this error: keyword argument repeated (urls.py, line 17)

So my question: How can I make it to give along two string from the url?

Edit
Report