Permalink
Browse files

Merge pull request #38 from helgrind/patch-1

Fix suspected copy/paste typo
  • Loading branch information...
2 parents 3b39cca + 4ce59ab commit 4fcbc4876b1ae92df7d7a36e984a164fa736f4e7 @mmerickel mmerickel committed on GitHub May 22, 2017
Showing with 1 addition and 1 deletion.
  1. +1 −1 pylons/docs/en/advanced_pylons/entry_points_and_plugins.rst
@@ -79,7 +79,7 @@ We are interested in adding the entry points. We need to decide on a group name
entry_points="""
[cms.plugin]
jpg_image=image_plugin:make_jpeg_image_plugin
- png_image=image_plugin:make_jpeg_image_plugin
+ png_image=image_plugin:make_png_image_plugin
""",
Group names are specified in square brackets, plugin names are specified in the format ``name=module.import.path:object_within_the_module``. The object doesn't have to be a function and can have any valid Python name. The module import path doesn't have to be a top level component as it is in this example and the name of the entry point doesn't have to be the same as the name of the object it is pointing to.

0 comments on commit 4fcbc48

Please sign in to comment.