path-converters Questions

2

Solved

I have two urls in dispatcher pointing the same view: path('posts/top/', posts, name='top'), path('posts/new/', posts, name='new'), I want view start as follows: def posts(request, ordering): ......
Intrude asked 19/7, 2018 at 10:20
1

© 2022 - 2024 — McMap. All rights reserved.