Hello ,every body.
the urlpatterns ^$ work fine
-- attachment is my code
i set the urls.py below
urlpatterns += patterns('bullet.views.noticeview', (r'^$', 'notice'), (r'^board', 'board'),)the urlpatterns ^$ work fine
but ^board not work ,it show 404 not found
i have some code like this but work on windows+apache
it work fine
now i move it to ubuntu+nginx
then it not work
anyone can tell me how fix it ,please
thank 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/48902712-26b6-4f3a-b465-ab4699f4dbfb%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
No comments:
Post a Comment