kopia lustrzana https://github.com/hholzgra/maposmatic/
allow maps detail URL to end with a slash
rodzic
460c759cd1
commit
3425ac42a2
|
@ -58,7 +58,7 @@ urlpatterns = [
|
|||
re_path(r'^maps/(?P<id>\d+)/(?P<nonce>[A-Za-z]{16})$',
|
||||
views.map_full,
|
||||
name='map-by-id-and-nonce'),
|
||||
re_path(r'^maps/(?P<id>\d+)$',
|
||||
re_path(r'^maps/(?P<id>\d+)[/]?$',
|
||||
views.map_full,
|
||||
name='map-by-id'),
|
||||
re_path(r'^maps/(?P<category>[a-z]+)$',
|
||||
|
|
Ładowanie…
Reference in New Issue