Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- python manage.py makemigrations
- Traceback (most recent call last):
- File "manage.py", line 12, in <module>
- execute_from_command_line(sys.argv)
- File "/home/sysadmin/.virtualenvs/django/local/lib/python2.7/site-packages/django/core/management/__init__.py", line 353, in execute_from_command_line
- utility.execute()
- File "/home/sysadmin/.virtualenvs/django/local/lib/python2.7/site-packages/django/core/management/__init__.py", line 345, in execute
- self.fetch_command(subcommand).run_from_argv(self.argv)
- File "/home/sysadmin/.virtualenvs/django/local/lib/python2.7/site-packages/django/core/management/base.py", line 348, in run_from_argv
- self.execute(*args, **cmd_options)
- File "/home/sysadmin/.virtualenvs/django/local/lib/python2.7/site-packages/django/core/management/base.py", line 399, in execute
- output = self.handle(*args, **options)
- File "/home/sysadmin/.virtualenvs/django/local/lib/python2.7/site-packages/django/core/management/commands/makemigrations.py", line 150, in handle
- self.write_migration_files(changes)
- File "/home/sysadmin/.virtualenvs/django/local/lib/python2.7/site-packages/django/core/management/commands/makemigrations.py", line 179, in write_migration_files
- with open(writer.path, "wb") as fh:
- IOError: [Errno 13] Permission denied: u'/home/sysadmin/public_html/aegee-stuttgart.org/aegeewww/migrations/0001_initial.py'
- sudo python manage.py makemigrations
- ImportError: No module named django.core.management
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement