Skip to content

Instantly share code, notes, and snippets.

View theoden-dd's full-sized avatar

Denis Untevskiy theoden-dd

View GitHub Profile
theoden-dd /
Created September 4, 2012 22:50
changes in interaction with
# somewhere in WebProject
def install_r(self, what=None, options='', restart=True):
Installs pip requirements listed in ``<PIP_REQUIREMENTS_PATH>/<file>.txt`` file
and reloads all apps of the project, if specified.
pip.install_r(what, options)
if restart:
for app in self.apps: