나는 Heroku가 내 장고 응용 프로그램을 배포하려고 내가 자습서를 따라하고 있지만 가서로 웹 사이트를 열려고하면 심지어Django urls.py가 heroku url을 포함하도록 업데이트하지 않습니까?
Request URL: http://nameless-dawn-7713.herokuapp.com/
Using the URLconf defined in crunchWeb.urls, Django tried these URL patterns, in this order:
^crunchApp/results$
^crunchApp/contact$
^admin/
The current URL, , didn't match any of these.
:
heroku open
나는 오류가 나타납니다 "Heroku가 열어"실행하기 전에 내 URLs.py 파일은 다음과 같이 보이지만 (저장) :
from django.conf.urls import patterns, include, url
from django.contrib import admin
admin.autodiscover()
urlpatterns = patterns('crunchApp.views',
url(r'^crunchApp/results$', 'results'),
url(r'^http://nameless-dawn-7713.herokuapp.com/$', 'contact'),
url(r'^crunchApp/contact$', 'contact'),
url(r'^admin/', include(admin.site.urls)),
)
는 내가 명령하기 전에 urls.py를 변경해야 할 수도 있습니다 생각 :
git commit -m "my django app"
그러나 나는 명령까지 필요합니다 URL 잘 모릅니다 : 무슨의
heroku create
어떤 아이디어 해야 할 것?