File tree Expand file tree Collapse file tree 1 file changed +16
-0
lines changed Expand file tree Collapse file tree 1 file changed +16
-0
lines changed Original file line number Diff line number Diff line change @@ -31,6 +31,22 @@ site, combine the :ref:`templates-bitbucket` and
31
31
32
32
$ mkproject -t bitbucket -t django my_site
33
33
34
+ Project Hook Files
35
+ ==================
36
+
37
+ The project directory can include additional hook files for the
38
+ `postactivate ` and `predeactivate ` hooks. Placing hook scripts in the
39
+ project hook directory, `.virtualenvwrapper `, allows them to be
40
+ checked into version control and shared more easily.
41
+
42
+ When the :ref: `scripts-postactivate ` hook runs, it looks for
43
+ `.virtualenvwrapper/postactivate ` within the project directory and if
44
+ it is found it sources the file.
45
+
46
+ When the :ref: `scripts-predeactivate ` hook runs, it looks for
47
+ `.virtualenvwrapper/predeactivate ` within the project directory and if
48
+ it is found it sources the file.
49
+
34
50
.. seealso ::
35
51
36
52
* :ref: `extensions-templates `
You can’t perform that action at this time.
0 commit comments