Hi,

In your match urls file, you include urlpatterns twice.

urlpatterns += [
url(r'^matches/', include('speedy.match.matches.urls',
namespace='matches')),
url(r'^', include('speedy.match.accounts.urls', namespace='accounts')),
url(r'^admin/', admin.site.urls),
url(r'^i18n/', include('django.conf.urls.i18n')),
# always at the bottom
url(r'^(?P<slug>[-\._\w]+)/friends/', include('speedy.core.friends.urls',
namespace='friends')),
url(r'^messages/', include('speedy.core.im.urls_private', namespace='im')),
url(r'^messages/(?P<slug>[-\._\w]+)/',
include('speedy.core.im.urls_public', namespace='im_entity')),
url(r'^(?P<slug>[-\._\w]+)/blocks/', include('speedy.core.blocks.urls',
namespace='blocks')),
url(r'^(?P<slug>[-\._\w]+)/likes/', include('speedy.match.likes.urls',
namespace='likes')),
url(r'^uploads/', include('speedy.core.uploads.urls', namespace='uploads')),
url(r'^', include('speedy.core.profiles.urls', namespace='profiles')),
] + urlpatterns

You do "urlpatterns +=" and then add urlpatterns at the end as well. I
would recommend that you remove the urlpatterns at the end.

Regards,

Andréas

2017-07-27 13:52 GMT+02:00 Uri Even-Chen <u...@speedy.net>:

> Hi friends,
>
> I upgraded Django from 1.10.7 to 1.11.3 and I got these warnings while
> running tests:
>
> speedy\match>manage.py test
> Creating test database for alias 'default'...
> System check identified some issues:
>
> WARNINGS:
> ?: (urls.W005) URL namespace 'about' isn't unique. You may not be able to
> reverse all URLs in this namespace
> ?: (urls.W005) URL namespace 'djdt' isn't unique. You may not be able to
> reverse all URLs in this namespace
> ?: (urls.W005) URL namespace 'feedback' isn't unique. You may not be able
> to reverse all URLs in this namespace
> ?: (urls.W005) URL namespace 'privacy' isn't unique. You may not be able
> to reverse all URLs in this namespace
> ?: (urls.W005) URL namespace 'terms' isn't unique. You may not be able to
> reverse all URLs in this namespace
>
> System check identified 5 issues (0 silenced).
> ............................................................
> ............................................................
> ............................................................
> ............................................................
> ...............
> ----------------------------------------------------------------------
> Ran 255 tests in 69.046s
>
> OK
> Destroying test database for alias 'default'...
>
> What is the problem and how do I fix it?
>
> The urls.py file is here: https://github.com/urievenchen/speedy-net/blob/
> master/speedy/match/urls.py and here: https://github.com/
> urievenchen/speedy-net/blob/master/speedy/core/urls.py
>
> I get this warning only in speedy.match. In speedy.net I don't get it.
>
> https://travis-ci.org/urievenchen/speedy-net/jobs/258106853
>
> Thanks,
> Uri.
>
> *Uri Even-Chen*
> [image: photo] Phone: +972-54-3995700
> Email: u...@speedy.net
> Website: http://www.speedysoftware.com/uri/en/
> <http://www.facebook.com/urievenchen>
> <http://plus.google.com/+urievenchen>
> <http://www.linkedin.com/in/urievenchen> <http://github.com/urievenchen>
> <http://twitter.com/urievenchen>
>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to django-users+unsubscr...@googlegroups.com.
> To post to this group, send email to django-users@googlegroups.com.
> Visit this group at https://groups.google.com/group/django-users.
> To view this discussion on the web visit https://groups.google.com/d/
> msgid/django-users/CAMQ2MsEn1UaJS_-s5kFTEDVavG7c6c6Sy%
> 2B7ceSzOms6b%2B1VmYg%40mail.gmail.com
> <https://groups.google.com/d/msgid/django-users/CAMQ2MsEn1UaJS_-s5kFTEDVavG7c6c6Sy%2B7ceSzOms6b%2B1VmYg%40mail.gmail.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAK4qSCdE-pTzxM%2BRagsMeRDsfd7_MmSY5d5VCwLKQyCC5T-a_Q%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to