Try using regular expression (?P[0-9]+)
similar to this:
url(r'^music/(?P[0-9]+)/newsongs$', views.your_view_function())
cheers!
On 12/6/18, Sourajit Mohanty wrote:
> I am working with Class based Views..so I dont think this is gonna work
>
> On Thu 6 Dec, 2018, 2:33 AM shiva kumar wrote:
>
Thats a valid workflow in my opinion. Many Django works take that approach.
But alternatively, if you want you can pass the product info as parameters
in the Payment app while redirecting and can have a model in the Payment
app to capture and integrate product and payment parameters together. That
2 matches
Mail list logo