Advertisement
Guest User

Untitled

a guest
Apr 21st, 2015
200
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.98 KB | None | 0 0
  1. root@noc:/opt/noc# ./noc newapp customers.myapp --model=User
  2. Creating skeleton for customers.myapp
  3. Traceback (most recent call last):
  4. File "manage.py", line 45, in <module>
  5. execute_from_command_line(sys.argv)
  6. File "/opt/noc/lib/python2.7/site-packages/django/core/management/__init__.py", line 443, in execute_from_command_line
  7. utility.execute()
  8. File "/opt/noc/lib/python2.7/site-packages/django/core/management/__init__.py", line 382, in execute
  9. self.fetch_command(subcommand).run_from_argv(self.argv)
  10. File "/opt/noc/lib/python2.7/site-packages/django/core/management/base.py", line 196, in run_from_argv
  11. self.execute(*args, **options.__dict__)
  12. File "/opt/noc/lib/python2.7/site-packages/django/core/management/base.py", line 232, in execute
  13. output = self.handle(*args, **options)
  14. File "/opt/noc/main/management/commands/newapp.py", line 197, in handle
  15. models = __import__(tv["modelimport"], {}, {}, tv["model"])
  16. ImportError: No module named myapp
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement