top button
Flag Notify
    Connect to us
      Facebook Login
      Site Registration

Facebook Login
Site Registration

How to check working of my django code by deploying the code on my device's IP address?

+2 votes
(venv)avinash@dell ~/django_projects/usertracking $ python runserver
Performing system checks...

System check identified no issues (0 silenced).
December 27, 2014 - 13:12:42
Django version 1.7.1, using settings 'usertracking.settings'
Starting development server at
Quit the server with CONTROL-C.
Error: That IP address can't be assigned-to.
posted Dec 27, 2014 by Avinash Ks

Share this question
Facebook Share Button Twitter Share Button LinkedIn Share Button
How  to deploy my django code on my  device's IP address?
I could not understand the problem, can you describe the problem or question step by step.

1 Answer

+1 vote

python runserver

Edit: If u know the want to know the reason for doing so, please comment. Also please check whether server listens to port 80. I don't have a setup ready at this time to test it.

answer Dec 29, 2014 by Prakash
Similar Questions
+1 vote

I want to count the number of active user in website and also I have to display their IP Address by using python Django framework.

+2 votes

I am trying to learn Django. My initial exercise seems fine. I want to create an API with REST on Django for an interactive Python code. REST framework on Django I am understanding more or less.

I am looking for a simple example to start with. I am using Python 2.7+ on MS-Windows 7 Professional.

If any one may kindly suggest.

0 votes

On my Mac, running python 2.7, I upgraded from 1.4 to 1.5 by doing this:

rm -rf /Library/Python/2.7/site-packages/django

Followed by python install in the dir I untar-ed Django-1.5.1 to.This all worked fine.

On a Centos system running python 2.6 I did: rm -rf /usr/lib/python2.6/site-packages/django followed by the install. My django app is working, and appears to be running 1.5, however anytime I use (for collectstatic or syncdb or test, for example) I get these messages:

DeprecationWarning: The 'execute_manager' function is deprecated, you likely need to update your ''; please see the Django 1.4 release notes (

DeprecationWarning: The 'setup_environ' function is deprecated, you likely need to update your ''; please see the Django 1.4 release notes (

So it seems I still have some 1.4 stuff around. I don't get this on my Mac. How can I get rid of these messages?

+1 vote

Anyone can explain how to delete or alter existing table in database?

0 votes

Can anyone help me to generate SQL query from Django query

  • Like below:

Employee.objects.all() => select * from employee

Contact Us
+91 9880187415
#280, 3rd floor, 5th Main
6th Sector, HSR Layout
Karnataka INDIA.