mirumee / django-prices

Django fields for the prices module
158 stars 53 forks source link

How to install? #18

Closed Kiechlus closed 10 years ago

Kiechlus commented 10 years ago

I tried to install prices_django like an APP (copy folder to my project, register in INSTALLED_APPS).

But I don't understand this import, which I can find in moduls.py, forms.py and widgets.py: from prices import Price

And I'll always get an an ImportError: No module named prices. And if I rename prices_django to prices I get: cannot import name Price

What is Price anyway? I didn't find a class called like that

Kiechlus commented 10 years ago

Ah, got it: https://github.com/mirumee/prices

patrys commented 10 years ago

For the record, you are not supposed to copoy it into your project. You install packages using tools like pip or easy_install and they automatically track all of the dependencies involved. I suggest reading more about pypi and virtualenv.