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
-1
votes
2 answers

python manage.py migrate error

I am learning Django and was trying to migrate manage.py using the command python manage.py migrate. But what happened is (venv) Kaustubhs-MacBook-Pro-2:crmeasy kaustubhmundra$ python manage.py migrate Traceback (most recent call last): File…
-1
votes
2 answers

python manage.py runserver error

I'm trying to start the serve with this command, but I had this error python is not recognized as an internal or external command I know that I need to change the Path. But I tried and didn't get the solution for this. my current path: C:\Program…
imtk
  • 1,510
  • 4
  • 18
  • 31
-2
votes
7 answers

TypeError: translation() got an unexpected keyword argument 'codeset'

I'm following a Python tutorial on youtube and need to create a django website, however I am unable to start, because when I enter "python manage.py runserver" I get the "TypeError: translation() got an unexpected keyword argument 'codeset'"…
Kaspar
  • 9
  • 1
  • 2
-2
votes
1 answer

Manage.py is not working or even giving any type of error

I am new in Django and I want to launch my portfolio site on my vps. The problem is none of my manage.py commands are working and I don't even get an error when I press enter and a new commands line comes... I restarted my vps and searched on…
-2
votes
2 answers

Getting error 'django.db.utils.OperationalError' when doing 'python manage.py migrate' in Django 1.9 with PostgreSQL 9.5

I am new to programming and learning the web development. I have installed the -Django 1.9 -postgresql 9.5 -psycopg2(using whl file) db api for the postgresql on Windows 7 os. I have set up the database connection in my settings.py file for my…
NaagRaaj
  • 31
  • 1
  • 3
-2
votes
1 answer

Trigger database backup on a django view

I'm trying to trigger a database backup from a button in a custom view I have created in Django. The thing is that in all the information I have found about database backups, the command is triggered automatically or from a manage.py command. Any…
1 2 3
13
14