Search code examples
djangoeasy-install

Importing module in django installed with easy_install


I just installed django-stdimage with easy_install on my server.

It told it me installed successfully at /home/myuser/lib/python2.4/django_stdimage-0.2.2-py2.4.egg

How do I import stdimage with django to start using it?


Solution

  • Found the answer. Easy_install's .egg files are just .zip files. I unzipped the file where it was installed and then imported the module:

    from stdimage import StdImageField