i tried
-- and still return 404 not found
Sai K於 2016年5月10日星期二 UTC+8下午7時36分57秒寫道:
Sai K於 2016年5月10日星期二 UTC+8下午7時36分57秒寫道:
Can you change the url for board some thing like : url(r'^board$', 'board') , lets try.
On Sunday, May 8, 2016 at 7:10:40 PM UTC+5:30, minom du wrote:Hello ,every body.attachment is my codei set the urls.py belowurlpatterns += patterns('bullet.views.noticeview', (r'^$', 'notice'),(r'^board', 'board'),)
the urlpatterns ^$ work finebut ^board not work ,it show 404 not foundi have some code like this but work on windows+apacheit work finenow i move it to ubuntu+nginxthen it not workanyone can tell me how fix it ,pleasethank you very much
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/3d41a71a-480e-49e4-ae49-5fe59d39929a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
No comments:
Post a Comment