On 2018-07-11 21:48, john speny wrote:
i want to see that congratulation for running your first app message
that appears when you first run your server for the first time on ur pc
web browser. i want to see it on my phone.soo help me
Run the development server like:
python manage.py runserver 0.0.0.0:8000
Then you should be able to access the Django development site by using
your PCs ip address on your phone assuming you're on the same network.
You will probably have to add your PCs IP address to the ALLOWED_HOSTS
variable in settings.py, but there will be a nice error page explaining
For making sure the site looks good on smaller devices (eg. phones)
during development, I personally use Chrome/Chromiums developer tools
which has a nice option to show the page at lower resolution accessible
with Ctrl+Shift+M. That way you don't have to constantly look on your phone.
Hope that helps.
You received this message because you are subscribed to the Google Groups "Django
To unsubscribe from this group and stop receiving emails from it, send an email
To post to this group, send email to email@example.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit
For more options, visit https://groups.google.com/d/optout.