Skip to content

Commit

Permalink
readme
Browse files Browse the repository at this point in the history
  • Loading branch information
nitely committed Jun 13, 2016
1 parent 06f0bac commit 7d790db
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,12 @@ A modular plugin system for django apps.

There are 4 kinds of hooks:

* TemplateHook: Third-party apps will be able to insert their own code (text/html) into a template.
* TemplateHook: Third-party apps will be able to add data in a template.
* ModelHook: Third-party apps will be able to add fields and methods to a model.
* FormHook: Third-party apps will be able to insert Forms in a view.
* ~~ViewHook~~: This is deprecated in favor of FormHook
* FormHook: Third-party apps will be able to add forms in a view.
* SignalHook: Connect or emit a signal by its name/id.
This is the same as Django signals except that they don't need to be pre-defined.
* ~~ViewHook~~: This is deprecated in favor of FormHook

## Why?

Expand Down
5 changes: 2 additions & 3 deletions docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,9 @@ A modular plugin system for django apps.

There are 4 kinds of hooks:

* TemplateHook: Third-party apps will be able to insert their own code (text/html) into a template.
* TemplateHook: Third-party apps will be able to add data in a template.
* ModelHook: Third-party apps will be able to add fields and methods to a model.
* FormHook: Third-party apps will be able to insert Forms in a view.
* ViewHook: This is deprecated in favor of FormHook
* FormHook: Third-party apps will be able to add forms to a view.
* SignalHook: Connect or emit a signal by its name/id.
This is the same as Django signals except that they don't need to be pre-defined.

Expand Down

0 comments on commit 7d790db

Please sign in to comment.