Answer the question
In order to leave comments, you need to log in
How to solve this problem with regular expressions?
Greetings.
There is a urls.py file
urlpatterns = [
...
url(r'^last/', last_images, name='last_images'),
url(r'(?P<slug>[-\w]+)/$', show_image, name='show_image'),
url(r'(?P<slug>[-\w]+)/delete/$', delete_image, name='delete_image'),
]
Answer the question
In order to leave comments, you need to log in
> Places to change them like it would not be entirely correct.
Why?
Swap them and don't fool around.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question