I have Django 1.9 app that runs with python 3.5.1. First when I run "manage.py runserver" I think it fail because I dont have "psycopg2",he crushes because he couldn't find "psycopg2", I installed it with pip install, and now there is no error, the "runserver" command works well and give me only that:
$ /c/Python35/python.exe manage.py runserver
C:\django-master\project\urls.py:12: RemovedInDjango110Warning: django.conf.urls.patterns() is deprecated and will be removed in Django 1.10. Update your urlpatterns to be a list of django.conf.urls.url() instances instead.
url(r'^rank2/$', views.rank2, name='rank2'),)
C:\django-master\website\urls.py:21: RemovedInDjango110Warning: django.conf.urls.patterns() is deprecated and will be removed in Django 1.10. Update your urlpatterns to be a list of django.conf.urls.url() instances instead.
url(r'^project/', include('project.urls')),
It looks like he is running but when I entered 127.0.0.1 there is nothing, its probably not really work, but I dont know how to debug it because there are no errors, how can I know where the problem is? (I know it could be lot of things but I don't have any direction...) Thanks...
Aucun commentaire:
Enregistrer un commentaire