Skip to content

Instantly share code, notes, and snippets.

@whatisjasongoldstein
Created December 2, 2012 03:42
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save whatisjasongoldstein/4186863 to your computer and use it in GitHub Desktop.
Save whatisjasongoldstein/4186863 to your computer and use it in GitHub Desktop.
In [1]: import cropper
In [2]: from cropper import models
In [3]: from cropper import views
---------------------------------------------------------------------------
ImportError Traceback (most recent call last)
/home/jason/pybox/lib/python2.7/site-packages/django/core/management/commands/shell.pyc in <module>()
----> 1 from cropper import views
ImportError: cannot import name views
In [4]: from cropper import widgets
---------------------------------------------------------------------------
ImportError Traceback (most recent call last)
/home/jason/pybox/lib/python2.7/site-packages/django/core/management/commands/shell.pyc in <module>()
----> 1 from cropper import widgets
ImportError: cannot import name widgets
In [5]: from cropper import forms
In [6]: dir(cropper)
Out[6]:
['__builtins__',
'__doc__',
'__file__',
'__name__',
'__package__',
'__path__',
'forms',
'models']
In [7]:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment