Thank you Andréas, this is a bug! I didn't notice it. I'll remove it.
Uri.
Uri Even-Chen |
Phone: +972-54-3995700 Email: uri@speedy.net Website: http://www.speedysoftware.com/uri/en/ |
On Thu, Jul 27, 2017 at 3:31 PM, Andréas Kühne <andreas.kuhne@hypercode.se> wrote:
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')),
] + urlpatternsYou do "urlpatterns +=" and then add urlpatterns at the end as well. I would recommend that you remove the urlpatterns at the end.Regards,Andréas2017-07-27 13:52 GMT+02:00 Uri Even-Chen <uri@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 testCreating 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 namespaceSystem check identified 5 issues (0 silenced)............................................................. .............................. .............................. .............................. .............................. .............................. .............................. ............... ------------------------------------------------------------ ---------- Ran 255 tests in 69.046sOKDestroying 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/ and here: https://github.com/urievspeedy/match/urls.py enchen/speedy-net/blob/master/ speedy/core/urls.py I get this warning only in speedy.match. In speedy.net I don't get it.Thanks,Uri.
Uri Even-Chen
Phone: +972-54-3995700
Email: uri@speedy.net
Website: http://www.speedysoftware.com/uri/en/
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+unsubscribe@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/CAMQ2MsEn1UaJ .S_-s5kFTEDVavG7c6c6Sy%2B7ceSzO ms6b%2B1VmYg%40mail.gmail.com
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+unsubscribe@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 .
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+unsubscribe@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/CAMQ2MsFmKAp9hP3E59fWvsO64Ywakg3wcZFkfrAytLE8i_tpYQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
No comments:
Post a Comment