Skip to content

Commit

Permalink
scan each ptah package individually
Browse files Browse the repository at this point in the history
  • Loading branch information
sidloki committed Apr 9, 2015
1 parent 959325e commit ced509a
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion ptah/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,18 @@ def pyramid_populate(cfg):
cfg.add_formatter('size', formatter.size_formatter)

# scan ptah
cfg.scan('ptah')
cfg.scan('ptah.authentication')
cfg.scan('ptah.events')
cfg.scan('ptah.jsfields')
cfg.scan('ptah.mail')
cfg.scan('ptah.manage')
cfg.scan('ptah.password')
cfg.scan('ptah.populate')
cfg.scan('ptah.ptahsettings')
cfg.scan('ptah.security')
cfg.scan('ptah.settings')
cfg.scan('ptah.typeinfo')
cfg.scan('ptah.uri')

# translation
cfg.add_translation_dirs('ptah:locale')

0 comments on commit ced509a

Please sign in to comment.