eduardo_gpg hola como estas? siguiente trabajando en el curso me paso algo extraño y la verdad no que fue lo que hice mal.
en vez de task yo le cambie el nombre por biometrics es como nombre a mi metodo.
El servidor funciona bien al no tener ningun error en este ni en sintaxis, sin embargo la pagina sale como no existente al ver en el servidor se repite muchas veces el codigo 302 y al darle refresh me sale la siguiente leyenda (Method Not Allowed
The method is not allowed for the requested URL.) con el mensaje en servidor de 405.
(venv) (base) Nutrientes-MacBook-Pro:project nutriente$ python manage.py runserver
* Serving Flask app "app" (lazy loading)
* Environment: production
WARNING: This is a development server. Do not use it in a production deployment.
Use a production WSGI server instead.
* Debug mode: on
* Running on http://127.0.0.1:5000/ (Press CTRL+C to quit)
* Restarting with stat
* Debugger is active!
* Debugger PIN: 150-341-962
* Detected change in '/Users/nutriente/project/app/forms.py', reloading
* Restarting with stat
* Debugger is active!
* Debugger PIN: 150-341-962
* Detected change in '/Users/nutriente/project/app/views.py', reloading
* Restarting with stat
* Debugger is active!
* Debugger PIN: 150-341-962
127.0.0.1 - - [11/Dec/2019 21:10:57] "POST /biometrics HTTP/1.1" 405 -
127.0.0.1 - - [11/Dec/2019 21:11:14] "GET / HTTP/1.1" 200 -
127.0.0.1 - - [11/Dec/2019 21:11:24] "GET /logout HTTP/1.1" 302 -
127.0.0.1 - - [11/Dec/2019 21:11:24] "GET /login HTTP/1.1" 200 -
127.0.0.1 - - [11/Dec/2019 21:11:26] "GET /register HTTP/1.1" 200 -
127.0.0.1 - - [11/Dec/2019 21:11:44] "POST /register HTTP/1.1" 302 -
127.0.0.1 - - [11/Dec/2019 21:11:44] "GET /biometrics HTTP/1.1" 302 -
127.0.0.1 - - [11/Dec/2019 21:11:45] "GET /biometrics HTTP/1.1" 302 -
127.0.0.1 - - [11/Dec/2019 21:11:45] "GET /biometrics HTTP/1.1" 302 -
127.0.0.1 - - [11/Dec/2019 21:11:45] "GET /biometrics HTTP/1.1" 302 -
127.0.0.1 - - [11/Dec/2019 21:11:45] "GET /biometrics HTTP/1.1" 302 -
127.0.0.1 - - [11/Dec/2019 21:11:45] "GET /biometrics HTTP/1.1" 302 -
127.0.0.1 - - [11/Dec/2019 21:11:45] "GET /biometrics HTTP/1.1" 302 -
127.0.0.1 - - [11/Dec/2019 21:11:45] "GET /biometrics HTTP/1.1" 302 -
127.0.0.1 - - [11/Dec/2019 21:11:45] "GET /biometrics HTTP/1.1" 302 -
127.0.0.1 - - [11/Dec/2019 21:11:45] "GET /biometrics HTTP/1.1" 302 -
127.0.0.1 - - [11/Dec/2019 21:11:45] "GET /biometrics HTTP/1.1" 302 -
127.0.0.1 - - [11/Dec/2019 21:11:45] "GET /biometrics HTTP/1.1" 302 -
127.0.0.1 - - [11/Dec/2019 21:11:45] "GET /biometrics HTTP/1.1" 302 -
127.0.0.1 - - [11/Dec/2019 21:11:45] "GET /biometrics HTTP/1.1" 302 -
127.0.0.1 - - [11/Dec/2019 21:11:45] "GET /biometrics HTTP/1.1" 302 -
127.0.0.1 - - [11/Dec/2019 21:11:45] "GET /biometrics HTTP/1.1" 302 -
127.0.0.1 - - [11/Dec/2019 21:11:45] "GET /biometrics HTTP/1.1" 302 -
127.0.0.1 - - [11/Dec/2019 21:11:45] "GET /biometrics HTTP/1.1" 302 -
127.0.0.1 - - [11/Dec/2019 21:11:45] "GET /biometrics HTTP/1.1" 302 -
127.0.0.1 - - [11/Dec/2019 21:11:51] "POST /biometrics HTTP/1.1" 405 -
Muchas gracias y por cierto gracias por la informacion de la documentacion para resolver la duda del genero.
en vez de task yo le cambie el nombre por biometrics es como nombre a mi metodo.
El servidor funciona bien al no tener ningun error en este ni en sintaxis, sin embargo la pagina sale como no existente al ver en el servidor se repite muchas veces el codigo 302 y al darle refresh me sale la siguiente leyenda (Method Not Allowed
The method is not allowed for the requested URL.) con el mensaje en servidor de 405.
(venv) (base) Nutrientes-MacBook-Pro:project nutriente$ python manage.py runserver
* Serving Flask app "app" (lazy loading)
* Environment: production
WARNING: This is a development server. Do not use it in a production deployment.
Use a production WSGI server instead.
* Debug mode: on
* Running on http://127.0.0.1:5000/ (Press CTRL+C to quit)
* Restarting with stat
* Debugger is active!
* Debugger PIN: 150-341-962
* Detected change in '/Users/nutriente/project/app/forms.py', reloading
* Restarting with stat
* Debugger is active!
* Debugger PIN: 150-341-962
* Detected change in '/Users/nutriente/project/app/views.py', reloading
* Restarting with stat
* Debugger is active!
* Debugger PIN: 150-341-962
127.0.0.1 - - [11/Dec/2019 21:10:57] "POST /biometrics HTTP/1.1" 405 -
127.0.0.1 - - [11/Dec/2019 21:11:14] "GET / HTTP/1.1" 200 -
127.0.0.1 - - [11/Dec/2019 21:11:24] "GET /logout HTTP/1.1" 302 -
127.0.0.1 - - [11/Dec/2019 21:11:24] "GET /login HTTP/1.1" 200 -
127.0.0.1 - - [11/Dec/2019 21:11:26] "GET /register HTTP/1.1" 200 -
127.0.0.1 - - [11/Dec/2019 21:11:44] "POST /register HTTP/1.1" 302 -
127.0.0.1 - - [11/Dec/2019 21:11:44] "GET /biometrics HTTP/1.1" 302 -
127.0.0.1 - - [11/Dec/2019 21:11:45] "GET /biometrics HTTP/1.1" 302 -
127.0.0.1 - - [11/Dec/2019 21:11:45] "GET /biometrics HTTP/1.1" 302 -
127.0.0.1 - - [11/Dec/2019 21:11:45] "GET /biometrics HTTP/1.1" 302 -
127.0.0.1 - - [11/Dec/2019 21:11:45] "GET /biometrics HTTP/1.1" 302 -
127.0.0.1 - - [11/Dec/2019 21:11:45] "GET /biometrics HTTP/1.1" 302 -
127.0.0.1 - - [11/Dec/2019 21:11:45] "GET /biometrics HTTP/1.1" 302 -
127.0.0.1 - - [11/Dec/2019 21:11:45] "GET /biometrics HTTP/1.1" 302 -
127.0.0.1 - - [11/Dec/2019 21:11:45] "GET /biometrics HTTP/1.1" 302 -
127.0.0.1 - - [11/Dec/2019 21:11:45] "GET /biometrics HTTP/1.1" 302 -
127.0.0.1 - - [11/Dec/2019 21:11:45] "GET /biometrics HTTP/1.1" 302 -
127.0.0.1 - - [11/Dec/2019 21:11:45] "GET /biometrics HTTP/1.1" 302 -
127.0.0.1 - - [11/Dec/2019 21:11:45] "GET /biometrics HTTP/1.1" 302 -
127.0.0.1 - - [11/Dec/2019 21:11:45] "GET /biometrics HTTP/1.1" 302 -
127.0.0.1 - - [11/Dec/2019 21:11:45] "GET /biometrics HTTP/1.1" 302 -
127.0.0.1 - - [11/Dec/2019 21:11:45] "GET /biometrics HTTP/1.1" 302 -
127.0.0.1 - - [11/Dec/2019 21:11:45] "GET /biometrics HTTP/1.1" 302 -
127.0.0.1 - - [11/Dec/2019 21:11:45] "GET /biometrics HTTP/1.1" 302 -
127.0.0.1 - - [11/Dec/2019 21:11:45] "GET /biometrics HTTP/1.1" 302 -
127.0.0.1 - - [11/Dec/2019 21:11:51] "POST /biometrics HTTP/1.1" 405 -
Muchas gracias y por cierto gracias por la informacion de la documentacion para resolver la duda del genero.