Search
 
SCRIPT & CODE EXAMPLE
 

PYTHON

shared a local host django

1. run python manage.py runserver 0.0.0.0:8000
2. figure out your ip address which is say 192.168.1.8
3. Add '192.168.1.8' to ALLOWED_HOSTS list in your settings.py file.
4. access 192.168.1.8:8000 on mobile.
Comment

PREVIOUS NEXT
Code Example
Python :: create image tkinter set active background 
Python :: python list three from the back 
Python :: using claudinary in django 
Python :: python plot auc 95% confidence intervals stackoverflow 
Python :: get the value of qpushbutton pyqt5 with argument 
Python :: xtick for axvline 
Python :: micropython free space esp32 esp2866 
Python :: creating a new DataFrame from itertuples, namedtuple using a series or list() 
Python :: struct is not defined python 
Python :: change text color in jupyter notebook 
Python :: pandas plot column titles vertical 
Python :: check if a date is reached django 
Python :: how to access rows and columns indexing numpy 
Python :: python merge two byte files 
Python :: except Exception, e: suds python 
Python :: Reason: "broken data stream when reading image file" in jupyter notebook 
Python :: stellargraph python 
Python :: how to make an app like word in python 
Python :: Handling single exception 
Python :: create a distance matrix from a coordinate matrix in python 
Python :: pandas dexcribe only one column 
Python :: algorithme pour afficher table de multiplication python 
Python :: df convert dtypes 
Python :: python download progress bar 
Python :: empty python file 
Python :: python array sum 
Python :: pandas sort values in groupby 
Python :: typing python 
Python :: how to import a module from a different directory in python 
Python :: runserver coomand in django 
ADD CONTENT
Topic
Content
Source link
Name
4+9 =