Friday, November 25, 2016

question re built-in server

Sometimes requests get displayed at the console, other times they do not.

Example:

(myproject) C:\Users\bgailer\mysite>manage.py runserver 0.0.0.0:8000
Performing system checks...

System check identified no issues (0 silenced).

You have 1 unapplied migration(s). Your project may not work properly
until you apply the migrations for app(s): auth.
Run 'python manage.py migrate' to apply them.
November 25, 2016 - 16:44:45
Django version 1.10.3, using settings 'mysite.settings'
Starting development server at http://0.0.0.0:8000/
Quit the server with CTRL-BREAK.
Performing system checks...

System check identified no issues (0 silenced).

You have 1 unapplied migration(s). Your project may not work properly
until you apply the migrations for app(s): auth.
Run 'python manage.py migrate' to apply them.
November 25, 2016 - 16:46:45
Django version 1.10.3, using settings 'mysite.settings'
Starting development server at http://0.0.0.0:8000/
Quit the server with CTRL-BREAK.
test[25/Nov/2016 16:46:50] "GET /vapi/ HTTP/1.1" 200 38

The first time server is started requests don't get displayed. I edit a
file to force a restart, and then requests get displayed.In each case
the view is executed, based on the browser display. Any ideas as to why
the inconsistent behavior?

--
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/4e8d5514-1984-1dbf-3b11-208381d3c43f%40gmail.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment