Questions tagged [manage.py]

`manage.py` is a command-line utility for Django's administrative tasks. It is an automatically created thin wrapper around `django-admin.py`.

manage.py is similar to django-admin but it does some extra tasks like putting your project's package on sys.path and sets the DJANGO_SETTINGS_MODULE environment variable so that it points to your project’s settings.py file.

Usage

manage.py <command> [options]

Source

201 questions
0
votes
2 answers

Can't start Django 1.7.1 development server

I migrated my Django app from 1.4.3 to 1.7.1 I got it working for a short while but now every time I try to run the development server it gets stuck on: C:\Users\DAVID\Documents\TinyTap-web\tinytap>python manage.py runserver Performing system…
uri.lazar
  • 329
  • 3
  • 10
0
votes
1 answer

Error when running ./manage.py Validate

When I run the command ./manage.py validate I get the error Error:No module named debugger.debugger I have debugger installed in my virtual environment via pip.
Anuranjit Maindola
  • 1,507
  • 1
  • 14
  • 30
0
votes
2 answers

Change path to manage.py when running Git Push Heroku Master

I just deployed Askbot forum to heroku successfully, but sometimes when running 'git push heroku master', the automatic collectstatic process fails (to me it looks like a random failure), prompting: -----> Python app detected -----> Installing…
Andreu C.
  • 177
  • 1
  • 2
  • 10
0
votes
2 answers

Django manage.py test - how to tell it to not create/delete test database

I am running a few test cases in Django 1.6, and everytime I run a test, it creates the test DB and deletes it at the end. This takes up a some time and is really irritating when I am iterating to find simple errors. Is there a way I can specify to…
ARV
  • 6,287
  • 11
  • 31
  • 41
0
votes
2 answers

django-admin.py doesn't find management commands but manage.py does

I have a Django project with management commands in called "listen_rfid" and "listen_qr". They both show up in ./manage.py help --settings=imagination.idmapper.config.settings_dev but neither show up in django-admin.py help…
Ellis Percival
  • 4,632
  • 2
  • 24
  • 34
0
votes
2 answers

manage.py help has different python path in virtualenv

I have a problem in virtualenv that a wrong python path is imported. The reason is that by running the command: manage.py help --pythonpath=/home/robert/Vadain/vadain.webservice.curtainconfig/ The result is right, but when I run manage.py help…
Robert
  • 305
  • 1
  • 2
  • 14
0
votes
1 answer

Django: What is the difference between manage.py and gunicorn project.wsgi

I deployed a django project and everything works great on manage.py, but when I run the default gunicorn server via gunicorn projectname.wsgi, the registration form cannot be submitted and there is a 502 Bad Request Error. Any ideas?
user1909186
  • 1,124
  • 2
  • 12
  • 26
0
votes
0 answers

jython manage.py runserver

Windows 7, 64bit Jython 2.5.4rc1 Django 1.4.5 Django_jython-1.3.0 I am trying to follow the tutorial @ https://docs.djangoproject.com/en/1.4/intro/tutorial01/ django-admin.py startproject mysite worked fine and I now have my project structure.…
SeeGull
  • 177
  • 1
  • 2
  • 8
0
votes
1 answer

no module found for an installed app

I have made my template folder as an app in my python web application and I mentioned it in my INSTALLED_APPS I also have the init file in the template folder, but when I'm running manage.py tasks, there is an error and manage.py doesn't find this…
0
votes
1 answer

What is the format of the django config file for manage.py?

I'm hooking up selenose (selenium) tests and using liveserver in the process. It appears that I automatically start running into problems with ports being used so want to configure liveserver to use more that one port. I see how to do that via the…
redfive
  • 170
  • 8
0
votes
1 answer

Django 1.2 - Management - Command - Can't Run manage.py commands on crontab

On my project i have an app : my_app with Managment command : my_command.py On SSH i try : my/folder/project/and/app/python2.4 manage.py my_command all is ok but if i try : python2.4 /my/folder/project/and/app/manage.py my_command, manage.py…
laurent
  • 660
  • 2
  • 8
  • 19
-1
votes
1 answer

manage.py runserver python not found

I'm trying to learn django and I'm almost completely new to python, I'm using pycharm btw. My problem is that when i try to type python manage.py runserver in the PyCharm terminal it just tells me that Python was not found. I have already tried to…
-1
votes
1 answer

creating an admin user using django

I was creating an admin user account, when it got to create password my keys stopped working!!I even rebooted my system and started from top boom it happened again tried to create password on django admin user account?
-1
votes
1 answer

Django project run manage.py results in no module named django

I was working on a django project served as a backend for a small personal site, the built-in localhost server by django runs smoothly until I accidentally removed the app execution alias of python in windows 10(It just happened after done that,…
Hongleigiy
  • 11
  • 4
-1
votes
1 answer

not showing the server address while using python manage.py runserver in django

while running python manage.py runserver , getting this error as given below. using pycharm (venv) C:\Users\User\PycharmProjects\PyShop>python manage.py runserver Watching for file changes with StatReloader Performing system checks... Exception in…
ritkgp
  • 3
  • 2
1 2 3
13
14