V
V
Viktor Yurchenko2016-09-17 20:23:17
Django
Viktor Yurchenko, 2016-09-17 20:23:17

How to use packages in Django?

Explain to a newbie how to use a package/module/app in your django project. I can not understand. I am using PyCharm. For example, let's take a plugin in cms wordpress: you downloaded it, uploaded it, clicked install, and a new function was displayed on your site (gallery, slider, similar entries in the slidebar). So far I've gotten to the point where I downloaded the package from djangopackages.org, what's next? Where to put him? How to work with it, customize it for my project.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
S
sim3x, 2016-09-18
@sim3x

$ virtualenv virtenvname -p /usr/bin/python3
$ pip install package
$ vim file.py
import package
See Python books for details.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question