Top "Django-shell" questions

How to execute a Python script from the Django shell?

I need to execute a Python script from the Django shell. I tried: ./manage.py shell << my_script.…

python django django-shell
How to create user from django shell

When i create user from django-admin user password's are encrypted . but when i create user from django shell user-pasword is …

python django django-shell
Executing a Django Shell Command from the Command Line

I would like to execute a command via Django's manage.py shell function solely from the command line e.g. …

python django django-shell
Django: simulate HTTP requests in shell

I just learnt that with Rails is possible to simulate HTTP requests in the console with few lines of code. …

django django-shell
Saving image/file through django shell

I am trying to save an image file through django shell. My model.py is: class user(models.Model): name = …

django django-models django-file-upload django-shell python
Unknown command: shell_plus and --settings

I try to run some python manage.py shell_plus --notebook --settings=my_app.settings.andi But it fails with …

python django django-shell