Commits

Anonymous committed 138b64f

Fix a few documentation errors in __init__.py

Closes issue #4

  • Participants
  • Parent commits ceed5d0

Comments (0)

Files changed (1)

File django_nav/__init__.py

 OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
 THE SOFTWARE.
 """
+__all__ = ['nav_groups', 'Nav', 'NavOption']
+
 from django_nav.base import nav_groups, Nav, NavOption
 
 VERSION = (0, 6, 0, 'beta', 2)
         # For each app, we need to look for an tabs.py inside that app's
         # package. We can't use os.path here -- recall that modules may be
         # imported different ways (think zip files) -- so we need to get
-        # the app's __path__ and look for cron.py on that path.
+        # the app's __path__ and look for nav.py on that path.
 
         # Step 1: find out the app's __path__ Import errors here will (and
         # should) bubble up, but a missing __path__ (which is legal, but weird)
         except AttributeError:
             continue
 
-        # Step 2: use imp.find_module to find the app's tabs.py. For some
+        # Step 2: use imp.find_module to find the app's nav.py. For some
         # reason imp.find_module raises ImportError if the app can't be found
         # but doesn't actually try to import the module. So skip this app if
         # its tabs.py doesn't exist