![]() If it’s not on your path, you can find it in site-packages/django/bin within your Python installation. The django-admin script should be on your system path if you installed Django via its setup.py utility. It sets the environment variable so that it points to your project’s settings.py file.It puts your project’s package on sys.path.Manage.py does the same thing as django-admin but takes care of a few things for you: In addition, manage.py is automatically created in each Django project. CommandError: Unable to serialize database: UUID('435697b4-954a-4b9a-a83a-2b53016b0d43') is not JSON serializable However running again with -format=xml did not result in an error and dumpdata was successful.ĭjango-admin and manage.py django-admin is Django’s command-line utility for administrative tasks. Running dumpdata management command with JSON output format (the default option) resulted in the following error.
0 Comments
Leave a Reply. |