Questions tagged [django-manage.py]

django-manage.py refers to Django's command-line utility for common administrative tasks.

django-manage.py refers to Django's command-line utility for common administrative tasks.

188 questions
0
votes
2 answers

Getting error on running manage.py runserver

I am new to Django, I got an error on executing manage.py even though having installed Django. Here is the error message: vivekmehra88@vivekmehra88-HP-Pavilion-TS-15-Notebook-PC:~/PycharmProjects/myProj/django-apps/testsite$ python3 manage.py…
0
votes
0 answers

Django makemigrations error?

I'm new started to Django.where is my fault?
0
votes
2 answers

Django runserver on all ports?

Why can't I run python manage.py runserver on all ports? I understand this is probably a newbie question, but what prevents me from achieving this? I would like to access my app without having to include the port, like a regular website
Mojimi
  • 2,561
  • 9
  • 52
  • 116
0
votes
0 answers

Django manage.py collectstatic SuspiciousFileOperation

I'm working on combining React with Django 1.10 and am getting pretty funky activity when trying to configure the pipeline. Traceback (most recent call last): File "manage.py", line 22, in execute_from_command_line(sys.argv) File…
Matthew S
  • 343
  • 3
  • 11
0
votes
1 answer

Django Task/Command Execution Best Practice/Understanding

I've got a little problem with understanding the django management commands. I've got an Webapplication which displays some network traffic information through eth0. Therefore I've created a python class which analyse the traffic and create/update…
0
votes
2 answers

Django manage.py runserver do not display "Welcome Page"

I am following the Django Tutorial but I am getting a error when trying to load the welcome page, just after starting the server I did this tutorial in other pc and I did not have any problem. Using: Windows 7 / Djando 1.9 / Python 3.4.5 1 - I…
Lorenzo Simonassi
  • 495
  • 1
  • 5
  • 14
0
votes
0 answers

Why is python manage.py makemigrations stalling in my python app?

I have a python application that uses Django models for easy storage of data. It is NOT a django app, I'm just attempting to use models from django.db, JSONField from django.contrib.postgres.fields and other useful parts. When I attempt to run…
NJay
  • 130
  • 8
0
votes
1 answer

manage.py syncdb error, postgres_psycopg2

I'm trying to install a shopping cart plugin for django but having a problem when I run manage.py syncdb. When run, it installs 4 tables, then I'm getting the following error message: File …
0
votes
2 answers

loaddata raises IntegrityError when called within migration, but works if called from the CLI

For my Django 1.8.12 site I have an example_content fixture which fills in some initial site content. If I load this this right after running migrate it imports fine: $ ./manage.py migrate --noinput Operations to perform: Synchronize unmigrated…
0
votes
1 answer

How to run django server with daemontools

I am running a django webserver with default manage.py file, how can i daemonize it using svc daemontools Content of my run file in daemontools is #!/bin/bash exec setuidgid /usr/bin/python runserver 2>&1 Content of…
ajays20078
  • 368
  • 1
  • 3
  • 10
0
votes
1 answer

Python Manage.py Commands Not Recognized on Heroku

Trying to run heroku run python manage.py migrate --remote [my app] and it is outputting a list of subcommands. Tried various other django commands with the same result, everything from 'shell' to some custom commands I invented. heroku run python…
bkoatz
  • 17
  • 3
0
votes
1 answer

Django developement server module is not installed but is

I'm try run development server byt I recive error like this: Unhandled exception in thread started by Traceback (most recent call last): File "/usr/local/lib/python2.7/site-packages/django/utils/autoreload.py",…
Thaian
  • 1,215
  • 2
  • 20
  • 30
0
votes
1 answer

manage.py migration - error

Hello I tried remove models, migration files and find something on stack but i didn't find anything about it. Can you help me with that error? I'm using Django(1.8.8) on virtualenv Error from console: Operations to perform: Apply all…
Thaian
  • 1,215
  • 2
  • 20
  • 30
0
votes
2 answers

Installed Django 1.9 but Virtual Environment uses 1.8.7

I'm trying to use a new version of Django (1.9). I've created a virtual environment (venv) in which I've installed new Django (1.9). Everything seems to work correctly but when I do manage.py runserver it seems that it uses older version of Django…
Milano
  • 18,048
  • 37
  • 153
  • 353
0
votes
1 answer

manage.py command returns help text

I have a problem with manage.py - it returns 'help' instead of creating an app. I'm quite new in Django so it could be obvious. I've created a Django project using PyCharm. New Project../Django../Projct So PyCharm created a directory called…
Milano
  • 18,048
  • 37
  • 153
  • 353