On 27 January 2011 14:26, Casual Coder <mikeday...@gmail.com> wrote: <snip>
> Is there a way to see what all got imported from django? In Python, you can see what is available in each imported module by using the dir function, e.g. >>> import django >>> dir(django) ['VERSION', '__builtins__', '__doc__', '__file__', '__name__', '__package__', '_ _path__', 'get_version'] If you want to see what has been imported into the root namespace (can't think of the pythonic term at the moment), call dir without any parameters, e.g. >>> import django >>> dir() ['__builtins__', '__doc__', '__name__', '__package__', 'django'] -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.