How to locally install django third-party apps?
-
13-10-2019 - |
Question
I'm making a small django project where I use third-party apps like South and others. I will probably rent a host to this project, so I won't be able to install these apps via easy_install. Is there a way to install these apps inside my project?
Solution
virtualenv is great for this, especially when combined with pip.
$ virtualenv myproject
$ cd myproject/
$ . bin/activate
(myproject) $ pip install django
(myproject) $ pip install south
OTHER TIPS
For example: django-grappelli
. Install python setup tools and do the next step
$ pip install django-grappelli
and then add to the installed apps
INSTALLED_APPS = (
'grappelli',
'django.contrib.admin',
)
This is the way for your question
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow