I\'m trying to get data by id in my django app. The problem is that I don\'t know the kind of id the user will click on. I input the below codes in views.
Views
The regex in your urlconf needs a little tweak:
url(r'^cribme/(?P\d+)/$', 'meebapp.views.cribdetail', name='cribdetail'),
The value of the meekme_id parameter wasn't being captured, since the \d+ was outside the parentheses.
meekme_id
\d+