Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- root@noc:/opt/noc# ./noc newapp customers.myapp --model=User
- Creating skeleton for customers.myapp
- Traceback (most recent call last):
- File "manage.py", line 45, in <module>
- execute_from_command_line(sys.argv)
- File "/opt/noc/lib/python2.7/site-packages/django/core/management/__init__.py", line 443, in execute_from_command_line
- utility.execute()
- File "/opt/noc/lib/python2.7/site-packages/django/core/management/__init__.py", line 382, in execute
- self.fetch_command(subcommand).run_from_argv(self.argv)
- File "/opt/noc/lib/python2.7/site-packages/django/core/management/base.py", line 196, in run_from_argv
- self.execute(*args, **options.__dict__)
- File "/opt/noc/lib/python2.7/site-packages/django/core/management/base.py", line 232, in execute
- output = self.handle(*args, **options)
- File "/opt/noc/main/management/commands/newapp.py", line 197, in handle
- models = __import__(tv["modelimport"], {}, {}, tv["model"])
- ImportError: No module named myapp
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement