V
V
vfvnvsyevsky2015-05-02 06:05:16
Django
vfvnvsyevsky, 2015-05-02 06:05:16

How to solve django url issue?

There is the following error:

Reverse for 'category.views.the_category' with arguments '(u'.net',)' and keyword arguments '{}' not found. 1 pattern(s) tried: ['(?P\\w+.*)/$']

It comes out because the argument '(u'.net',)' has a dot, everything is fine without a dot. How to solve the problem?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Andrey K, 2015-05-02
@vfvnvsyevsky

In your pattern (?P\\w+.*)/$, the dot can only be at the end.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question