How to install third-party django applications locally?

I am creating a small django project where I use third-party applications such as South and others. I will probably take the host of this project, so I will not be able to install these applications through easy_install. Is there any way to install these applications in my project?

+3
source share
2 answers

virtualenv is great for this, especially when combined with pip .

$ virtualenv myproject
$ cd myproject/
$ . bin/activate
(myproject) $ pip install django
(myproject) $ pip install south
+4
source

For example: django-grappelli. Install python customization tools and follow the next step.

$ pip install django-grappelli

and then add to installed applications

INSTALLED_APPS = (
    'grappelli',
    'django.contrib.admin',
)

This is the way for your question.

+2
source

Source: https://habr.com/ru/post/1786673/


All Articles