Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to install? #18

Closed
Kiechlus opened this issue Nov 21, 2014 · 2 comments
Closed

How to install? #18

Kiechlus opened this issue Nov 21, 2014 · 2 comments

Comments

@Kiechlus
Copy link

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
Copy link
Author

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

@patrys
Copy link
Contributor

patrys commented Nov 21, 2014

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.

@patrys patrys closed this as completed Nov 21, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants